Mark, I have read through the mentioned thread, but am not using AWT. What I am using is the jCO package, that enables connecting to a SAP system. The jCO.jar file I put in the C:\Apache\tomcat\webapps\jetspeed\WEB-INF\lib directory. The classes of the Portal I put in the C:\Apache\tomcat\webapps\jetspeed\WEB-INF\classes directory. My system is a Win2000 system, the Jetspeed I use (version 1.3a2, default installation) is from December 10th, 2001.
In the installation instructions I got with the jCO package, it was said to copy some dll's to C:\WINNT\system32. The dll's are still there. This directory is mentioned in my path. The strange thing is, I can use a comparable program starting from the command prompt. It just does not work as a portal. The contents of the logfile: Multiple occurrences of: [Fri Feb 01 15:32:00 CET 2002] -- DEBUG -- Adding entry CompanyList of class class org.apache.jetspeed.services.registry.NormalizedPortletEntry to registry Registry ...and once: [Fri Feb 01 15:32:06 CET 2002] -- ERROR -- Error rendering Velocity template: /controls/html/jetspeed.vm: Invocation of method 'getContent' in class CompanyList threw exception class java.lang.UnsatisfiedLinkError The last part with its neighbours: [Fri Feb 01 15:32:06 CET 2002] -- DEBUG -- template exists: C:\Apache\tomcat\webapps\jetspeed\WEB-INF\templates\vm\controllers\html\card .vm returning /html/card.vm [Fri Feb 01 15:32:06 CET 2002] -- DEBUG -- Controller calculated setSize 3 row 1 colNum: 2 rowNum: 1 [Fri Feb 01 15:32:06 CET 2002] -- DEBUG -- Column 0 [Fri Feb 01 15:32:06 CET 2002] -- DEBUG -- Row 0 object: org.apache.jetspeed.portal.controls.VelocityPortletControl@1b6220 [Fri Feb 01 15:32:06 CET 2002] -- DEBUG -- Row 1 object: org.apache.jetspeed.portal.controls.VelocityPortletControl@474e45 [Fri Feb 01 15:32:06 CET 2002] -- DEBUG -- Column 1 [Fri Feb 01 15:32:06 CET 2002] -- DEBUG -- Row 0 object: org.apache.jetspeed.portal.controls.VelocityPortletControl@63a721 [Fri Feb 01 15:32:06 CET 2002] -- DEBUG -- template exists: C:\Apache\tomcat\webapps\jetspeed\WEB-INF\templates\vm\controllers\html\mult icolumn.vm returning /html/multicolumn.vm [Fri Feb 01 15:32:06 CET 2002] -- DEBUG -- template exists: C:\Apache\tomcat\webapps\jetspeed\WEB-INF\templates\vm\controls\html\jetspee d.vm returning /html/jetspeed.vm [Fri Feb 01 15:32:06 CET 2002] -- ERROR -- Error rendering Velocity template: /controls/html/jetspeed.vm: Invocation of method 'getContent' in class CompanyList threw exception class java.lang.UnsatisfiedLinkError [Fri Feb 01 15:32:06 CET 2002] -- DEBUG -- template exists: C:\Apache\tomcat\webapps\jetspeed\WEB-INF\templates\vm\controls\html\jetspee d.vm returning /html/jetspeed.vm [Fri Feb 01 15:32:08 CET 2002] -- DEBUG -- template exists: C:\Apache\tomcat\webapps\jetspeed\WEB-INF\templates\vm\controls\html\jetspee d.vm returning /html/jetspeed.vm [Fri Feb 01 15:32:08 CET 2002] -- DEBUG -- template exists: C:\Apache\tomcat\webapps\jetspeed\WEB-INF\templates\vm\navigations\html\bott om.vm returning /html/bottom.vm Michel -----Original Message----- From: Nutter, Mark [mailto:[EMAIL PROTECTED]] Sent: vrijdag 1 februari 2002 15:01 To: 'Jetspeed Users List' Subject: RE: Finding native-language definitions Yesterday, Brendan O'Bra reported that he was getting the "can't find native definition" error because he was running on a machine that did not have X Windows installed, and the Java Virtual Machine was dying when it tried to load Swing. That would be a pretty wild coincidence if you were having the same problem, eh? But NoClassDefFound is usually a problem with your CLASSPATH or a classloader problem. "Can't find native definition" is the description for the UnsatisfiedLinkError. Can you copy the exact error message(s) you are seeing and post it here? Mark > -----Original Message----- > From: Michel Bergijk [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 01, 2002 8:19 AM > To: [EMAIL PROTECTED] > Subject: Finding native-language definitions > > > Hello Jetspeed users, > > For proof of concept of portals I am trying to connect to a > system that is > available by our intranet. When I start a comparable program > from the prompt > the program can connect to that system. When I try to obtain > the same with a > portal, I get a java.lang.NoClassDeffFoundError. The JavaDoc > gives me the > following explanation of this error: > Thrown if the Java Virtual Machine cannot find an appropriate > native-language definition of a method declared native. > Now I know that when I start the program from the prompt, > native libraries > are used, stored as dll's in the c:\WINNT\system32 directory > (I work on a > Win2000 client platform, using the jetspeed-1.3a2 release). Will find > Apache/Tomcat/Jetspeed these libraries? It seems to me this > is not the case. > > > With regards, > > Michel Bergijk > ABAP/4 Engineer > CMG Oost-Nederland B.V. > Division Trade, Transport & Industry > Meander 901 > 6825 MH Arnhem > PO Box 7015 > 6801 HA Arnhem > The Netherlands > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > This e-mail and any attachments are confidential. If you are not the intended recipient, please notify us immediately by reply e-mail and then delete this message from your system. Do not copy this e-mail or any attachment, use the contents for any purposes, or disclose the contents to any other person: to do so could be a breach of confidence. -- To unsubscribe, e-mail: <mailto:[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]>
