Hi,
We use database connection pooling for our java application. It is a web app run under tomcat.
I want to view live connections in the pool as they are created and destroyed. Can somebody please help?
UPDATE: We are using Oracle 11g. We use DDConnectionBroker library for connection pooling.
...
I've got a Spring MVC app served in Tomcat. When the user enters a page that isn't found, it displays my default 404 page, as set in web.xml
<error-page>
<error-code>404</error-code>
<location>/errors/404/</location>
</error-page>
The problem is that if the user goes to
http://mydomain/bad/url
it is redirected to
http://mydoma...
Hi Everyone,
I've got this regular problem every morning that my build server (Hudson) is always stopped every morning so I have to manually start it, is there any reason why or any location that i can started to look for the error message ?
Thanks.
here's the error diagnostic that i did:
ascari:~# ps -ef | grep -i hud
root 595...
We recently changed our login to use HTTPS, and we are experiencing issues with the login.
After the login, the user is redirected to an unencrypted (HTTP) page. When it reaches this page, the site checks if the user is logged in. It creates a new session and it appears that the user is not logged in, and thus our user is redirected to ...
I have an existing Tomcat Installation that is running on production mode right now. It runs as a windows service.
What I want is to add another tomcat instance but points to a different port but they both resides in the same Server Machine.
Can this be done without having to shutdown the other instance. I browse the web and I see som...
I have a web-app, which I deploy on Tomcat 6 and it uses Hibernate.
It receives messages on a JMS queue which trigger changes both to my DB, via Hibernate and to an Object of mine (Agent).
The web-requests also access the DB, via Hibernate, and access the shared object (there's a ConcurrentHashMap<AgentId,Agent> held by a singleton).
My ...
Hi All,
Tomcat newbie here...
I downloaded and setup my Apache Tomcat 6 in our production server.
I then started it to see if its running nad found out that its okay.
It runs and then I place my project war file there. I am about to restart the tomcat service when I notice that that my web archive file was already unzipped and my pro...
We have a GWT app that is deployed on Tomcat. On the server, we have set a timeout of 1 minute
httpSession.setMaxInactiveInterval(1*60)
At the client-side, we set a few cookies with a timeout value of 1 minute as well. After 1 minute, we notice that the client-side cookies are removed; However the JSESSIONID set by the servlet contai...
I can't seem to get tomcat to properly set environment variables. I can run my .jar normally with my LD_LIBRARY_PATH set to the correct place, it finds my external libraries just fine. If I unset LD_LIBRARY_PATH and run the jar I get the error:
java.lang.RuntimeException: Native code library failed to load:
ensure the appropriate l...
I have a .war(web app) deployed on Tomcat server. I have another application on jBoss server.
The application on the Tomcat is the start point and a jsp on the jBoss server gets called from the Tomcat app. Then I am planning to set a session on the jBoss server app and when I am done my processing on the jBoss I will send back the contr...
how to resolve OCI-04030 ?
OS : window 7 32-bit
web server : tomcat 6.0
...
I am just getting started to learn about Web Apps and deploying them to Tomcat. So I started with a sample web app project - made up of struts, hibernate, etc., etc.
The ANT build was successful. Also, was able to deploy the web app through an xml under Catalina/host. I am able to open the web site with no issues.
This is the structure...
A couple of queries regarding the Tomcat manager and admin apps.
I have tomcat no a development area configured to run multiple catalina bases. Basically each user has their own $CATALINA_BASE and can do their own delopment or testing on their area. The directory structure is currently as follows
Env1 - $CATALINA_BASE - /u/tomcatenv/u...
Hi guys,
I'm having a huge problem with my application and Tomcat 7. My application needs to set session cookie to "/" path instead of "/context" path. In tomcat 6 it was a matter of adding another property to Connector (emptySessionPath="true") and Tomcat 7 doesn't recognize this thing. I know that Servlet 3.0 spec allows to configure ...
Hi,
I'm using the jstl c taglib in a web application which I deployed on Tomcat 6.0.26. I need to run this web application on Tomcat 5.0.28... the problem is that the jstl tags are not being interpreted. For example, I'm getting ${status.errorMessage} written on my login page whereas this should be empty unless the password entered is ...
Hi,
Could someone please explain the purpose of this option and what exactly it is for.
It looks like the default is on my eclipse installation is 3.0 but it wont run on a Tomcat 5.5 server and probably not Tomcat 6.0
Is it related to the servlet spec that the Tomcat server supports? If so which version do i need to use for Tomcat 5....
I'm starting to learn about Red5 and java servlets.
I have some background in java but most of my web development is in .Net.
What I aim to do is use red5 to stream microphone input to a speech recognition engine, Sphinx4 in this case.
Sphinx4 recognizer uses a StreamDataSource to get an InputStream with audio features such as sample ...
I have a web application I would like to deploy on a shared host. I have absolutely no possibility to manually start the server and deploy my webapp like I would do when I deploy it to localhost.
I tried unpacking the WAR file and uploading it to the server, it won't work, it won't even show me my jsps like it's supposed to.
Any help wou...
Hi guys,
We have two tomcat servers load-balanced behind apache. Several times now we'e gotten reports of a 500 error on a page. Checking shows the following error, but only on one of the tomcats:
java.lang.ClassNotFoundException: org.apache.jsp.jsps.userLogin_jsp
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at j...
I need a tutorial for creating simple, executable web service runing stand alone on windows... So like .exe that can run on any windows with JRE installed and will open port like 4444 and will listen to http(s) calls and respond to them. Tutorial can use Spring and Hibernate and any other OpenSource libs. Tutorial can use any opensource ...