custom error page
I created a custom error page, and it's work. However, I need to include some additional message, such as user not in the role to access that page or etc, such as message shown below from tomcat default error page. Can somebody give me some pointer how to archive this? HTTP Status 400 - User is not authorized to access action /SylSearchLogReceivingHeader type Status report message User is not authorized to access action /SylSearchLogReceivingHeader description The request sent by the client was syntactically incorrect (User is not authorized to access action /SylSearchLogReceivingHeader). Apache Tomcat/4.1.27-LE-jdk14 Regards, Stephen Ting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Default Context
Hi All, How do i configure my web application to become the default context in Tomcat container bundle together with JBoss? If i point to the IP address on which JBoss is running i will automatically directed to the application. (Like the Root context of Tomcat) Regards, Stephen Ting
Container managed security
Hi All, May i know is it possible to have more than one login config for a single container. Says i have 2 applications running on different context; APP1 and APP2 both of them using container managed security. But required seperate login credential. Can i mantain 2 or more set of users and roles data? I need to do this because both APP1 and APP2 is the same application running in same container and configured with same ROLES rules. But the applications are used by different group of users and have different set of data. Therefore users who can logon to APP1 can't logon to APP2 and reverse. Can anyone shows me how to archive this? I am using JBoss 3.0.7 bunble with Tomcat 4.1.24 Any help are very much appreciated. Regards, Stephen Ting
Java Blog
Dear Tomcat users, Where can i get an open source Java blog that i can deploy in my intranet? Thanks Regards, Stephen Ting
WAR failed to deploy
Whenever i try to access a session beans deploy on JBoss from the struts application deploy on Tomcat in different JVM the following errors occured. If i deploy the struts based application in Tomcat bundle in JBoss there are no problems. Could anyone please help? Regards, Stephen java.lang.RuntimeException: error marshalling arguments; nested exception is: java.net.SocketException: Software caused connection abort: socket write error at my.com.shinyang.einout.ejb.bd.MaintenanceDelegateEJBImpl.initBean(Unknow n Source) at my.com.shinyang.einout.ejb.bd.MaintenanceDelegateEJBImpl.invokeBean(Unkn own Source) at my.com.shinyang.einout.ejb.bd.MaintenanceDelegateEJBImpl.getAllCategory( Unknown Source) at my.com.shinyang.einout.web.EinoutPlugin.initDBInformation(Unknown Source) at my.com.shinyang.einout.web.EinoutPlugin.init(Unknown Source) at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.j ava:1105) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471) at javax.servlet.GenericServlet.init(GenericServlet.java:256) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav a:934) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j ava:3420) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608 ) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja va:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy er.java:257) at org.apache.catalina.core.StandardHost.install(StandardHost.java:772) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:410) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:36 8) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189) at org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:2 73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.BootstrapService.start(BootstrapService.java :245) at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java: 307) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
failed to access session bean
Whenever i try to access a session beans deploy on JBoss from the struts application deploy on Tomcat in JVM the following errors occured. If i deploy the struts based application in Tomcat bundle in JBoss there are no problems. Could anyone please help? Regards, Stephen java.lang.RuntimeException: error marshalling arguments; nested exception is: java.net.SocketException: Software caused connection abort: socket write error at my.com.shinyang.einout.ejb.bd.MaintenanceDelegateEJBImpl.initBean(Unknow n Source) at my.com.shinyang.einout.ejb.bd.MaintenanceDelegateEJBImpl.invokeBean(Unkn own Source) at my.com.shinyang.einout.ejb.bd.MaintenanceDelegateEJBImpl.getAllCategory( Unknown Source) at my.com.shinyang.einout.web.EinoutPlugin.initDBInformation(Unknown Source) at my.com.shinyang.einout.web.EinoutPlugin.init(Unknown Source) at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.j ava:1105) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471) at javax.servlet.GenericServlet.init(GenericServlet.java:256) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav a:934) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j ava:3420) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608 ) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja va:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy er.java:257) at org.apache.catalina.core.StandardHost.install(StandardHost.java:772) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:410) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:36 8) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189) at org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:2 73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.BootstrapService.start(BootstrapService.java :245) at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java: 307)
RE: failed to access session bean
Opps my typo mistake, should be Whenever i try to access a session beans deploy on JBoss from the struts application deploy on Tomcat in different JVM the following errors occured. If i deploy the struts based application in Tomcat bundle in JBoss there are no problems. -Original Message- From: Stephen Ting [mailto:[EMAIL PROTECTED]] Sent: 20 February 2003 10:27 To: [EMAIL PROTECTED] Subject: failed to access session bean Whenever i try to access a session beans deploy on JBoss from the struts application deploy on Tomcat in JVM the following errors occured. If i deploy the struts based application in Tomcat bundle in JBoss there are no problems. Could anyone please help? Regards, Stephen java.lang.RuntimeException: error marshalling arguments; nested exception is: java.net.SocketException: Software caused connection abort: socket write error at my.com.shinyang.einout.ejb.bd.MaintenanceDelegateEJBImpl.initB ean(Unknow n Source) at my.com.shinyang.einout.ejb.bd.MaintenanceDelegateEJBImpl.invok eBean(Unkn own Source) at my.com.shinyang.einout.ejb.bd.MaintenanceDelegateEJBImpl.getAl lCategory( Unknown Source) at my.com.shinyang.einout.web.EinoutPlugin.initDBInformation(Unknown Source) at my.com.shinyang.einout.web.EinoutPlugin.init(Unknown Source) at org.apache.struts.action.ActionServlet.initModulePlugIns(Actio nServlet.j ava:1105) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471) at javax.servlet.GenericServlet.init(GenericServlet.java:256) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardW rapper.jav a:934) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper. java:821) at org.apache.catalina.core.StandardContext.loadOnStartup(Standar dContext.j ava:3420) at org.apache.catalina.core.StandardContext.start(StandardContext .java:3608 ) at org.apache.catalina.core.ContainerBase.addChildInternal(Contai nerBase.ja va:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase. java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579) at org.apache.catalina.core.StandardHostDeployer.install(Standard HostDeploy er.java:257) at org.apache.catalina.core.StandardHost.install(StandardHost.java:772) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:410) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConf ig.java:36 8) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(L ifecycleSu pport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService .java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.j ava:2189) at org.apache.catalina.startup.CatalinaService.start(CatalinaServ ice.java:2 73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess orImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth odAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.BootstrapService.start(BootstrapSe rvice.java :245) at org.apache.catalina.startup.BootstrapService.main(BootstrapSer vice.java: 307) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Access SessionBean
Whenever i try to access a session beans deploy on JBoss from the struts application deploy on Tomcat in seperate machine the following errors occured. If i deploy the struts based application in Tomcat bundle in JBoss there are no problems. Could anyone please help? Regards, Stephen 2003-02-11 14:22:59 StandardWrapper[/web-einout:default]: Loading container servlet default 2003-02-11 14:23:04 action: null java.lang.RuntimeException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.net.MalformedURLException: no protocol: 4.1/webapps/web-einout/WEB-INF/classes/ at my.com.shinyang.einout.ejb.bd.MaintenanceDelegateEJBImpl.initBean(Unknow n Source) at my.com.shinyang.einout.ejb.bd.MaintenanceDelegateEJBImpl.invokeBean(Unkn own Source) at my.com.shinyang.einout.ejb.bd.MaintenanceDelegateEJBImpl.getAllCategory( Unknown Source) at my.com.shinyang.einout.web.EinoutPlugin.initDBInformation(Unknown Source) at my.com.shinyang.einout.web.EinoutPlugin.init(Unknown Source) at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.j ava:1105) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471) at javax.servlet.GenericServlet.init(GenericServlet.java:256) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav a:934) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j ava:3420) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608 ) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja va:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy er.java:257) at org.apache.catalina.core.StandardHost.install(StandardHost.java:772) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:410) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:36 8) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189) at org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:2 73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.BootstrapService.start(BootstrapService.java :245) at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java: 307)
Failed to read DTD files in local system
Jakarta OJB repository.xml failed to validate against the DTD file after I upgrade tomcat from ver. 4.1.16 to version 4.1.18. On previous version this problems didn't occured. Where should I put the DTD file if I want to place it in my local system instead of in other web server? I uses Windows xp. ?xml version=1.0 encoding=UTF-8? !DOCTYPE descriptor-repository SYSTEM repository.dtd [ !ENTITY database SYSTEM repository_database.xml !ENTITY user SYSTEM repository_user.xml !ENTITY internal SYSTEM repository_internal.xml ] Caused by: org.apache.ojb.broker.metadata.MetadataException: Could not read repository class descriptor data, using repository: repository.xml: no protocol: repository.dtd at org.apache.ojb.broker.metadata.MetadataManager.init(Unknown Source) at org.apache.ojb.broker.metadata.MetadataManager.clinit(Unknown Source) ... 45 more Caused by: java.net.MalformedURLException: no protocol: repository.dtd at java.net.URL.init(URL.java:579) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.jav a:796) at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager. java:756) at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImp l.java:267) at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XML DocumentScannerImpl.java:826) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDo cumentFragmentScannerImpl.java:333) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:5 24) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:5 80) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java :1108) at org.apache.ojb.broker.metadata.RepositoryPersistor.buildRepository(Unkno wn Source) at org.apache.ojb.broker.metadata.RepositoryPersistor.readDescriptorReposit ory(Unknown Source) ... 47 more -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Failed to read DTD files in local system
I found the causes of this problem, it's the XML parser being used. Whenever I used xerces 2.2.1 it will have the following error message. In tomcat 4.1.18, i place the xercesimpl.jar in /commons/endorsed directory. I understand that JDK 1.4 shipped with a version of xml parser and to overide the default parser it's support the Endorsed Standards Override Mechanism. Whenever I remove this jar from the endorsed directory, my application works and I found that it is using the hibernated crimson parser. Is it the problems of the parser? Or something else... Could anyone help to explain??? Thanks Regards, Stephen Caused by: java.net.MalformedURLException: no protocol: repository.dtd at java.net.URL.init(URL.java:579) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unk nown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno wn Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.ojb.broker.metadata.RepositoryPersistor.buildRepository(Unkno wn Source) at org.apache.ojb.broker.metadata.RepositoryPersistor.readDescriptorReposit ory(Unknown Source) ... 47 more -Original Message- From: Stephen Ting [mailto:[EMAIL PROTECTED]] Sent: 24 January 2003 16:57 To: [EMAIL PROTECTED] Subject: Failed to read DTD files in local system Jakarta OJB repository.xml failed to validate against the DTD file after I upgrade tomcat from ver. 4.1.16 to version 4.1.18. On previous version this problems didn't occured. Where should I put the DTD file if I want to place it in my local system instead of in other web server? I uses Windows xp. ?xml version=1.0 encoding=UTF-8? !DOCTYPE descriptor-repository SYSTEM repository.dtd [ !ENTITY database SYSTEM repository_database.xml !ENTITY user SYSTEM repository_user.xml !ENTITY internal SYSTEM repository_internal.xml ] Caused by: org.apache.ojb.broker.metadata.MetadataException: Could not read repository class descriptor data, using repository: repository.xml: no protocol: repository.dtd at org.apache.ojb.broker.metadata.MetadataManager.init(Unknown Source) at org.apache.ojb.broker.metadata.MetadataManager.clinit(Unknown Source) ... 45 more Caused by: java.net.MalformedURLException: no protocol: repository.dtd at java.net.URL.init(URL.java:579) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityM anager.jav a:796) at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEnti tyManager. java:756) at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTD ScannerImp l.java:267) at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.di spatch(XML DocumentScannerImpl.java:826) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocu ment(XMLDo cumentFragmentScannerImpl.java:333) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfigurat ion.java:5 24) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfigurat ion.java:5 80) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXP arser.java :1108) at org.apache.ojb.broker.metadata.RepositoryPersistor.buildReposi tory(Unkno wn Source) at org.apache.ojb.broker.metadata.RepositoryPersistor.readDescrip torReposit ory(Unknown Source) ... 47 more -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Non-ssl connector to port 80
I am running tomcat 4.1.8 on redhat 8 and having this problems when i try to bind the non-ssl connector to port 80, whereas if i bind to port 8080 i don't have this problems. Can anybody please help, i am linux novice so don't really knows the work around. Thanks Cheers Stephen Catalina.start: LifecycleException: null.open: java.net.BindException: Permission denied:80 LifecycleException: null.open: java.net.BindException: Permission denied:80 at org.apache.catalina.connector.http.HttpConnector.initialize(Unknown Source) at org.apache.catalina.core.StandardService.initialize(Unknown Source) at org.apache.catalina.core.StandardServer.initialize(Unknown Source) at org.apache.catalina.startup.Catalina.start(Unknown Source) at org.apache.catalina.startup.Catalina.execute(Unknown Source) at org.apache.catalina.startup.Catalina.process(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Unknown Source) - Root Cause - java.net.BindException: Permission denied:80 at org.apache.catalina.connector.http.HttpConnector.open(Unknown Source) at org.apache.catalina.connector.http.HttpConnector.initialize(Unknown Source) at org.apache.catalina.core.StandardService.initialize(Unknown Source) at org.apache.catalina.core.StandardServer.initialize(Unknown Source) at org.apache.catalina.startup.Catalina.start(Unknown Source) at org.apache.catalina.startup.Catalina.execute(Unknown Source) at org.apache.catalina.startup.Catalina.process(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
Deployment problems in Redhat linux 8
I deploy my struts based program in redhat 8 with Tomcat 4.1.17 and JDK 1.4.1_01. The problem i faced is when i point my browser (Internet Explorer 6) to the program say http://hostname:8080/program/index.jsp (or any other page, even tomcat root also the same) it will return a empty page, and after i refresh the page the contents will come out. Sometime, even i refresh it several times, it's still return empty page. I don't have this problems when i deploy the exactly same program in the Windows XP machine. Is there any specific configuration in tomcat for deployment in linux. Can anyone please help? Thanks. regards, Stephen
RE: Deployment problems in Redhat linux 8
Hi Mike, Did you do any specific configuration on Redhat 8 or tomcat? I am a Linux newbie, I didn't do any specific configuration, everythings, Redhat, tomcat is default configuration. The weird thing is something it works fine whereas sometime it will failed. Suppose I have to do some network configuration to make it work fine, but I don't know how? Could anyone experience in linux give me some insight, or whereabout in internet I can get some reference materials. Thanks in advance Regards, Stephen -Original Message- From: Mike DiChiappari [mailto:[EMAIL PROTECTED]] Sent: 19 December 2002 20:52 To: Tomcat Users List Subject: Re: Deployment problems in Redhat linux 8 I have gotten Tomcat 4.1.2 and JDK 1.4.0_01 going on RedHat 8 with no problems, so far. I have mostly JSPs. As far as JSPs are concerned, there don't appear to be issues with RedHat 8. Mike I deploy my struts based program in redhat 8 with Tomcat 4.1.17 and JDK 1.4.1_01. The problem i faced is when i point my browser (Internet Explorer 6) to the program say http://hostname:8080/program/index.jsp (or any other page, even tomcat root also the same) it will return a empty page, and after i refresh the page the contents will come out. Sometime, even i refresh it several times, it's still return empty page. I don't have this problems when i deploy the exactly same program in the Windows XP machine. Is there any specific configuration in tomcat for deployment in linux. Can anyone please help? Thanks. regards, Stephen -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
my application stop running when upgrade to 4.1.9
I have problems delopying my application after upgrade from version 4.0.3 to 4.1.9 beta. i am running tomcat on windows xp. following is the exception thrown. I think the root cause is because of the windows nt file system. could someone pls show me where i get wrong? thx regards, stephen 2002-08-22 10:26:33 ContextConfig[/web-einout] Exception processing JAR at resource path /WEB-INF/lib/jakarta-oro.jar javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/jakarta-oro.jar at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java: 930) at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868 ) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.j ava:243) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3445 ) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja va:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy er.java:257) at org.apache.catalina.core.StandardHost.install(StandardHost.java:772) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java :569) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:36 8) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2188) at org.apache.catalina.startup.Catalina.start(Catalina.java:510) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) - Root Cause - java.io.IOException: The system cannot find the path specified at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(File.java:1294) at java.io.File.createTempFile(File.java:1382) at java.io.File.createTempFile(File.java:1419) at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:169) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:164) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:42) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:78) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java: 85) at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.ja va:69) at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java: 906) at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868 ) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.j ava:243) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3445 ) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja va:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy er.java:257) at org.apache.catalina.core.StandardHost.install(StandardHost.java:772) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java :569) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:36 8) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)