tomcat « Web Service « Spring Q&A





1. Some Tomcat webapps not opening    stackoverflow.com

I downloaded a couple of webapps and placed them in my /webapps folder. Some of them I could open by going to http://localhost:8080/app1 and it would open. However, some others I ...

2. spring + tomcat + axis2 == jax-ws web service?    stackoverflow.com

I'm looking for a straightforward example / tutorial for implementing a JAX-WS (soap1.1 and soap1.2) web service based on wsdl definition using spring, axis2 and tomcat. hint anyone ? -- Yonatan

3. Problem with Commons Logging / Log4j setup in spring webapp with tomcat 6    stackoverflow.com

I have a problem wih a logging setup in a apring webapp deployed under tomcat 6. The webapp uses the commons-logging api, on runtime log4j should be used. The log file is ...

4. CXF without Spring    stackoverflow.com

Is it possible to use CXF with Tomcat and without Spring?

5. What is the best Java-way to create JSON/XML REST Web services that is similar to WCF?    stackoverflow.com

I'm looking for a best way that is available for Java developers to implement REST services that will be communicating via JSON or XML. I'm looking for production-ready products. I know ...

6. Jersey in Tomcat+Spring environment can't find ComponentProvider. Why?    stackoverflow.com

I've deployed Jersey on Tomcat and everything works perfectly (when I use the com.sun.jersey.spi.container.servlet.ServletContainer), but as soon as I change it to the com.sun.jersey.spi.spring.container.servlet.SpringServlet (according to all the tutorials I can ...

7. What is the minimal configuration for REST-fully annotated service built on Spring 3 (m3)?    stackoverflow.com

I'm trying to expose a REST-full service (hosted by Tomcat) and can't figure out what is the required configuration for Spring 3 (M3). This is how (example) the service looks like:

@Controller
@Scope("prototype")
public class ...

8. How can I find the error when Tomcat fails to start my Spring/Hibernate web application?    stackoverflow.com

I have a Spring/Hibernate application which I have converted into a web application in order to provide RESTful web services (using Jersey). I am trying to deploy the web application ...

9. What can be done with 'PermGen out of space' exception in Tomcat-Spring-Hibernate web application?    stackoverflow.com

We have an web application that uses Spring-Hibernate to persist registered users data in Oracle database. The application works fine in development environment, but when we copy it int live environment ...





10. Loading Spring Context Dynamically at Run-time in a Web Application    stackoverflow.com

I'm converting a standard Java Application that uses Spring Framework into a Web App. This application loads new Spring Context based on run-time parameters, that was done using ClassPathXmlApplicationContext/FileSystemXmlApplicationContext. So my ...

11. Creating a web service for use in an internal application and exposing it to others    stackoverflow.com

For my web application, I am thinking about using the Spring framework. Initially, I was thinking of having different actions like create user or login, but now I have to ...

12. How to deploy a Spring Integration app in Tomcat?    stackoverflow.com

I've gone through the "Spring Integration in 10 minutes" tutorial for setting up a basic Spring Integration application. I'd like to deploy this application in Tomcat and have ...

13. How to tie the Lifecycle for a Spring Bean to the webapps' lifecycle?    stackoverflow.com

I want to create a bean that has start() and stop() methods. When the webapp's context is active, start() is called during Spring's runtime bootup. When the webapp is undeployed or ...

14. Are my assumptions about configuration correct?    stackoverflow.com

I want to use to implement only REST service - a very simple one returning 'person' by full name or id in JSON. Im probably will be using JAX-RS and maybe ...

15. list available web services on tomcat using spring-ws    stackoverflow.com

Is it possible to get a list of all available web services on a tomcat server?

16. CXF Service Assistance    stackoverflow.com

I'm not a Java programmer by any sense, so I apologize if this is a stupid question. I have a service that was given to me, that basically searches the inventory ...





17. SEVERE error in Eclipse Web application Startup    stackoverflow.com

I use tomcat. I am developing a web application using struts2, and I use eclipse as my IDE for development. I get this error

Mar 7, 2010 7:38:42 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting ...

18. Is solr a web application that can run on the same instance as a spring app on tomcat?    stackoverflow.com

Is solr a web application that can run on the same instance as a spring app on tomcat? I've always run solr on its own server (jetty), along with a asp.net app ...

19. Non-managed by Spring web-application and jar file with Spring features    stackoverflow.com

My idea is to create a .jar file that contains Services managed by Spring, that should be got by getBean() I want to put it to WEB-INF/lib of a Web-app Then in web-app Servlets ...

20. DataSource for Tomcat web app, Spring and Hibernate    stackoverflow.com

Web app runs on Tomcat. Datasource is configured with Spring configuration, and is used by Hibernate. If we cannot use JNDI, what would you suggest to use as a DataSource? org.springframework.jdbc.datasource.DriverManagerDataSource will be ok? It's ...

21. Simple Java web application on Tomcat    stackoverflow.com

If we only need to graphically authorize a user, view a few tables representation (from database), ability to change data in the database visually what tools to use to write such a web application ...

22. Spring + JWS + Tomcat    stackoverflow.com

Is it possible to bundle Tomcat with a Spring application with Java WebStart & how ?

23. How does init() get called on a Handler in a WebApp    stackoverflow.com

I have a Handler object that functions kind of like a service. It has a public init method defined in the Implementation but not the Interface. This Handler is also being ...

24. How do I get spring-ws + tomcat to log errors    stackoverflow.com

I'm creating a Spring-WS based webservice and running it in tomcat. I made some change and now get a fault with OperationUnsupportedException. I'd like to see the entire stack trace that ...

25. Tomcat / Spring - Restart Webapp    stackoverflow.com

What's the best approach to use in order to programmatically restart a Spring web app running on Tomcat? I have two specific scneario's I'm considering: Installation The user is configuring the system, providing database ...

26. Have Spring DispacherServlet resolve the correct URLmap    stackoverflow.com

On my Tomcat-Spring-Java project I want to have the following URLS /index - to display entry page
/login - Login page
/cars/ - list the available cars
/cars/{id} - ...

27. Spring and Hibernate inside Axis2 inside Tomcat6    stackoverflow.com

I'm try to create web service base on axis2 (without a ServletContext). I have code that work properly (Spring + Hebirnate) and try to put it into AAR as it describe ...

28. Need solution to webapp errors from Tomcat trying to log events after logger has been disposed    stackoverflow.com

Enviroment: JSF 2.0, RichFaces 3.3.3, Facelets 1.1.15B1, Spring Framework 3.x, WebFlow 2.1, MyBatis 3.0.1, Oracle 10/11 g backend, SLF4j into Log4j. Well thats probably TMI since my issue is only ...

29. Problems with SOAPUI, SpringWS, and Tomcat5.5    stackoverflow.com

Ive been trying to get an example Web Service working using SpringWS and Tomcat5.5 Ive followed examples such as: 1)http://justcompiled.blogspot.com/2010/09/building-...eb-service-with-spring-ws.html 2)http://jamesbnuzzo.wordpress.com/2009/04/14/spring...s-with-jaxb-maven-amp-eclipse/ The latter has an ZIP file which includes the WAR ...

30. Why is a Tomcat webapp failing when an almost identical app starts within the same Tomcat instance?    stackoverflow.com

We're experiencing slightly strange webapp deployment behaviour under Tomcat 5.5.27 on Linux (both on CentOS in production and Ubuntu 10.04 for development). App A and app B are almost identical (exactly the ...

31. How to get application context path in spring-ws?    stackoverflow.com

I am using Spring-WS to create a webservice. In my project, I have created a Helper class to reads sample response and request xml file which are located in my ...

32. Response is not getting logged?    stackoverflow.com

Hi I am using tomcat + spring 3.0 ws trying to log request and response can see request in catalina, but no reponse??

     <bean id="soapLoggingInterceptor"
    ...

33. Spring Web Application - How to get from page controllers to business layer    stackoverflow.com

I am writing a Spring web application in Eclipse. In WEB-INF I have a web.xml file that gives a servlet mapping for a myapp-servlet.xml file. In myapp-servlet.xml, I have a bean for ...

34. How do I save server state between webapp deployments not relying on a database?    stackoverflow.com

We have a utility spring-mvc application that doesn't use a database, it is just a soap/rest wrapper. We would like to store an arbitrary message for display to users that persists ...

35. Why isn't eclipse compiling my web app?    stackoverflow.com

When I start my Tomcat server, linked to my Java EE project, I get the error listed below. Two other people are using the same repository with Eclipse/Tomcat/Java and are ...

36. RESTful WebServices in without Tomcat (or any other container)    stackoverflow.com

Is there a way to implement RESTful WebService using Spring 3 (or not) that does not use any web container? Thank you !

37. Spring 3.0 webapp NoClassDefFoundError - classpath issue    stackoverflow.com

My webapp fails to find org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean class despite having org.springframework.web-3.0.2.RELEASE.jar in the WEB-INF/lib directory. If I add an older version of spring.jar(2.5.6) to the webapp, then the class is found. Any ...

38. Implementing servlet lifecycle methods in a Spring web application?    stackoverflow.com

I am implementing a web application using Spring. I am using Spring's ContextLoaderListener, to load up my application contexts, and Spring's DispatcherServlet, to load the relevant beans from {name}-servlet.xml, which refer ...

39. How to set SPRING MVC web application context as ROOT (/) on Tomcat?    stackoverflow.com

I have SPRING MVC web application (my.war). It deploys on Tomcat 6 server to http://host/my/ folder. How can I change this to be accessible this web application in http://host/ ?

40. Eclipse WST: Webapp sometimes not deployed on Tomcat    stackoverflow.com

I am using Eclipse WTP to develop my spring app and deploy it on a tomcat server. Usually my web app is deployed on tomcat and everything works fine, but sometimes, I ...

41. Spring 3 application instantiating a class provided by Tomcat    stackoverflow.com

I have a Spring 3 application that is loading a library. The library consists of JAX-WS generated Java bindings. When the library is included in the WAR file and deployed to ...

42. Creating threads a Webapplication which is deployed in Tomcat    stackoverflow.com

I am working on a web application which is deployed in Tomcat. We are using Spring, Hibernate, GWT at the client side). One of the functionality of this application is to ...

43. Spring Rest CXF [bean error] Tomcat    stackoverflow.com

I´m doing a webservice in rest, spring, cxf and tomcat. Link full project: http://www55.zippyshare.com/v/99585767/file.html I´ve got this error on bean. Can´t figure out why is this happening?

SEVERE: Context initialization ...

44. Tomcat Axis2 - Not seeing spring jars    stackoverflow.com

I've been reading information online about this for several hours now and I'm at a loss. I've successfully got Tomcat 7 running with Axis2 in a servlet. I can view non-spring based ...

45. Where to set Tomcat project's webservices url?    stackoverflow.com

If I go to http://web-server:port/myProj/services my web services are listed there. However, I need them to be available at http://myProj:port/myProj/services (for example if myProj is called kylem ...

46. Ripping out Hibernate/Mysql for MongoDB or Couch for a Java/Spring/Tomcat web application    stackoverflow.com

I have an application that is undergoing massive rework, and I've been exploring different options - chug along 'as is', redo the project in a different framework or platform, etc. When I ...

47. Get server Port in web application at server start    stackoverflow.com

I need to retrieve server information like Server IP and Port at server startup. I am using Spring and hibernet in my project and Glassfish (and tomcat) is the application server. ...

48. Spring-ws -Problem request webservice from tomcat 6    stackoverflow.com

I have implement a certain spring-ws service and when I sent a soap message I receive in spring webapplication 1 (running on tomcat 6.0.32): Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gen="http://www.foo.com/bar/webservice/generated">
   <soapenv:Header/>
   ...

49. Problem starting a Spring MVC webapp in Eclipse with Tomcat, IllegalArgumentException    stackoverflow.com

When I start the application from Eclipse, I get the following error:

SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\Users\myUser\Workspaces\ProjectName\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\projectName does not exist or is not a readable directory
    ...

50. best way for loading the jar files in tomcat, when i have multiple web application using same technology    stackoverflow.com

i have 5 web applications(5 .war files) deployed in tomcat7 that use spring, hibernate and struts.(all five applications use the same version of spring, hibernate and struts). so all the 5 war ...

51. No bean named 'cxf' is defined    stackoverflow.com

I am trying to setup a simple restful web application, using tomcat 6.0.32, cxf 2.4.1. Anytime I issue any call, I get back an exception "No bean named 'cxf' is defined", ...

52. Component Scan not finding @Component's in a JAR in Tomcat webapp    stackoverflow.com

I just filed a bug in the Spring bugsystem ( https://jira.springsource.org/browse/SPR-8551 ), but I am still unsure if I am missing something I tracked down a problem with <context:component-scan/> to ...

53. SOAP Web service, Performance test possible?    stackoverflow.com

I have a SOAP Web Service written in Java and using Spring-ws. I need to know that if this can handle 2 million requests per day, and how its performance would be. -To ...

54. What approach for java web service to use?    stackoverflow.com

I'm developing a web application with multiple frameworks (spring, hibernate, spring-security, ZK for GUI), and using Tomcat as app server. I must say I have absolutely no experience with java web ...

55. Tomcat Error[SEVERE: Error listenerStart] on accessing web application with Spring/Log4j/Hibernate/Ant?    stackoverflow.com

I can't access my web application deployed on tomcat via Ant. It is deployed fine, but, when I access it, browser gave me 404 error. The catalina log gave me the ...

56. Remap image requests in a web application (tomcat) with spring for an absolute path    stackoverflow.com

i'm trying to find a way remap a path to an absolute one in order to retrieve images stored in the server filesystem, i'm also using spring mvc but the <mvc:resource> ...

57. Update static resources of a web application    stackoverflow.com

We have a web application (Java + Tomcat + Spring + Maven) that depends on resources. So the app-1.0.1.war depends on the resources-1.0.3.jar. When we need to fix a bug in ...

58. NullPointerException when using ProducerTemplate    stackoverflow.com

I have a simple REST web service and I call the getOk() method. I just want to simply send a message from the frontend to backend where Apache Camel is. The ...

59. log4j inside and outside of a tomcat webapp    stackoverflow.com

I have a webapp set up to log over slf4j and log4j. The webapp is configured with Spring. The relevant web.xml stuff is on the bottom. The problem I've got is that ...

60. Deploying Spring web application in Tomcat 6    stackoverflow.com

I am facing problem in deploying a spring application in Tomcat6. I was using Eclipse before to do the development. Now the web application is ready and I would like to ...

61. Spring can't find a lib and webapp doesn't start up in tomcat 6    forum.springsource.org

Spring can't find a lib and webapp doesn't start up in tomcat 6 Hello, this is my first post in this forum (which I think I will use toroughly in the ...

62. Multiple Spring WS Applications running under the same web server (Tomcat, Resin)    forum.springsource.org

Jan 27th, 2011, 11:18 AM #1 horatiucd View Profile View Forum Posts Private Message Junior Member Join Date Jan 2011 Posts 1 Multiple Spring WS Applications running under the same web ...

63. Spring WS (2.0.0.RELEASE) web service issues in Tomcat 6.0.26    forum.springsource.org

Spring WS (2.0.0.RELEASE) web service issues in Tomcat 6.0.26 Dear friends, I followed the excellent tutorial Writing Contract First Web Services using Spring WS 2.0.0.RELEASE. I built a sample application as ...

64. Spring + Tomcat with no Web Service?    forum.springsource.org

I have a project I wish to migrate from JBoss EJBs to Spring. I am considering using Spring + Tomcat to make it as simple as possible. There are backend daemon ...

65. Making the Container and Web Application Spring Aware (Tomcat)....    forum.springsource.org

Making the Container and Web Application Spring Aware (Tomcat).... Hello, Where should I put the spring-1.2.8.jar file and dependencies to make the server container Spring aware (server/lib, common/lib, ?) and the ...

66. Migration from Spring 1.2.1 to Spring 1.2.8 (Web app hangs on tomcat)    forum.springsource.org

Migration from Spring 1.2.1 to Spring 1.2.8 (Web app hangs on tomcat) Hi, Since a while, I run a java web application with the following technology: - Hibernate - Spring - ...

67. Capturing Spring's log output in Tomcat webapp    forum.springsource.org

Capturing Spring's log output in Tomcat webapp How can I capture the log output from a Spring-enabled web application running in Tomcat? I've tried a variety of suggestions, but so far ...

68. Unable to modify trigger in web application without restarting Tomcat    forum.springsource.org

I am attempting to modify a Quartz trigger definition of a bean used by a web application running under Tomcat 5.5 and using Spring 1.2.6. In this case the trigger is ...

69. How do I remote debug a Spring-WS servlet in Tomcat from Eclipse?    forum.springsource.org

How do I remote debug a Spring-WS servlet in Tomcat from Eclipse? Hi, I have been developing web services using spring-ws-1.0-m2 following the airline and echo samples. My services are working, ...

70. Two WebApps in Tomcat    forum.springsource.org

Two WebApps in Tomcat Hi, I have two web apps (packaged as WARs) that share daos and hibernate models (contained in a library deployed to the 'shared' directory and resources such ...

71. Using shared Spring Webapp in Tomcat    forum.springsource.org

Using shared Spring Webapp in Tomcat Hello, I am about to finalize some early state Spring web application (just the persistence and logic part). I am using Hibernate to retrieve data ...

72. Tomcat 5.5 errors in applicationContext-ws.xml    forum.springsource.org

Tomcat 5.5 errors in applicationContext-ws.xml Hi, I have the following in my applicationContext-ws.xml. ...

73. Spring-WS & attachments : TOMCAT<->JETTY    forum.springsource.org

Spring-WS & attachments : TOMCAT<->JETTY Hi, I am having trouble with the following scenario: Receiving a SOAP message that has 1..n mime attachments, and the processing thereof. When using jetty 6.1.3 ...

74. Sharing a Spring context between to Tomcat webapps    forum.springsource.org

Sharing a Spring context between to Tomcat webapps Dear all, I would like to know whether it is possible to use a Spring bean from one webapp of Tomcat in another ...

75. getting ClassNotFoundException: on my services in tomcat cluster    forum.springsource.org

getting ClassNotFoundException: on my services in tomcat cluster Hi , I facing an issue with AOP in cluster environment. Here is what I have in my spring config flie

76. tomcat spring xfire setup    forum.springsource.org

tomcat spring xfire setup Hi I am getting the following errors in my tomcat logs when I try to bring up our appliation. 2008-02-10 12:20:50,750 ERROR [com.stbs.psx_ws.PSXWSImpl] - Error configuring PSX-WS ...

77. Spring, Tomcat, WS & newbie    forum.springsource.org

Spring, Tomcat, WS & newbie Hi, I just know Im missing something simple in this my first spring program but after hours of frustration Im just no closer. Would some kind ...

78. More than one ws project in tomcat    forum.springsource.org

More than one ws project in tomcat Hello all, I'm working on getting some webservices up and running. After building the hr example and getting it to run I started a ...

79. Help on run webapps in tomcat    forum.springsource.org

Help on run webapps in tomcat Developing a Spring Framework MVC application step-by-step using NetBeans and GlassFish GlassFish don't start. I'm try using Tomcat but obtain this error: Code: Apache log ...

80. Problem with running multiple web applications in the same Tomcat server.    forum.springsource.org

Problem with running multiple web applications in the same Tomcat server. I have the following problem while running multiple web applications using Spring MVC. I have a number of classes used ...

81. Axis Webservice + Spring + Hibernate + Tomcat , urgent Help Needed    forum.springsource.org

Axis Webservice + Spring + Hibernate + Tomcat , urgent Help Needed I am writing a service implementation class which uses spring dependency injections and hibernate support to insert/ update the ...

82. Axis Webservice + Spring + Hibernate + Tomcat , urgent Help Needed    forum.springsource.org

Axis Webservice + Spring + Hibernate + Tomcat , urgent Help Needed I am writing a service implementation class ( pure java class ) which uses spring dependency injections and hibernate ...

83. Tomcat system service vs. cmd prompt    forum.springsource.org

Tomcat system service vs. cmd prompt Hi, we have a most odd problem. An application based on Spring integration reading from a JMS queue works as a charm when Tomcat is ...

84. Configuring Spring webapp in Tomcat Context scope    forum.springsource.org

Hello, I want to deploy a .war file serveral times and use a different .properties config file outside of the .war file for each deployment. Now I use the PropertyPlaceholderConfigurer and ...

85. Making a Spring Web App as Tomcat ROOT App.    forum.springsource.org

Making a Spring Web App as Tomcat ROOT App. I have a Spring MVC Web Application that I want to use as the default web application on Tomcat. I have configured ...

86. Accessing single Remember-me cookie between different webapps inside tomcat    forum.springsource.org

Accessing single Remember-me cookie between different webapps inside tomcat Hi Spring Gurus, I had one problem while using in my application. I had two spring security webapps running ...

87. Status 401 + Spring web services + tomcat    forum.springsource.org

Status 401 + Spring web services + tomcat Hello, I created a SOAP message to send a client request from my javascript to Spring web services deployed on my localhost tomcat. ...

88. runing background process when the web application deployed on tomcat    forum.springsource.org

Hi I'm building spring web app that run on tomcat , i want to run a background process immediately when the app deployed , it will continue running all the time. ...

89. two spring-ws applications on one tomcat wsdl problem    forum.springsource.org

Oct 5th, 2010, 05:51 AM #1 kayser View Profile View Forum Posts Private Message Junior Member Join Date Sep 2010 Location Germany Posts 5 two spring-ws applications on one tomcat wsdl ...

90. Web application protection with Tomcat    forum.springsource.org

Web application protection with Tomcat Hi everyone, I want to protect my web application and the protection process is not working properly. I have made locally and the following: In web.xml ...