You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
1
(1) |
2
(7) |
3
(1) |
4
(4) |
5
|
6
|
7
|
8
(1) |
9
(1) |
10
(4) |
11
|
12
(4) |
13
(3) |
14
|
15
|
16
(1) |
17
(1) |
18
(1) |
19
(2) |
20
(1) |
21
|
22
|
23
(1) |
24
|
25
|
26
(1) |
27
(1) |
28
(2) |
29
|
30
(3) |
31
(1) |
From: <php...@li...> - 2008-05-10 19:35:30
|
> it seems that this is not an instance of this class. > Can you give me any suggestions? Moodle@ClassLoader1 is not assignment compatible with Moodle@ClassLoader2. In other words, you have more than one such library in your class path(s). Please see our class loading FAQ for details. Nicht vergessen! Am Sonntag, den 11. Mai ist Muttertag Geschenkideen, Gedichte & mehr: www.yahoo.de/muttertag |
From: <php...@li...> - 2008-05-09 20:41:06
|
Hi, I have the problem to create an instance of my class ProjectFactory which constructor has the argument of the type org.openrdf.sesame.repository.local.LocalRepository. I'm always gets an error when trying to create this class with the following code: $projectFact=new Java("depths.moodle.ProjectsFactory",$sesame); The error implies that I have provided illegal argument: Exception occured; mixed trace: java.lang.Exception: CreateInstance failed: new depths.moodle.ProjectsFactory((o:LocalRepository)[o:LocalRepository]). Cause: java.lang.IllegalArgumentException: argument type mismatch VM: 1.6.0_04@http://java.sun.com/ java stack trace: java.lang.Exception: CreateInstance failed: new depths.moodle.ProjectsFactory((o:LocalRepository)[o:LocalRepository]). Cause: java.lang.IllegalArgumentException: argument type mismatch VM: 1.6.0_04@http://java.sun.com/ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at php.java.bridge.JavaBridge.CreateObject(JavaBridge.java:487) at php.java.bridge.Request.handleRequest(Request.java:447) at php.java.bridge.Request.handleRequests(Request.java:485) at php.java.bridge.http.ContextRunner.run(ContextRunner.java:140) at php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) Caused by: java.lang.IllegalArgumentException: argument type mismatch ... 9 more Exception occured; mixed trace: java.lang.Exception: Invoke failed: [[o:Request$PhpNull]]->getAllProjects. Cause: java.lang.NullPointerException: call object is null, check the server log file(s). VM: 1.6.0_04@http://java.sun.com/ java stack trace: java.lang.Exception: Invoke failed: [[o:Request$PhpNull]]->getAllProjects. Cause: java.lang.NullPointerException: call object is null, check the server log file(s). VM: 1.6.0_04@http://java.sun.com/ at php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1016) at php.java.bridge.Request.handleRequest(Request.java:409) at php.java.bridge.Request.handleRequests(Request.java:485) at php.java.bridge.http.ContextRunner.run(ContextRunner.java:140) at php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) Caused by: java.lang.NullPointerException: call object is null, check the server log file(s). ... 5 more Variable $sesame is an instance of this class that I have also get from Java. When I check it with $sesame->getClass() I get the class org.openrdf.sesame.repository.local.LocalRepository, but if I check it with $SesameClass=java("org.openrdf.sesame.repository.local.LocalRepository"); if (java_instanceof($sesame, $SesameClass)){ ... it seems that this is not an instance of this class. Can you give me any suggestions? Thanks Zoran --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. |
From: <php...@li...> - 2008-05-08 21:22:46
|
To all: I'm using: php bridge: 5.1.2 java: jdk1.6.0_02 php: 5.2.5 Here's my question i'm trying to figure out the best way to deal with errors from the php side throw from java. Here's an example: Java: public class Test{ public Test(String yippie) Throws Exception { if(yippie) { ex = new Exception("This is an exception thrown from java"); System.out.println("Exception: " + ex.getMessage()); throw ex; } } } PHP: try{ $email_address_obj = new Java("type.Test", $email_address); return $email_address_obj; } catch (JavaException $ex) { echo "Cause: ".$ex->getCause()."\n"; echo "Message: ".(string) $ex->getMessage()."\n"; } Trouble: My issue is, I want to out the message Exception was instantiated with ("This is an exception thrown from java"). However, the Throwable::getMessage() method is not giving me anything on the php side, but it is giving me what I want on the java side. Conversely, the Throwable::getCause() is giving me exactly what is expected. Any thoughts or help would be greatly appreciated! Cheers, Zach __________________ Gulo Solutions http://blog.gulosolutions.com 773.276.8066 |
From: <php...@li...> - 2008-05-04 16:27:13
|
On May 4, 2008, at 05:25, php...@li... wrote: >> [...]I would just like to remove the everyone execute permissions. > > Java uses a fine grained access control mechanism built into the VM, > which is similar to Security > Enhanced Linux or the mechanism built into Vista. However, even with > SEL and Java access control > enabled, one shouldn't run Java from the super user account. > > Depending on the VM version, Java creates JIT code in /tmp or in > some subdir of home directory. > Therefore this directory needs execute permission. Thank you, I'll see if I can select the user that tomcat is running in. Running "java -jar JavaBridge.jar" as a normal user does not exhibit this problem. ---kent-(- |
From: <php...@li...> - 2008-05-04 12:25:42
|
Hi, > [...]I would just like to remove the everyone execute permissions. Java uses a fine grained access control mechanism built into the VM, which is similar to Security Enhanced Linux or the mechanism built into Vista. However, even with SEL and Java access control enabled, one shouldn't run Java from the super user account. Depending on the VM version, Java creates JIT code in /tmp or in some subdir of home directory. Therefore this directory needs execute permission. Regards, Jost Boekemeier E-Mails jetzt auf Ihrem Handy. www.yahoo.de/go |
From: <php...@li...> - 2008-05-04 12:13:51
|
Hi, as most modern Mac operating systems are based on Mach + Unix emulation layer, no special build or deploy instructions are needed. Please note that, in order to use all features, Java 6 or Java 7 is required. The bridge still runs under Java 1.4, but some features, such as JSR223, may not be available. Regards, Jost Boekemeier Machen Sie Yahoo! zu Ihrer Startseite. Los geht's: http://de.yahoo.com/set |
From: <php...@li...> - 2008-05-04 06:06:44
|
Hi: System: Mac Pro OS: 10.5.2 I copied test.php from /opt/local/share/java/tomcat5/webapps/ JavaBridge to ~/Sites/JavaBridge/test.php for this example: http://localhost/~kent/JavaBridge/test.php Works great. http://localhost:8080/JavaBridge/test.php Displays a blank page and the following error in catalina.err: > May 3, 2008 10:27:20 PM org.apache.catalina.core.ApplicationContext > log > INFO: /var/root: Permission denied Permissions on /var/root (root's login directory) were: 750, I needed to allow everyone execute permissions to /var/root: $ sudo chmod 751 /var/root to have this error go away - the test.php and the PHP/Java Bridge examples page now display. What is tomcat and JavaBridge doing that needs access to /var/root ? Here is how I installed the php/Java bridge: I installed tomcat and php via port: sudo port install php5 +fastcgi fcgi # php-cgi needed for Java/PHP bridge sudo port install tomcat5 # Appache TomCat needed for Java/PHP bridge I downloaded php-java-bridge_5-1.2.2_j2ee.zip from sf.net, unziped it and placed the JavaBridge.war file into /opt/local/share/java/tomcat5/ webapps/. I copied test.php and java/Java.inc to the ~/Sites/ JavaBridge directory. Then updated the php_exec to point to port's php- cgi: $ unzip php-java-bridge_5-1.2.2_j2ee.zip $ cd php-java-bridge_5-1.2.2_j2ee $ cp JavaBridge.war /opt/local/share/java/tomcat5/webapps/ $ cp /opt/local/share/java/tomcat5/webapps/JavaBridge/java/Java.inc ~/ Sites/JavaBridge/java/Java.inc $ cp /opt/local/share/java/tomcat5/webapps/JavaBridge/test.php ~/Sites/ JavaBridge/test.php I edited /opt/local/share/java/tomcat5/webapps/JavaBridge/WEB-INF/ web.xml and added support for my Macport installed php: <init-param> <param-name>php_exec</param-name> <param-value>/opt/local/bin/php-cgi</param-value> </init-param> Everything seems to be running, I would just like to remove the everyone execute permissions. I did look for a php/Java Bridge Macintosh 10.5 HOWTO and didn't see on using google or the sf.net mail list archive search. I still need to install this on my laptop development system. Is there a repository for system specific installs (I did look in http://php-java-bridge.sourceforge.net/pjb/installation.php and no Macintosh examples there)? If there isn't one now, I can create one. Where should I send it? --- Kent Behrends BEHR Consulting |
From: <php...@li...> - 2008-05-02 19:37:48
|
Thank you, It was very stupid to make so naive mistake and not to see it. Zoran = = = Original message = = = Hi, > $session->put("rep",$rep); [...] > $rep=$session->get($rep); the key is "rep", not "$rep", this should read $session->get("rep"), I think. Regards, Jost Boekemeier Machen Sie Yahoo! zu Ihrer Startseite. Los geht's: http://de.yahoo.com/set ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users ___________________________________________________________ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |
From: <php...@li...> - 2008-05-02 16:57:44
|
Hi, > $session->put("rep",$rep); [...] > $rep=$session->get($rep); the key is "rep", not "$rep", this should read $session->get("rep"), I think. Regards, Jost Boekemeier Machen Sie Yahoo! zu Ihrer Startseite. Los geht's: http://de.yahoo.com/set |
From: <php...@li...> - 2008-05-02 16:05:53
|
Hi, I have used "is_null(java_values($javaValue))". Here are the two functions from my code. The first one is the one that does not works as it should work. function getRepositoryFactory(){ global $CFG; require_once($CFG->dirroot.'/depths/setup/depths_config.php'); $javabridge=get_string('javabridge','depths'); require_once($javabridge); $myLib=get_string('moodle_jar_file','depths'); java_require($CFG->wwwroot.'/'.$myLib); $session=java_session(); $rep=$session->get($rep); if(is_null(java_values($rep))){ try{ $rep=new Java("depths.moodle.RepositoryFactory"); $session->put("rep",$rep); if(is_null(java_values($rep))){ throw new Exception("Could not create repository!"); } }catch(Exception $e){); } } return $rep; } function getProjectFactory($sesame){ global $CFG; require_once($CFG->dirroot.'/depths/setup/depths_config.php'); $javabridge=get_string('javabridge','depths'); require_once($javabridge); $myLib=get_string('moodle_jar_file','depths'); java_require($CFG->wwwroot.'/'.$myLib); $session=java_session(); $projectFact=$session->get("projectFact"); if(is_null(java_values($projectFact))){ try{ $projectFact=new Java("depths.moodle.ProjectsFactory",$sesame); $session->put("projectFact",$projectFact); } catch (JavaException $ex){ $exStr=java_cast($ex, "string"); echo "Exception occured; mixed trace: $exStr\n"; $trace=new java("java.io.ByteArrayOutputStream"); $ex->printStackTrace(new java("java.io.PrintStream", $trace)); print "java stack trace: $trace\n"; } } return $projectFact; } = = = Original message = = = Hi, > items on each page. This page creates 3 java session variables on exactly the same way, first it > checks if variable already exists and if not it creates it and put in session. I think it depends on how you do the check. is_null(java_values($javaValue)) or java_is_null($javaValue) or if (!(string)$javaValue) will work. if (!$javaValue) will not. E-Mails jetzt auf Ihrem Handy. www.yahoo.de/go ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users ___________________________________________________________ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |
From: <php...@li...> - 2008-05-02 15:09:14
|
Hi, > items on each page. This page creates 3 java session variables on exactly the same way, first it > checks if variable already exists and if not it creates it and put in session. I think it depends on how you do the check. is_null(java_values($javaValue)) or java_is_null($javaValue) or if (!(string)$javaValue) will work. if (!$javaValue) will not. E-Mails jetzt auf Ihrem Handy. www.yahoo.de/go |
From: <php...@li...> - 2008-05-02 15:03:54
|
Hi, the error message "Incorrectly typed data found for annotation element public abstract" sounds like a bug in your application code. Or the application missing some required environment variables. I suspect one of the usual problems: * class version problems (java doesn't have a proper module system); try to remove all unnecessary jar files from the path, and/or start Java with the -verbose option to see which class versions are loaded. * the generated dynamic proxy needs some other JVM implementation. Please try to run your Java application from the console. If that works, simply attach a JavaBridgeRunner to it and call your application via that port. The J2EE folder from the source download contains several examples which show how to use the bridge to connect to a SOAP and EJB service. Regards, Jost Boekemeier Lesen Sie Ihre E-Mails jetzt einfach von unterwegs. www.yahoo.de/go |
From: <php...@li...> - 2008-05-02 13:56:52
|
Hello I'm running: ************************************************************************************************ Apache 2.2.6 PHP 5.2.5 MS Windows server 2003 enterprise edition SP2 Using JavaBridge back-end version: 3.2.1b Put the JavaBridge.war into the autodeploy folder for the J2EE application server Copied the php-5.0-java-x86-windows.dll to my PHP/Ext directory and renamed it php_java.dll Copied my third party .jar files to the JavaBridge.war. Put require ("java/java.php"); at the start of my script. ************************************************************************************************ I can create third party objects and call methods/functions on them (Java is being called ok so the bridge is functioning) but when I call a particular function I get the following stack trace: Exception occured; mixed trace: java.lang.Exception: Invoke failed: [o(Connection)]->getServerList. Cause: <third_party_code>.sddag.api.exceptions.WSException: Error connecting to service Responsible VM: 1.5.0_15@http://java.sun.com/ java stack trace: [o(ByteArrayOutputStream):"java.lang.Exception: Invoke failed: [o(Connection)]->getServerList. Cause: <third_party_code>.sddag.api.exceptions.WSException: Error connecting to service Responsible VM:1.5.0_15@http://java.sun.com/ at <third_party_code>.sddag.api.WSConnection.getServerList(Unknown Source) at <third_party_code>.sddag.api.Connection.getServerList(Unknown Source) 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:585) at php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1113) at php.java.bridge.Request.handleRequest(Request.java:342) at php.java.bridge.Request.handleRequests(Request.java:388) at php.java.bridge.http.ContextRunner.run(ContextRunner.java:188) at php.java.bridge.BaseThreadPool$Delegate.run(BaseThreadPool.java:66) Caused by: <third_party_code>.sddag.api.exceptions.WSException: Error connecting to service ... 11 more Caused by: java.lang.annotation.AnnotationTypeMismatchException: Incorrectly typed data found for annotation element public abstract javax.xml.bind.annotation.XmlAccessType javax.xml.bind.annotation.XmlAccessorType.value() (Found data of type Ljavax/xml/bind/annotation/AccessType;.FIELD) at sun.reflect.annotation.AnnotationTypeMismatchExceptionProxy.generateException(AnnotationTypeMismatchExceptionProxy.java:38) at sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:56) at $Proxy35.value(Unknown Source) 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:585) at com.sun.xml.bind.v2.model.annotation.LocatableAnnotation.invoke(LocatableAnnotation.java:118) at $Proxy36.value(Unknown Source) at com.sun.xml.bind.v2.model.impl.ClassInfoImpl.getAccessType(ClassInfoImpl.java:429) at com.sun.xml.bind.v2.model.impl.ClassInfoImpl.getProperties(ClassInfoImpl.java:292) at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.getProperties(RuntimeClassInfoImpl.java:174) at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:226) at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:98) at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:79) at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:192) at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:93) at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:79) at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:298) at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:313) at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:432) at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:286) at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139) at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105) at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:146) at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:145) at java.security.AccessController.doPrivileged(Native Method) at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:144) at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:83) at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:260) at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:616) at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:319) at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:302) at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:295) at javax.xml.ws.Service.getPort(Service.java:92) at <third_party_code>.sddag.jwsdpclient.healthcheck.HealthCheck.getHealthCheckMethod(HealthCheck.java:54) at <third_party_code>.sddag.api.WSConnection$9LocalThread.run(Unknown Source) "] The third party code uses java vers. 1.5.0_15. Does this need to be referenced in some way or should the bridge automatically handle this? Any ideas would be appreciated. Many thanks Martin |
From: <php...@li...> - 2008-05-02 12:05:23
|
Hi, I've solved this issue. It was not related with serialization problem, but with trying to access not existing java collection element from php. During my work on resolving this I have found other strange think that I can't explain. One PHP page is called multiple times, as it uses multipage presentation with limited number of items on each page. This page creates 3 java session variables on exactly the same way, first it checks if variable already exists and if not it creates it and put in session. When calling this page multiple times throgh "next page", two variables work fine (i.e. they are created only the first time) and the third one is created each time. The application works without problem, but I want to correct this as it is a time consuming process. Is there any ideas on this? Zoran php...@li... wrote: Hi, I have the error java.io.NotSerializableException that causes my application to fails. My PHP application, PHP/Java bridge and jar file used are all on the same Tomcat server, and I have removed tag from WEB-INF/web.xml. Can you suggest me what causes the problem here. Tomcat error log is bellow. Regards, Zoran SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.openrdf.sesame.repository.local.LocalRepository java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.openrdf.sesame.repository.local.LocalRepository at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1333) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1439) at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:942) at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:394) at org.apache.catalina.session.StandardManager.load(StandardManager.java:321) at org.apache.catalina.session.StandardManager.start(StandardManager.java:637) at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:438) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4258) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) 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:566) 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) Caused by: java.io.NotSerializableException: org.openrdf.sesame.repository.local.LocalRepository at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1515) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:959) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:517) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:463) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:667) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4499) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1180) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1151) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.core.StandardService.stop(StandardService.java:584) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744) at org.apache.catalina.startup.Catalina.stop(Catalina.java:616) at org.apache.catalina.startup.Catalina.start(Catalina.java:591) .... 6 more May 1, 2008 11:38:23 PM org.apache.catalina.session.StandardManager start SEVERE: Exception loading sessions from persistent storage java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.openrdf.sesame.repository.local.LocalRepository at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1333) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1439) at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:942) at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:394) at org.apache.catalina.session.StandardManager.load(StandardManager.java:321) at org.apache.catalina.session.StandardManager.start(StandardManager.java:637) at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:438) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4258) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) 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:566) 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) Caused by: java.io.NotSerializableException: org.openrdf.sesame.repository.local.LocalRepository at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1515) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:959) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:517) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:463) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:667) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4499) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1180) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1151) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.core.StandardService.stop(StandardService.java:584) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744) at org.apache.catalina.startup.Catalina.stop(Catalina.java:616) at org.apache.catalina.startup.Catalina.start(Catalina.java:591) .... 6 more --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. |
From: <php...@li...> - 2008-05-01 22:00:13
|
Hi, I have the error java.io.NotSerializableException that causes my application to fails. My PHP application, PHP/Java bridge and jar file used are all on the same Tomcat server, and I have removed tag <distributable> from WEB-INF/web.xml. Can you suggest me what causes the problem here. Tomcat error log is bellow. Regards, Zoran SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.openrdf.sesame.repository.local.LocalRepository java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.openrdf.sesame.repository.local.LocalRepository at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1333) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1439) at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:942) at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:394) at org.apache.catalina.session.StandardManager.load(StandardManager.java:321) at org.apache.catalina.session.StandardManager.start(StandardManager.java:637) at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:438) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4258) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) 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:566) 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) Caused by: java.io.NotSerializableException: org.openrdf.sesame.repository.local.LocalRepository at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1515) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:959) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:517) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:463) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:667) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4499) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1180) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1151) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.core.StandardService.stop(StandardService.java:584) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744) at org.apache.catalina.startup.Catalina.stop(Catalina.java:616) at org.apache.catalina.startup.Catalina.start(Catalina.java:591) ... 6 more May 1, 2008 11:38:23 PM org.apache.catalina.session.StandardManager start SEVERE: Exception loading sessions from persistent storage java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.openrdf.sesame.repository.local.LocalRepository at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1333) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1439) at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:942) at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:394) at org.apache.catalina.session.StandardManager.load(StandardManager.java:321) at org.apache.catalina.session.StandardManager.start(StandardManager.java:637) at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:438) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4258) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) 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:566) 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) Caused by: java.io.NotSerializableException: org.openrdf.sesame.repository.local.LocalRepository at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1515) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:959) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:517) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:463) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:667) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4499) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1180) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1151) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.core.StandardService.stop(StandardService.java:584) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744) at org.apache.catalina.startup.Catalina.stop(Catalina.java:616) at org.apache.catalina.startup.Catalina.start(Catalina.java:591) ... 6 more --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. |