From: <php...@li...> - 2012-06-05 07:49:42
|
Hi Nothing in the logs - Did you make a request before posting the logs? Hermod -----Original Message----- From: php...@li... [mailto:php...@li...] Sent: Tuesday, June 05, 2012 9:05 AM To: php...@li... Subject: Re: [Php-java-bridge-users] Custom Java Class And this is my localhost log 5-Jun-12 6:10:45 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextDestroyed() 5-Jun-12 6:10:45 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextDestroyed() 5-Jun-12 6:10:45 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextDestroyed() 5-Jun-12 6:10:45 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextDestroyed() 5-Jun-12 6:14:54 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() 5-Jun-12 6:14:54 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() 5-Jun-12 6:14:54 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() 5-Jun-12 6:14:54 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() 5-Jun-12 6:14:55 AM org.apache.catalina.core.ApplicationContext log INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]] 5-Jun-12 6:14:58 AM org.apache.catalina.core.ApplicationContext log INFO: PhpJavaServlet: PHP/Java Bridge servlet /usr/share/tomcat5/webapps/JavaBridge version 6.2.1 ready. 5-Jun-12 8:00:05 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextDestroyed() 5-Jun-12 8:00:05 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextDestroyed() 5-Jun-12 8:00:05 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextDestroyed() 5-Jun-12 8:00:05 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextDestroyed() 5-Jun-12 8:00:13 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() 5-Jun-12 8:00:13 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() 5-Jun-12 8:00:13 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() 5-Jun-12 8:00:13 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() 5-Jun-12 8:00:13 AM org.apache.catalina.core.ApplicationContext log INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]] 5-Jun-12 8:01:46 AM org.apache.catalina.core.ApplicationContext log INFO: PhpJavaServlet: PHP/Java Bridge servlet /usr/share/tomcat5/webapps/KPG version 6.2.1 ready. On Tue, Jun 5, 2012 at 9:58 AM, Milind Saraswala <mil...@gm...>wrote: > Okay I will past the log of "catalina.2012-06-05.log" > > 5-Jun-12 6:10:43 AM org.apache.coyote.http11.Http11BaseProtocol pause > INFO: Pausing Coyote HTTP/1.1 on http-8080 > 5-Jun-12 6:10:44 AM org.apache.catalina.core.StandardService stop > INFO: Stopping service Catalina > 5-Jun-12 6:10:45 AM org.apache.coyote.http11.Http11BaseProtocol > destroy > INFO: Stopping Coyote HTTP/1.1 on http-8080 > 5-Jun-12 6:10:45 AM org.apache.catalina.core.AprLifecycleListener > lifecycleEvent > INFO: Failed shutdown of Apache Portable Runtime > 5-Jun-12 6:14:52 AM org.apache.catalina.core.AprLifecycleListener > lifecycleEvent > INFO: The Apache Tomcat Native library which allows optimal > performance in production environments was not found on the java.library.path: > /usr/lib/gcj-4.1.2 > 5-Jun-12 6:14:52 AM org.apache.coyote.http11.Http11BaseProtocol init > INFO: Initializing Coyote HTTP/1.1 on http-8080 > 5-Jun-12 6:14:52 AM org.apache.catalina.startup.Catalina load > INFO: Initialization processed in 632 ms > 5-Jun-12 6:14:52 AM org.apache.catalina.core.StandardService start > INFO: Starting service Catalina > 5-Jun-12 6:14:52 AM org.apache.catalina.core.StandardEngine start > INFO: Starting Servlet Engine: Apache Tomcat/5.5.26 > 5-Jun-12 6:14:52 AM org.apache.catalina.core.StandardHost start > INFO: XML validation disabled > 5-Jun-12 6:14:53 AM org.apache.catalina.startup.HostConfig deployWAR > INFO: Deploying web application archive JavaBridge.war > 5-Jun-12 6:14:55 AM org.apache.coyote.http11.Http11BaseProtocol start > INFO: Starting Coyote HTTP/1.1 on http-8080 > 5-Jun-12 6:14:55 AM org.apache.jk.common.ChannelSocket init > INFO: JK: ajp13 listening on /0.0.0.0:8009 > 5-Jun-12 6:14:55 AM org.apache.jk.server.JkMain start > INFO: Jk running ID=0 time=0/28 config=null > 5-Jun-12 6:14:55 AM org.apache.catalina.storeconfig.StoreLoader load > INFO: Find registry server-registry.xml at classpath resource > 5-Jun-12 6:14:55 AM org.apache.catalina.startup.Catalina start > INFO: Server startup in 2913 ms > 5-Jun-12 7:59:37 AM org.apache.catalina.startup.HostConfig deployWAR > INFO: Deploying web application archive KPG.war > 5-Jun-12 8:00:04 AM org.apache.coyote.http11.Http11BaseProtocol pause > INFO: Pausing Coyote HTTP/1.1 on http-8080 > 5-Jun-12 8:00:05 AM org.apache.catalina.core.StandardService stop > INFO: Stopping service Catalina > 5-Jun-12 8:00:05 AM org.apache.coyote.http11.Http11BaseProtocol > destroy > INFO: Stopping Coyote HTTP/1.1 on http-8080 > 5-Jun-12 8:00:05 AM org.apache.catalina.core.AprLifecycleListener > lifecycleEvent > INFO: Failed shutdown of Apache Portable Runtime > 5-Jun-12 8:00:09 AM org.apache.catalina.core.AprLifecycleListener > lifecycleEvent > INFO: The Apache Tomcat Native library which allows optimal > performance in production environments was not found on the java.library.path: > /usr/lib/gcj-4.1.2 > 5-Jun-12 8:00:09 AM org.apache.coyote.http11.Http11BaseProtocol init > INFO: Initializing Coyote HTTP/1.1 on http-8080 > 5-Jun-12 8:00:09 AM org.apache.catalina.startup.Catalina load > INFO: Initialization processed in 551 ms > 5-Jun-12 8:00:10 AM org.apache.catalina.core.StandardService start > INFO: Starting service Catalina > 5-Jun-12 8:00:10 AM org.apache.catalina.core.StandardEngine start > INFO: Starting Servlet Engine: Apache Tomcat/5.5.26 > 5-Jun-12 8:00:10 AM org.apache.catalina.core.StandardHost start > INFO: XML validation disabled > 5-Jun-12 8:00:10 AM org.apache.catalina.startup.HostConfig deployWAR > INFO: Deploying web application archive KPG.war > 5-Jun-12 8:00:11 AM org.apache.catalina.startup.HostConfig deployWAR > INFO: Deploying web application archive JavaBridge.war > 5-Jun-12 8:00:13 AM org.apache.coyote.http11.Http11BaseProtocol start > INFO: Starting Coyote HTTP/1.1 on http-8080 > 5-Jun-12 8:00:13 AM org.apache.jk.common.ChannelSocket init > INFO: JK: ajp13 listening on /0.0.0.0:8009 > 5-Jun-12 8:00:13 AM org.apache.jk.server.JkMain start > INFO: Jk running ID=0 time=0/34 config=null > 5-Jun-12 8:00:13 AM org.apache.catalina.storeconfig.StoreLoader load > INFO: Find registry server-registry.xml at classpath resource > 5-Jun-12 8:00:13 AM org.apache.catalina.startup.Catalina start > INFO: Server startup in 3992 ms > > > On Tue, Jun 5, 2012 at 9:55 AM, < > php...@li...> wrote: > >> Hei >> >> They did not make it through - Also I would take the advice of >> recompiling >> >> Hermod >> >> -----Original Message----- >> From: php...@li... [mailto: >> php...@li...] >> Sent: Tuesday, June 05, 2012 8:52 AM >> To: php...@li... >> Subject: Re: [Php-java-bridge-users] Custom Java Class >> >> Hi, >> >> I am attaching both files and unfortunately I am not using Log4J. >> Kindly can you have look on those file and let me know what can be >> the problem >> >> On Tue, Jun 5, 2012 at 9:47 AM, < >> php...@li... >> > wrote: >> >> > Hi >> > >> > Look into the one called catalina.xxxx.log, and also the called >> > localhost.xxxx.log >> > >> > This is where Tomcat normally writes error messages - Also if you >> > are using something like Log4J I would look into the Log4J files >> > (described in log4j.xml or log4j.properties under web-inf/classes) >> > >> > mvh >> > Hermod >> > >> > -----Original Message----- >> > From: php...@li... [mailto: >> > php...@li...] >> > Sent: Tuesday, June 05, 2012 8:39 AM >> > To: php...@li... >> > Subject: Re: [Php-java-bridge-users] Custom Java Class >> > >> > Hi, >> > >> > yea found it under "/var/log/tomcat5" But there is log log file >> > which one you want me read, kindly can you give name of the log >> > file >> > >> > On Tue, Jun 5, 2012 at 9:37 AM, < >> > php...@li... >> > > wrote: >> > >> > > Hi >> > > >> > > logs under your tomcat installation >> > > >> > > >> > > Hermod >> > > >> > > -----Original Message----- >> > > From: php...@li... [mailto: >> > > php...@li...] >> > > Sent: Tuesday, June 05, 2012 8:35 AM >> > > To: php...@li... >> > > Subject: Re: [Php-java-bridge-users] Custom Java Class >> > > >> > > Well I must be asking stupid question but what is the location of >> > > the Tomcat logs >> > > >> > > On Tue, Jun 5, 2012 at 9:21 AM, < >> > > php...@li... >> > > > wrote: >> > > >> > > > Hi >> > > > >> > > > Both - Are you seeing traces of your class in the Tomcat logs? >> > > > >> > > > Hermod >> > > > >> > > > -----Original Message----- >> > > > From: php...@li... [mailto: >> > > > php...@li...] >> > > > Sent: Tuesday, June 05, 2012 8:18 AM >> > > > To: php...@li... >> > > > Subject: Re: [Php-java-bridge-users] Custom Java Class >> > > > >> > > > hi, >> > > > >> > > > Kindly bare with me as I am new to this. >> > > > >> > > > Which log output do you need, Java log or PHP log. >> > > > >> > > > On Tue, Jun 5, 2012 at 8:31 AM, < >> > > > php...@li... >> > > > > wrote: >> > > > >> > > > > Hi >> > > > > >> > > > > Log output would be nice - Otherwise aiding is kind of hard >> > > > > >> > > > > Hermod >> > > > > >> > > > > -----Original Message----- >> > > > > From: php...@li... [mailto: >> > > > > php...@li...] >> > > > > Sent: Tuesday, June 05, 2012 7:29 AM >> > > > > To: php...@li... >> > > > > Subject: [Php-java-bridge-users] Custom Java Class >> > > > > >> > > > > Hi, >> > > > > >> > > > > I have installed Java/PHP bridge on CentOS 6.0 and Tomcat6. >> > > > > Successfully and also run my custom class very successfully >> > > > > without any >> > > > problem. >> > > > > >> > > > > Now I have new environment with Fedora Release 7 and Tomcat >> > > > > 5. I have installed Java/PHP bridge on it successfully. When >> > > > > I test following code >> > > > > >> > > > > <?php >> > > > > require_once("http://localhost:8080/KPG/java/Java.inc"); >> > > > > echo java("java.lang.System")->getProperties(); >> > > > > ?> >> > > > > >> > > > > It works perfectly. But when I run my custom class, it did >> > > > > not >> works. >> > > > > The custom class which is working very good in CentOS 6.0 >> > > > > with Tomcat6. I am not understanding what can be the problem >> > > > > and how can solve it. Any help on this will be very appriciate. >> > > > > >> > > > > ------------------------------------------------------------- >> > > > > --- >> > > > > -- >> > > > > -- >> > > > > -- >> > > > > -------- >> > > > > Live Security Virtual Conference Exclusive live event will >> > > > > cover all the ways today's security and threat landscape has >> > > > > changed and how IT managers can respond. >> > > > > Discussions will include endpoint security, mobile security >> > > > > and the latest in malware threats. >> > > > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > > > > _______________________________________________ >> > > > > php-java-bridge-users mailing list >> > > > > php...@li... >> > > > > https://lists.sourceforge.net/lists/listinfo/php-java-bridge- >> > > > > use >> > > > > rs >> > > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >> > > > > * >> > > > > * >> > > > > * >> > > > > * >> > > > > * * * >> > > > > >> > > > > This email with attachments is solely for the use of the >> > > > > individual or entity to whom it is addressed. Please also be >> > > > > aware that the DNB Group cannot accept any payment orders or >> > > > > other legally binding correspondence with customers as a part >> > > > > of >> an email. >> > > > > >> > > > > This email message has been virus checked by the anti virus >> > > > > programs used in the DNB Group. >> > > > > >> > > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >> > > > > * >> > > > > * >> > > > > * >> > > > > * >> > > > > * * * >> > > > > >> > > > > >> > > > > >> > > > > ------------------------------------------------------------- >> > > > > --- >> > > > > -- >> > > > > -- >> > > > > -- >> > > > > -------- >> > > > > Live Security Virtual Conference Exclusive live event will >> > > > > cover all the ways today's security and threat landscape has >> > > > > changed and how IT managers can respond. >> > > > > Discussions will include endpoint security, mobile security >> > > > > and the latest in malware threats. >> > > > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > > > > _______________________________________________ >> > > > > php-java-bridge-users mailing list >> > > > > php...@li... >> > > > > https://lists.sourceforge.net/lists/listinfo/php-java-bridge- >> > > > > use >> > > > > rs >> > > > > >> > > > >> > > > --------------------------------------------------------------- >> > > > --- >> > > > -- >> > > > -- >> > > > -------- >> > > > Live Security Virtual Conference Exclusive live event will >> > > > cover all the ways today's security and threat landscape has >> > > > changed and how IT managers can respond. >> > > > Discussions will include endpoint security, mobile security and >> > > > the latest in malware threats. >> > > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > > > _______________________________________________ >> > > > php-java-bridge-users mailing list >> > > > php...@li... >> > > > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-us >> > > > ers >> > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >> > > > * >> > > > * >> > > > * >> > > > * * * >> > > > >> > > > This email with attachments is solely for the use of the >> > > > individual or entity to whom it is addressed. Please also be >> > > > aware that the DNB Group cannot accept any payment orders or >> > > > other legally binding correspondence with customers as a part of an email. >> > > > >> > > > This email message has been virus checked by the anti virus >> > > > programs used in the DNB Group. >> > > > >> > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >> > > > * >> > > > * >> > > > * >> > > > * * * >> > > > >> > > > >> > > > >> > > > --------------------------------------------------------------- >> > > > --- >> > > > -- >> > > > -- >> > > > -------- >> > > > Live Security Virtual Conference Exclusive live event will >> > > > cover all the ways today's security and threat landscape has >> > > > changed and how IT managers can respond. >> > > > Discussions will include endpoint security, mobile security and >> > > > the latest in malware threats. >> > > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > > > _______________________________________________ >> > > > php-java-bridge-users mailing list >> > > > php...@li... >> > > > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-us >> > > > ers >> > > > >> > > >> > > ----------------------------------------------------------------- >> > > --- >> > > -- >> > > -------- >> > > Live Security Virtual Conference >> > > Exclusive live event will cover all the ways today's security and >> > > threat landscape has changed and how IT managers can respond. >> > > Discussions will include endpoint security, mobile security and >> > > the latest in malware threats. >> > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > > _______________________________________________ >> > > php-java-bridge-users mailing list >> > > php...@li... >> > > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-user >> > > s >> > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >> > > * >> > > * >> > > * * * >> > > >> > > This email with attachments is solely for the use of the >> > > individual or entity to whom it is addressed. Please also be >> > > aware that the DNB Group cannot accept any payment orders or >> > > other legally binding correspondence with customers as a part of an email. >> > > >> > > This email message has been virus checked by the anti virus >> > > programs used in the DNB Group. >> > > >> > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >> > > * >> > > * >> > > * * * >> > > >> > > >> > > >> > > ----------------------------------------------------------------- >> > > --- >> > > -- >> > > -------- >> > > Live Security Virtual Conference >> > > Exclusive live event will cover all the ways today's security and >> > > threat landscape has changed and how IT managers can respond. >> > > Discussions will include endpoint security, mobile security and >> > > the latest in malware threats. >> > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > > _______________________________________________ >> > > php-java-bridge-users mailing list >> > > php...@li... >> > > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-user >> > > s >> > > >> > >> > ------------------------------------------------------------------- >> > --- >> > -------- >> > Live Security Virtual Conference >> > Exclusive live event will cover all the ways today's security and >> > threat landscape has changed and how IT managers can respond. >> > Discussions will include endpoint security, mobile security and the >> > latest in malware threats. >> > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > _______________________________________________ >> > php-java-bridge-users mailing list >> > php...@li... >> > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users >> > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >> > * >> > * * * >> > >> > This email with attachments is solely for the use of the individual >> > or entity to whom it is addressed. Please also be aware that the >> > DNB Group cannot accept any payment orders or other legally binding >> > correspondence with customers as a part of an email. >> > >> > This email message has been virus checked by the anti virus >> > programs used in the DNB Group. >> > >> > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >> > * >> > * * * >> > >> > >> > >> > ------------------------------------------------------------------- >> > --- >> > -------- >> > Live Security Virtual Conference >> > Exclusive live event will cover all the ways today's security and >> > threat landscape has changed and how IT managers can respond. >> > Discussions will include endpoint security, mobile security and the >> > latest in malware threats. >> > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > _______________________________________________ >> > php-java-bridge-users mailing list >> > php...@li... >> > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users >> > >> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >> * * >> * >> >> This email with attachments is solely for the use of the individual >> or entity to whom it is addressed. Please also be aware that the DNB >> Group cannot accept any payment orders or other legally binding >> correspondence with customers as a part of an email. >> >> This email message has been virus checked by the anti virus programs >> used in the DNB Group. >> >> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >> * * >> * >> >> >> >> --------------------------------------------------------------------- >> --------- >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. >> Discussions will include endpoint security, mobile security and the >> latest in malware threats. >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> php-java-bridge-users mailing list >> php...@li... >> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users >> > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DNB Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the anti virus programs used in the DNB Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |