RE: Problem by setting in from Tomcat 6
> From: tomcat7 [mailto:eshwarprasa...@gmail.com] > Subject: Re: Problem by setting in from > Tomcat 6 > Could you clealry explain how the problem got resolved for this issue.Iam > running acorss the same errors in tomcat.Please help You resurrected a very dead two-year old thread that may or may not have anything to do with your problem. Start a new thread, and provide details about *your* situation, including configuration and version information. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem by setting in from Tomcat 6
Hi Thomas Could you clealry explain how the problem got resolved for this issue.Iam running acorss the same errors in tomcat.Please help thomas2004 wrote: > > Hi all, > > I used to set the global data resource in in > Tomcat 5 as follow: > >driverClassName="oracle.jdbc.OracleDriver" > maxActive="20" maxIdle="10" maxWait="-1" > name="jdbc/MyDataSource" > password="mypwd" type="javax.sql.DataSource" > url="jdbc:oracle:thin:@hostname:1521:MT" > username="sa" /> > > > Since I use the Tomcat6, I got problem. > > I read from internet that one has to add the following code in > /conf/context.xml, > > type="javax.sql.DataSource" /> > > but it doesn't help and I got excpetion: > > SCHWERWIEGEND: Exception looking up UserDatabase under key UserDatabase > javax.naming.NameNotFoundException: Name UserDatabase is not bound in this > Context > at org.apache.naming.NamingContext.lookup(NamingContext.java:770) > at org.apache.naming.NamingContext.lookup(NamingContext.java:153) > at > org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:253) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1037) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) > at > org.apache.catalina.core.StandardService.start(StandardService.java:516) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:710) > at org.apache.catalina.startup.Catalina.start(Catalina.java:578) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) > 16.02.2009 14:07:34 org.apache.catalina.startup.Catalina start > SCHWERWIEGEND: Catalina.start: > LifecycleException: No UserDatabase component found under key > UserDatabase > at > org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:261) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1037) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) > at > org.apache.catalina.core.StandardService.start(StandardService.java:516) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:710) > at org.apache.catalina.startup.Catalina.start(Catalina.java:578) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) > 16.02.2009 14:07:34 org.apache.catalina.startup.Catalina start > ... > > I have to move the into the , so it works. But in > this way, the dataresource is not global resource anymore. > > Has someone idea? > -- View this message in context: http://old.nabble.com/Problem-by-setting-%3CResources-%3E-in-%3CGlobalNamingResources-%3E-from-Tomcat-6-tp22037058p30797679.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: deploying a war file and starting the application
> From: robert.jen...@surecomp.com [mailto:robert.jen...@surecomp.com] > Subject: RE: deploying a war file and starting the application > > MessageServiceServlethttp > MessageService > > Now, these work for webshpere and weblogic, so I am assuming (bad > thing I know) that the same would work for Tomcat. You already answered your own question in your first query, and Chris S explained why WebSphere and WebLogic are cheating: > > The first issue I had was with url-pattern. It appears that Tomcat > > requires they start with a slash (/). I made the change and I no longer > > receive any errors while starting Tomcat. > This is a spec requirement, not a Tomcat requirement. Other containers > may be more lenient. You should read the servlet spec. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
Re: war app, Tomcat, public IP and port 8080 - remote access
This smells like a router/firewall issue and it only looks like the top level page at 211.210.19.11:8080 works. Some browsers (IE) offer the cached copy when it runs into trouble loading a page fresh. When you do get tomcat home page from your server at an internet cafe, try holding the shift key and reloading. This forces most browsers to throw out cached versions of pages and redownload. I'm wiling to bet it fails to load. Oh yes .. and as someone else said, don't use go2 proxy while testing. Disable it until you have the problem worked out. --David On 01/28/2011 05:14 PM, Amilcar De Leon wrote: I have my server configured with a static public IP like 211.210.19.11 (this is not my real one if you ask). There is another static public IP that came with the routher which is the same than the above, except for the last numer (eg 211.210.19.10). I'm giving this as I don't know if you'd need this info too. So, on my server, if I type, 211.210.19.11:8080/myAPP I can run my app OK. The same if I try from another computer within the same LAN (connected to the same router). When I try to access that same address from another computer out of the LAN (eg an internet coffee), I get the error "connection time out". But if I only type 211.210.19.11:8080 I can see a page that says I'm sucessfully installed tomcat and links to the tomcat manager, tomcat documentation and others. An extra note, the first page of my app is a login page, and I can see it if I use the firefox addon calle Go2proxy, but then when I type the login info I gen again the connection time out error. Not sure if this is useful - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Mod_JK inserted header case sensitivity issue
On 01/29/2011 12:45 PM, Jon Forster wrote: Mladen Finding any Sun documentation can be a painful experience since Oracle took over but I have found this from the NSAPI Dev guide: http://wikis.sun.com/pages/viewpage.action?pageId=58042468#P%26R-%7B%7Bpblocknvinsert%28%29%7D%7DFunction In particular: "Note - Parameter names are case sensitive. By convention, lowercase names are used for parameters that correspond to HTTP header fields." as mentioned before, modifying the source of 1.2.28 to make the header names lower-case fixed the problem for us, we've be running that for a while and haven't noticed any adverse effects. Can you create Bugzilla entry for Tomcat Connectors in https://issues.apache.org/bugzilla/enter_bug.cgi Specifying the nsapi component and attach that link and eventual patches you have. Regards -- ^TM - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Mod_JK inserted header case sensitivity issue
Mladen Finding any Sun documentation can be a painful experience since Oracle took over but I have found this from the NSAPI Dev guide: http://wikis.sun.com/pages/viewpage.action?pageId=58042468#P%26R-%7B%7Bpblocknvinsert%28%29%7D%7DFunction In particular: "Note - Parameter names are case sensitive. By convention, lowercase names are used for parameters that correspond to HTTP header fields." as mentioned before, modifying the source of 1.2.28 to make the header names lower-case fixed the problem for us, we've be running that for a while and haven't noticed any adverse effects. regards Jon On 28 Jan 2011, at 11:51, Mladen Turk wrote: > On 01/28/2011 10:08 AM, Jon Forster wrote: >> >> I would have to say that it's >> not NSAPI spec-compliant, and it's an NSAPI version of the plugin after all, >> so I would export it to conform to the NSAPI spec. >> > > Is that somewhere officially documented. > We do a whole sort of header manipulation for IIS, so we can do > the same for NASPI if that happens to be a "well-known feature" :) > > > Regards > -- > ^TM > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >
Re: war app, Tomcat, public IP and port 8080 - remote access
On 28.1.2011 23:14, Amilcar De Leon wrote: So, on my server, if I type, 211.210.19.11:8080/myAPP I can run my app OK. The same if I try from another computer within the same LAN (connected to the same router). Your webapp seems to be working just fine. When I try to access that same address from another computer out of the LAN (eg an internet coffee), I get the error "connection time out". But if I only type 211.210.19.11:8080 I can see a page that says I'm sucessfully installed tomcat and links to the tomcat manager, tomcat documentation and others. An extra note, the first page of my app is a login page, and I can see it if I use the firefox addon calle Go2proxy, but then when I type the login info I gen again the connection time out error. Not sure if this is useful What you describe indicates like you have a network problems. Login page and Tomcat home are maybe cached, but I cannot say for sure. Try to turn off Go2Proxy, and to clear Firefox cache. Then try to browse Tomcat examples, or try to login to Tomcat manager application. What happens? Also probe your Tomcat port directly from command like with: telnet 211.210.19.11 8080 What happens? Do you get a blank screen (success) or you get "Connect failed" message? -Ognjen - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org