Applet using webservice+ssl.jar
how to configure a webservice ssl connection from an applet?
webservice+ssl.jar is setting in my classpath,
but i can't use System.setProperty... in an applet.
Is there an example?
JM
Hello,
Try the clientauth example [1] and see if it doesn't answer most of your
questions.
Regards,
Bruce
[1]
http://webservice.bea.com/clientauth.zip
Jean-Marie Patard wrote:
>
how to configure a webservice ssl connection from an applet?
webservice+ssl.jar is setting in my classpath,
but i can't use System.setProperty... in an applet.
Is there an example?
JM
Similar Messages
-
Cannot connect using webserviceclient+ssl.jar
Hello!
I installed Verisign test certificate on my server and I am able to connect
to the server using Web Service client with JSSE adapter class. Funnily
enough, I cannot connect using WebLogic SSL library, I get an exception.
Could someone help me understand, why I cannot connect using WebLogic SSL
implementation?
To connect using JSSE I use following system properties:
java^
-classpath
.;abcconnect-client.jar;webserviceclient.jar;..\lib\jcert.jar;..\lib\jnet.ja
r;..\lib\jsse.jar;^
-Dweblogic.webservice.client.ssl.adapterclass=com.xxx.yyy.webservice.ssl.AB
CJSSEAdapter^
-Djavax.net.ssl.trustStore=abc.keystore^
-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol^
Client https://MyServer:7002/webservice/ABCConnectService?WSDL
where abcconnect-client.jar is the client jar file, and abc.keystore
contains getcacert.cer root CA, which I downloaded from Verisign from this
page: https://digitalid.verisign.com/server/trial/trialStep4.htm,
ABCJSSEAdapter is the adapter class, implementing SSLAdapter. JSSE test
works fine.
To connect using WebLogic SSL implementation I use following system
properties:
java^
-classpath .;abcconnect-client.jar;webserviceclient+ssl.jar;^
-Dweblogic.webservice.client.ssl.trustedcertfile=getcacert.cer^
-Dweblogic.webservice.client.ssl.strictcertchecking=false^
-Dweblogic.webservice.security.verbose=true^
-Dweblogic.webservice.client.verbose=true^
-Dbea.home=.^
-Djava.protocol.handler.pkgs=com.certicom.net.ssl^
Client https://MyServer:7002/webservice/ABCConnectService?WSDL
I converted binary format of the certificate to PEM, but it did not help.
I am getting this exception:
[BaseWLSSLAdapter] : SSLAdapter verbose output enabled
[BaseWLSSLAdapter] : Strict cert checking disabled by default
[BaseWLSSLAdapter] : Trusted certificates will be loaded from getcacert.cer
[BaseWLSSLAdapter] : Loaded local trusted certificates from
java.io.FileInputStream@73a7ab
[BaseWLSSLAdapter] : Disabling strict checking on adapter
weblogic.webservice.client.WLSSLAdapter@4faf8
[BaseWLSSLAdapter] : Set TrustManager to
weblogic.webservice.client.BaseWLSSLAdapter$NullTrustManager@78c6df
[WLSSLAdapter] : Set HostnameVerifier to
weblogic.webservice.client.WLSSLAdapter$NullVerifier@4ac00c
[BaseWLSSLAdapter] : Loaded local trusted certificates from
java.io.FileInputStream@57c2bd
[BaseWLSSLAdapter] : Disabling strict checking on adapter
weblogic.webservice.client.WLSSLAdapter@323210
[BaseWLSSLAdapter] : Set TrustManager to
weblogic.webservice.client.BaseWLSSLAdapter$NullTrustManager@74f44a
[WLSSLAdapter] : Set HostnameVerifier to
weblogic.webservice.client.WLSSLAdapter$NullVerifier@4ac00c
[BaseWLSSLAdapter] : Got new socketfactory
javax.net.ssl.impl.SSLSocketFactoryImpl@18c56d
[WLSSLAdapter] :
openConnection(https://MyServer:7002/webservice/ABCConnectService?WSDL)
returning
weblogic.webservice.client.https.HttpsURLConnection:https://MyServer:7002/we
bservice/ABCConnectService?WSDL
[WLSSLAdapter] : -- using HostnameVerifier
weblogic.webservice.client.WLSSLAdapter$NullVerifier@4ac00c
[WLSSLAdapter] : -- loaded certs from getcacert.cer
java.io.IOException: Write Channel Closed, possible SSL handshaking or trust
failure
at com.certicom.tls.record.WriteHandler.write(Unknown Source)
at
com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown
Source)
at
com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown Source)
at
com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown Source)
at
com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessage(Un
known Source)
at
com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(U
nknown Source)
at com.certicom.tls.record.ReadHandler.interpretContent(Unknown
Source)
at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
at
com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown
Source)
at
com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown
Source)
at com.certicom.tls.record.WriteHandler.write(Unknown Source)
at com.certicom.net.ssl.HttpsClient.doHandshake(Unknown Source)
at
com.certicom.net.ssl.internal.HttpURLConnection.getInputStream(Unknown
Source)
at
weblogic.webservice.client.https.HttpsURLConnection.getInputStream(HttpsURLC
onnection.java:216)
at
weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(Definitio
nFactory.java:71)
at
weblogic.webservice.tools.wsdlp.WSDLParser.<init>(WSDLParser.java:62)
at
weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:
106)
at
weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:
82)
at
weblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:67)
at Client.main(Client.java:136)Michael,
I guess the getcacert.cer, which is on the client side, should have the
server's certificate followed by the root CA certificate in .pem format.
I have it working with this format.
Could you please try this out and let us know.
Regards,
Anurag
"Michael Jouravlev" <[email protected]> wrote in message
news:[email protected]...
Hello!
I installed Verisign test certificate on my server and I am able toconnect
to the server using Web Service client with JSSE adapter class. Funnily
enough, I cannot connect using WebLogic SSL library, I get an exception.
Could someone help me understand, why I cannot connect using WebLogic SSL
implementation?
To connect using JSSE I use following system properties:
java^
-classpath
.;abcconnect-client.jar;webserviceclient.jar;..\lib\jcert.jar;..\lib\jnet.ja
r;..\lib\jsse.jar;^
-Dweblogic.webservice.client.ssl.adapterclass=com.xxx.yyy.webservice.ssl.AB
CJSSEAdapter^
-Djavax.net.ssl.trustStore=abc.keystore^
-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol^
Client https://MyServer:7002/webservice/ABCConnectService?WSDL
where abcconnect-client.jar is the client jar file, and abc.keystore
contains getcacert.cer root CA, which I downloaded from Verisign from this
page: https://digitalid.verisign.com/server/trial/trialStep4.htm,
ABCJSSEAdapter is the adapter class, implementing SSLAdapter. JSSE test
works fine.
To connect using WebLogic SSL implementation I use following system
properties:
java^
-classpath .;abcconnect-client.jar;webserviceclient+ssl.jar;^
-Dweblogic.webservice.client.ssl.trustedcertfile=getcacert.cer^
-Dweblogic.webservice.client.ssl.strictcertchecking=false^
-Dweblogic.webservice.security.verbose=true^
-Dweblogic.webservice.client.verbose=true^
-Dbea.home=.^
-Djava.protocol.handler.pkgs=com.certicom.net.ssl^
Client https://MyServer:7002/webservice/ABCConnectService?WSDL
I converted binary format of the certificate to PEM, but it did not help.
I am getting this exception:
[BaseWLSSLAdapter] : SSLAdapter verbose output enabled
[BaseWLSSLAdapter] : Strict cert checking disabled by default
[BaseWLSSLAdapter] : Trusted certificates will be loaded fromgetcacert.cer
[BaseWLSSLAdapter] : Loaded local trusted certificates from
java.io.FileInputStream@73a7ab
[BaseWLSSLAdapter] : Disabling strict checking on adapter
weblogic.webservice.client.WLSSLAdapter@4faf8
[BaseWLSSLAdapter] : Set TrustManager to
weblogic.webservice.client.BaseWLSSLAdapter$NullTrustManager@78c6df
[WLSSLAdapter] : Set HostnameVerifier to
weblogic.webservice.client.WLSSLAdapter$NullVerifier@4ac00c
[BaseWLSSLAdapter] : Loaded local trusted certificates from
java.io.FileInputStream@57c2bd
[BaseWLSSLAdapter] : Disabling strict checking on adapter
weblogic.webservice.client.WLSSLAdapter@323210
[BaseWLSSLAdapter] : Set TrustManager to
weblogic.webservice.client.BaseWLSSLAdapter$NullTrustManager@74f44a
[WLSSLAdapter] : Set HostnameVerifier to
weblogic.webservice.client.WLSSLAdapter$NullVerifier@4ac00c
[BaseWLSSLAdapter] : Got new socketfactory
javax.net.ssl.impl.SSLSocketFactoryImpl@18c56d
[WLSSLAdapter] :
openConnection(https://MyServer:7002/webservice/ABCConnectService?WSDL)
returning
weblogic.webservice.client.https.HttpsURLConnection:https://MyServer:7002/we
bservice/ABCConnectService?WSDL
[WLSSLAdapter] : -- using HostnameVerifier
weblogic.webservice.client.WLSSLAdapter$NullVerifier@4ac00c
[WLSSLAdapter] : -- loaded certs from getcacert.cer
java.io.IOException: Write Channel Closed, possible SSL handshaking ortrust
failure
at com.certicom.tls.record.WriteHandler.write(Unknown Source)
at
com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown
Source)
at
com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown Source)
at
com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(UnknownSource)
at
com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessage(Un
known Source)
at
com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(U
nknown Source)
at com.certicom.tls.record.ReadHandler.interpretContent(Unknown
Source)
at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
at
com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown
Source)
at
com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown
Source)
at com.certicom.tls.record.WriteHandler.write(Unknown Source)
at com.certicom.net.ssl.HttpsClient.doHandshake(Unknown Source)
at
com.certicom.net.ssl.internal.HttpURLConnection.getInputStream(Unknown
Source)
at
weblogic.webservice.client.https.HttpsURLConnection.getInputStream(HttpsURLC
onnection.java:216)
at
weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(Definitio
nFactory.java:71)
at
weblogic.webservice.tools.wsdlp.WSDLParser.<init>(WSDLParser.java:62)
at
weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:
106)
at
weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:
82)
at
weblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:67)
at Client.main(Client.java:136) -
How to sign a java applet using iPlanet SSL certificate?
Dear all,
I have a IPlanet web server with SSL installed,
can I use the SSL certificate to sign my java applet which will run on the server? how to sign a java applet in this scenario? somebody please help me! thanks!
yours sincerely
dashelWhy can't you create jar files?
-
Applets and classes in jar files
I have placed an applet and a group of classes that the applet uses in a jar file.
The classes are grouped in their own files in a short directory tree within the jar file.
When the applet is loaded by the browser on a client with the usual CODE="appletname.class" and ACRCHIVE="jarname.jar" statements, are the related class files and the directory tree also loaded into the client? Or do they remain at the server to be used by the applet as necessary?I'd say the entire JAR will be downloaded.
-
Applet(using SSL sockets) application in browser
hello everyone,
I am new to this forum, and this is my first forum in this site, please help me,
My problem is,
I have done an applet application which uses the SSL sockets, and it is working fine if i use the appletviewer tool, with the arguments of policy and URL, when i run this command "appletviewer -J-Djava.security.policy=mypolicy.policy URL of my html page" in the command mode its working fine.
I have wrote HTML file for running the applet, and when i used it in the browser i was not able to get output , i was getting the error "NoTrustedCertificates found", i have setted the properties of truststore and password in the program itself like,
System.setProperty("javax.net.ssl.trustStore", System.getProperty("java.home")+"cert");
System.setProperty("javax.net.ssl.trustStorePassword", "pwd");
and i also used the policy tool. I have stored my certificate along with the jar file, and i was getting this error
can anyone please help me, or suggest me the right way to reach my target.
Thanx in advanceHai,
I have made my client applet running from the remote system, and the client was establishing SSL sockets, and there is a problem in Handshake, NO TRUSTED CERTIFICATE found was the error, and i had loaded the certificates ( one is used for signing the certificate, and the other is used for the SSL sockets authentication ) in my applet client code i have setted the system properties like
System.setProperty("javax.net.ssl.trustStore", System.getProperty("java.home")+"\\lib\\security\\cert");
System.setProperty("javax.net.ssl.trustStorePassword", "pwd");
and this is the certificate which is used for SSL sockets authentication, and i stored the cert in the "jre\lib\security\" directory, and im using the jdk1.4.2_05 version.
At the client side the error is
Network Error: sun.security.validator.ValidatorException: No trusted certificate found.
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
at java.io.OutputStream.write(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: sun.security.validator.ValidatorException: No trusted certificate found
at sun.security.validator.SimpleValidator.buildTrustedChain(Unknown Source)
at sun.security.validator.SimpleValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(Unknown Source)
At the server side the error is
javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.b(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
at com.ClientNeg.run(ClientNeg.java:76)
at java.lang.Thread.run(Unknown Source)
i was not able to understand what went wrong , so any one please help me in doing my work.
Thanx
dwurity -
Browsing Oracle application using CISCO SSL VPN forms not opening
Hi all,
Any idea why am not able to access my application using CISCO SSL VPN.Normal clients are able to use our application there is no problem.i have modifyed the "certdb.txt",still i am having the same problem.here am attaching the Java console output.
java.net.ConnectException: Operation timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at oracle.jinitiator.protocol.https.HttpsClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.plugin.protocol.jdk12.http.HttpClient.<init>(Unknown Source)
at oracle.jinitiator.protocol.https.HttpsClient.<init>(Unknown Source)
at oracle.jinitiator.protocol.https.HttpsClient.New(Unknown Source)
at oracle.jinitiator.protocol.https.HttpsURLConnection$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.jinitiator.protocol.https.HttpsURLConnection.connect(Unknown Source)
at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
at oracle.jre.protocol.jar.HttpUtils.followRedirects(Unknown Source)
at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)
at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)
at oracle.jre.protocol.jar.JarCache.get(Unknown Source)
at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
at sun.misc.URLClassPath$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
WARNING: Unable to cache https://212.72.22.86/+CSCO+1a756767633A2F2F62656E6A726F322E7A75712E70622E627A++/forms/java/frmwebutil.jar
java.net.ConnectException: Operation timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at oracle.jinitiator.protocol.https.HttpsClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.plugin.protocol.jdk12.http.HttpClient.<init>(Unknown Source)
at oracle.jinitiator.protocol.https.HttpsClient.<init>(Unknown Source)
at oracle.jinitiator.protocol.https.HttpsClient.New(Unknown Source)
at oracle.jinitiator.protocol.https.HttpsURLConnection$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.jinitiator.protocol.https.HttpsURLConnection.connect(Unknown Source)
at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
at oracle.jre.protocol.jar.HttpUtils.followRedirects(Unknown Source)
at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)
at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)
at oracle.jre.protocol.jar.JarCache.get(Unknown Source)
at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
at sun.misc.URLClassPath$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
WARNING: Unable to cache https://212.72.22.86/+CSCO+1a756767633A2F2F62656E6A726F322E7A75712E70622E627A++/forms/java/frmall_jinit.jar
java.net.ConnectException: Operation timed out: connectHi,
From your description, my understanding is that you get invalid workflowinstanceid error when you click on workflow link like "inprogress” in the current list.
Please check the URL of workflow “inprogress” (also URL for workflow approval instance to open task form) to see if it’s correct.
Please use your company network directly instead of CISCO SSL VPN, then access SharePoint portal url “https://vpnssl.companyname.com/”, see if the issue still occur.
Also, check the ULS log on the SharePoint server based on the Correlation ID value, get more detailed information about this error message.
And you could refer to this similar issue:
https://social.technet.microsoft.com/Forums/en-US/08aa6b33-cef6-4b01-8af7-6c25ed7d9953/invalid-workflowinstanceid-parameter-in-url?forum=sharepointgeneralprevious.
Best Regards
Vincent Han
TechNet Community Support -
Applet unable to load JARs from URL?
Please let me preface my query with "I have not done applets ever for live business apps, only for uni and that was over a decade ago..." :)
I've been doing a lot of reading the last couple days and have been trying to modify a currently existing applet which unfortunately currently depends on libraries being installed in the ext dir on the user's PC (!). I am modifying it such that 1. it will now make a web service call and 2. it will need to include all of the good libraries that come with making web service calls. My other goal is to change the way the applet is loaded (applet tag) so that the libraries need not be pre-installed in the user's ext dir.
My trouble is, I cannot seem to persuade the applet to load the libraries that co-exist with it. I am loading the applet via a simple test harness page presently, where the HTML file resides in one directory (http://localhost/cis/dictation/test1.html) and the JARs in another (http://localhost/cis/common), but all at the same subdir level under the main web root. I know the applet is loading, as I have a test debug statement which prints out on each invocation.
Note If I load all of the JARs in the dependency hierarchy into the extensions directory, everything works swimmingly.
I have tried multiple variations on the applet tag, not completely sure of what it should look like. Please note when I load the URLs into the browser for each individual library, e.g. http://localhost/cis/common/axis.jar, the browser prompts me to download the JARs, so I know the browser can "see" them.
<applet code="webmedx.client.applet.audio.TransferApplet.class"
codebase="http://localhost/cis/common/"
name=TransferApplet
width=10 height=10
archive="audio.jar,axis.jar,jaxrpc.jar,jndi.jar,commons-logging.jar,commons-discovery.jar"
MAYSCRIPT>
<PARAM NAME="image" VALUE="images/webmedx_icon-32x32.gif">
<PARAM NAME="boxmessage" VALUE="Loading the Webmedx Audio Player">
<PARAM NAME="cache_archive" VALUE="../common/audio.jar">
<PARAM NAME="DebugLevel" value="1">
<PARAM NAME="userenterprise" VALUE="BHS">
<PARAM NAME="userfacility" VALUE="BHS">
<param name="scriptable" value="true">
</applet>Using path relative to the browser URL (http://localhost/cis/dictation/test1.html):
<applet
codebase="../common"
archive="audio.jar,axis.jar,jaxrpc.jar,jndi.jar,commons-logging.jar,commons-discovery.jar"
code="webmedx.client.applet.audio.TransferApplet.class"
name="TransferApplet"
width="0" height="0"
MAYSCRIPT>
<PARAM NAME="image" VALUE="images/webmedx_icon-32x32.gif">
<PARAM NAME="boxmessage" VALUE="Loading the Webmedx Audio Player">
<PARAM NAME="cache_archive" VALUE="../common/audio.jar">
<PARAM NAME="DebugLevel" value="1">
<PARAM NAME="userenterprise" VALUE="BHS">
<PARAM NAME="userfacility" VALUE="BHS">
<param name="scriptable" value="true">
</applet>Each of these results in the java console reporting a NCDFE for javax/xml/rpc/Service, which it should be able to locate in http://localhost/cis/common/jaxrpc.jar.
Then on subsequent page reloads, the java console reports NCDFE's for the newly added class WITHIN the applet jar, webmedx/client/applet/util/cdsproxy/WSAudioArchiveLocator (assuming because it requires javax.xml.rpc.Service, and cannot load it).
Any ideas/help will be very much appreciated :)
Edited by: alexx_wmx on Jul 13, 2010 4:17 PMejp wrote:
Those JARs must be installed in the lib/ext directory of the JRE to work correctly. ..Do they? I am surprised to hear that, but have not dealt with them directly. Why?
Note that I had asked the OP not to split what I feel is one question, into two threads. The other thread is at.. [http://forums.sun.com/thread.jspa?threadID=5444667], which had itself already been spawned from another thread.
(sigh..) Following this topic is beginning to make my head hurt. -
Html file to run an Applet using swings in 1.4.1 or 1.3.1
Can anyone send me an html document to launch the applet in a browser. I have very basic html, but I need one that uses the appropriate plug-in and that has parameters such as height, width, etc. My applet uses tabbed panes, dialog boxes and comboboxes. It works well with appletviewer, but does not work in IE or Netscape.
Thank you for your help
here is what I am using which does does show anything but a grey screen
<HTML>
<HEAD>
<TITLE>
CIS 602 Semister Project
</TITLE>
</HEAD>
<BODY>
<BR>
<H3>
<CENTER>
Swing
</CENTER>
</H3>
<H3>
<BR><BR>
<P><H3>
<CENTER>
<BR><BR>
<P><h2>
Structured Problem Solving Strategy
</h2>
<blockquote>
<!--"CONVERTED_APPLET"-->
<!-- CONVERTER VERSION 1.1 -->
<SCRIPT LANGUAGE="JavaScript"><!--
var info = navigator.userAgent; var ns = false;
var ie = (info.indexOf("MSIE") > 0 && info.indexOf("Win") > 0 && info.indexOf("Windows 3.1") < 0);
//--></SCRIPT>
<COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><!--
var ns = (navigator.appName.indexOf("Netscape") >= 0 && ((info.indexOf("Win") > 0 && info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0)));
//--></SCRIPT></COMMENT>
<SCRIPT LANGUAGE="JavaScript"><!--
if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = "570" HEIGHT = "500" codebase="http://java.sun.com/products/plugin/1.1.2/jinstall-112-win32.cab#Version=1,1,2,0"><NOEMBED><XMP>');
else if (_ns == true) document.writeln('<EMBED type="application/x-java-applet;version=1.4.2" java_CODE = "semiclient.class" WIDTH = "570" HEIGHT = "500" pluginspage="http://java.sun.com/products/plugin/1.1.2/plugin-install.html"><NOEMBED><XMP>');
//--></SCRIPT>
<APPLET CODE = "semiclient.class" WIDTH = "570" HEIGHT = "500" ></XMP>
<PARAM NAME = CODE VALUE = "semiclient.class" >
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.4.2">
</APPLET>
</NOEMBED></EMBED></OBJECT>
<!--
<APPLET CODE = "semiclient.class" WIDTH = "570" HEIGHT = "500" >
</APPLET>
-->
<!--"END_CONVERTED_APPLET"-->
</Center>
<BLOCKQUOTE><PRE>
</PRE></BLOCKQUOTE>
</H3>
<BLOCKQUOTE><PRE>
</PRE></BLOCKQUOTE>
</H3>
</BODY></HTML>Try this:
<HTML>
<HEAD>
<TITLE>CIS 602 Semister Project</TITLE>
</HEAD>
<BODY>
<CENTER><H3>Swing</H3></CENTER><CENTER><H2>Structured Problem Solving Strategy</H2></CENTER>
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="750"
height="575"
align="baseline"
codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_0-win.cab">
<PARAM NAME="code" VALUE="full.qualified.ClassName">
<PARAM NAME="codebase" VALUE="path/to/your/class/files/or/archive/">
<PARAM NAME="archive" VALUE="nameOfJarWhichContainsClassFiles.jar">
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">
<PARAM NAME="scriptable" VALUE="false">
<COMMENT>
<EMBED type="application/x-java-applet;version=1.4"
width="750"
height="575"
align="baseline"
code="full.qualified.ClassName"
codebase="path/to/your/class/files/or/archive/"
archive="nameOfJarWhichContainsClassFiles.jar"
pluginspage="http://java.sun.com/products/plugin/1.4/plugin-install.html">
<NOEMBED>
No Java 2 SDK, Standard Edition v 1.4 support for APPLET!!
</noembed>
</embed>
</COMMENT>
</OBJECT>
</BODY>
</HTML> -
Error in using the apache jars with jsf-ibm jars
Hi,
I am doing an application which needs apache jars for implementing the custom component(calendar).The WEB-INF/lib folder contain the jsf-api,jsf-impl jars along with the myfaces and tomahawk jars.When i tried to run the server i am getting the following error
[03/10/07 12:16:53:544 BST] 0000003a ServletWrappe E SRVE0100E: Did not realize init() exception thrown by servlet Faces Servlet: java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:262)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
[03/10/07 12:16:53:841 BST] 0000003a WebApp E SRVE0026E: [Servlet Error]-[Faces Servlet]: java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:262)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
**Could u suggest a solution for using the apache jars**Hi,
I am using RAD 6.0. When i tried to redeploy and publish the project i am getting the given error. Provided that i have added apache jars and jsf jars to the WEB-INF/lib directory.
[04/10/07 09:29:36:911 BST] 00000032 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
[04/10/07 09:29:38:161 BST] 00000032 SystemOut O null, false, 0
[04/10/07 09:29:38:177 BST] 00000032 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
[04/10/07 09:29:38:411 BST] 00000032 SystemOut O /C:/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v6/properties/version.properties, false, 1174477509484
[04/10/07 09:29:38:442 BST] 00000102 SystemOut O The tasks are: [com.ibm.ws.management.application.task.DeleteSIEntryTask, com.ibm.ws.management.application.task.DeleteAppConfigTask]
[04/10/07 09:29:38:536 BST] 00000102 SystemOut O ADMA6018I: The node-server relationship for this application is {cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01=[cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01/servers/server1]}
[04/10/07 09:29:38:567 BST] 00000102 SystemOut O ADMA6021I: Removing the serverindex entry for TestProjectEAR.ear/deployments/TestProjectEAR for server server1 on node W-GHO-043723Node01, and the return code is true
[04/10/07 09:29:39:052 BST] 000000f1 SystemOut O /C:/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v6/properties/version.properties, false, 1174477509484
[04/10/07 09:29:39:052 BST] 00000105 SystemOut O ================== W-GHO-043723Node01Cell
[04/10/07 09:29:39:114 BST] 00000105 SystemOut O ADMA6010I: The tasks are [com.ibm.ws.webservices.deploy.WSDeployTask, com.ibm.websphere.migration.common.ApplicationInstallTask, com.ibm.websphere.migration.common.ApplicationInstallServlet12Task, com.ibm.ws.management.application.task.ValidateAppTask, com.ibm.ws.management.application.task.ConfigureTask, com.ibm.ws.management.application.task.InstalledOptionalPackageTask, com.ibm.ws.management.application.task.MetadataTask, com.ibm.ws.management.application.task.BackupAppTask, com.ibm.ws.management.application.task.ConfigArchiveTask, com.ibm.ws.management.application.task.DeltaDataTask, com.ibm.ws.appprofile.AppProfileInstallTask, com.ibm.ws.security.authorize.JaccServerTask]
[04/10/07 09:29:39:255 BST] 00000106 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
[04/10/07 09:29:39:302 BST] 00000105 SystemOut O App validation: 0
[04/10/07 09:29:39:427 BST] 00000106 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
[04/10/07 09:29:39:473 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/deployment.xml is saved.
[04/10/07 09:29:39:473 BST] 00000105 SystemOut O saved res: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/deployment.xml=== com.ibm.ws.sm.workspace.migration.WSResourceImpl@2cbcb698 uri='deployment.xml'
[04/10/07 09:29:39:489 BST] 00000106 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
[04/10/07 09:29:39:505 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/variables.xml is saved.
[04/10/07 09:29:39:505 BST] 00000105 SystemOut O saved res: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/variables.xml=== com.ibm.ws.sm.workspace.migration.WSResourceImpl@6be17698 uri='variables.xml'
[04/10/07 09:29:39:567 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/resources.xml is saved.
[04/10/07 09:29:39:567 BST] 00000105 SystemOut O saved res: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/resources.xml=== com.ibm.ws.sm.workspace.migration.WSResourceImpl@77d23698 uri='resources.xml'
[04/10/07 09:29:39:567 BST] 00000105 SystemOut O ADMA6018I: The node-server relationship for this application is {cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01=[cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01/servers/server1]}
[04/10/07 09:29:39:567 BST] 00000105 SystemOut O ADMA6020I: The system is adding the serverindex entry for cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR for server server1 on node W-GHO-043723Node01
[04/10/07 09:29:39:598 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\META-INF/.modulemaps is saved.
[04/10/07 09:29:39:598 BST] 00000105 SystemOut O ADMA6016I: Add to workspace META-INF/.modulemaps
[04/10/07 09:29:39:598 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\META-INF/application.xml is saved.
[04/10/07 09:29:39:598 BST] 00000105 SystemOut O ADMA6016I: Add to workspace META-INF/application.xml
[04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\META-INF/MANIFEST.MF is saved.
[04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/META-INF/MANIFEST.MF
[04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\WEB-INF/faces-config.xml is saved.
[04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/WEB-INF/faces-config.xml
[04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\WEB-INF/ibm-web-bnd.xmi is saved.
[04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/WEB-INF/ibm-web-bnd.xmi
[04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\WEB-INF/ibm-web-ext.xmi is saved.
[04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/WEB-INF/ibm-web-ext.xmi
[04/10/07 09:29:39:661 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\WEB-INF/web.xml is saved.
[04/10/07 09:29:39:661 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/WEB-INF/web.xml
[04/10/07 09:29:39:661 BST] 00000105 SystemOut O ADMA5037I: The system is starting to back up the application at C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear
[04/10/07 09:29:41:598 BST] 00000105 SystemOut O ADMA5038I: The system Completed the backup of the application at C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\TestProjectEAR.ear
[04/10/07 09:29:42:130 BST] 00000106 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
[04/10/07 09:29:42:333 BST] 00000105 SystemOut O xmlDoc: [#document: null]
[04/10/07 09:29:42:333 BST] 00000105 SystemOut O root element: [app-delta: null]
[04/10/07 09:29:42:333 BST] 00000105 SystemOut O ****** delta file name: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear/deltas/TestProjectEAR.ear/delta-1191486582333
[04/10/07 09:29:42:598 BST] 00000105 SystemOut O ADMA6011I: Deleting directory tree C:\DOCUME~1\i81322\LOCALS~1\Temp\app_1156a22616c
[04/10/07 09:29:45:630 BST] 000000f1 ApplicationMg A WSVR0217I: Stopping application: TestProjectEAR
[04/10/07 09:29:45:708 BST] 000000f1 ApplicationMg A WSVR0220I: Application stopped: TestProjectEAR
[04/10/07 09:29:45:880 BST] 000000f1 SystemOut O ++++ Stopped : [WebSphere:platform=dynamicproxy,cell=W-GHO-043723Node01Cell,version=6.0.0.0,name=ApplicationManager,mbeanIdentifier=ApplicationManager,type=ApplicationManager,node=W-GHO-043723Node01,process=server1]
[04/10/07 09:29:46:083 BST] 000000f1 SystemOut O ++++ Starting name=TestProjectEAR
[04/10/07 09:29:46:145 BST] 000000f1 ApplicationMg A WSVR0200I: Starting application: TestProjectEAR
[04/10/07 09:29:46:817 BST] 000000f1 ResourceMgrIm I WSVR0049I: Binding DefaultEJBTimerDataSource as jdbc/DefaultEJBTimerDataSource
[04/10/07 09:29:46:833 BST] 000000f1 WebGroup A SRVE0169I: Loading Web Module: TestProject.
[04/10/07 09:29:47:130 BST] 000000f1 WebApp E Extension processor failed to initialize in factory: com.ibm.ws.jsp.webcontainerext.JSPExtensionFactory@5e0e36db
[04/10/07 09:29:47:161 BST] 000000f1 jsf E com.ibm.ws.jsf.util.FacesConfigUtil parseJSFApplicationConfig Can't parse configuration file:wsjar:file:/C:/i81322/ApacheTest/TestProject/WebContent/WEB-INF/lib/tomahawk-1.1.6.jar!/META-INF/faces-config.xml
java.lang.NullPointerException
at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
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(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at com.ibm.ws.jsf.configuration.FacesConfigParser.parse(FacesConfigParser.java:279)
at com.ibm.ws.jsf.configuration.FacesConfigParser.parse(FacesConfigParser.java:253)
at com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFApplicationConfig(FacesConfigUtil.java:202)
at com.ibm.ws.jsf.util.FacesConfigUtil._parseJSFConfiguration(FacesConfigUtil.java:122)
at com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFConfiguration(FacesConfigUtil.java:82)
at com.sun.faces.util.Util.verifyFactoriesAndInitDefaultRenderKit(Util.java:465)
at com.ibm.ws.jsf.configuration.FacesConfig.initialize(FacesConfig.java:96)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:83)
at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1355)
at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:371)
at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)
at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)
at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java(Compiled Code))
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java(Compiled Code))
at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java(Compiled Code))
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code))
at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java(Compiled Code))
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Compiled Code))
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code))
at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java(Compiled Code))
at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java(Compiled Code))
at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java(Compiled Code))
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java(Compiled Code))
at com.ibm.ws.management.application.sync.StartDeploymentTask.startDeployment(StartDeploymentTask.java:196)
at com.ibm.ws.management.application.sync.StartDeploymentTask.fullAppUpdate(StartDeploymentTask.java:92)
at com.ibm.ws.management.application.sync.StartDeploymentTask.performTask(StartDeploymentTask.java:81)
at com.ibm.ws.management.application.sync.AppBinaryProcessor$AppBinThread.run(AppBinaryProcessor.java:631)
at com.ibm.ws.management.application.sync.AppBinaryProcessor.postProcess(AppBinaryProcessor.java:408)
at com.ibm.ws.management.application.sync.AppBinaryProcessor._onChangeCompletion(AppBinaryProcessor.java:330)
at com.ibm.ws.management.application.sync.AppBinaryProcessor$2.run(AppBinaryProcessor.java:302)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ws.management.application.sync.AppBinaryProcessor.onChangeCompletion(AppBinaryProcessor.java:296)
at com.ibm.ws.management.repository.FileRepository.postNotify(FileRepository.java:1653)
at com.ibm.ws.management.repository.FileRepository.update(FileRepository.java:1211)
at com.ibm.ws.management.repository.client.LocalConfigRepositoryClient.update(LocalConfigRepositoryClient.java:189)
at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.update(WorkSpaceMasterRepositoryAdapter.java:482)
at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.update(RepositoryContextImpl.java:1730)
at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.synch(RepositoryContextImpl.java:1676)
at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.synch(WorkSpaceImpl.java:455)
at com.ibm.ws.management.application.task.ConfigRepoHelper.removeWorkSpace(ConfigRepoHelper.java:107)
at com.ibm.ws.management.application.RedeploymentManager.doCleanup(RedeploymentManager.java:243)
at com.ibm.ws.management.application.RedeploymentManager.appEventReceived(RedeploymentManager.java:187)
at com.ibm.ws.management.application.RedeploymentManager.handleNotification(RedeploymentManager.java:210)
at com.ibm.ws.management.event.ListenerInfo$1.run(ListenerInfo.java:125)
at com.ibm.ws.security.auth.distContextManagerImpl.runAs(distContextManagerImpl.java:2504)
at com.ibm.ws.security.auth.distContextManagerImpl.runAsSpecified(distContextManagerImpl.java:2398)
at com.ibm.ws.management.event.ListenerInfo.handleNotification(ListenerInfo.java:143)
at com.ibm.ws.management.event.NotificationDispatcher$DispatchANotificationToAListener.run(NotificationDispatcher.java:346)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
[04/10/07 09:29:47:583 BST] 000000f1 WebApp E Can't parse configuration file:wsjar:file:/C:/i81322/ApacheTest/TestProject/WebContent/WEB-INF/lib/tomahawk-1.1.6.jar!/META-INF/faces-config.xml
[04/10/07 09:29:47:598 BST] 000000f1 WebApp W No Extension Processor found for handling JSPs
[04/10/07 09:29:47:630 BST] 000000f1 VirtualHost I SRVE0250I: Web Module TestProject has been bound to default_host[*:9080,*:80,*:9443].
[04/10/07 09:29:47:661 BST] 000000f1 ApplicationMg A WSVR0221I: Application started: TestProjectEAR
[04/10/07 09:29:47:708 BST] 000000f1 FileRepositor A ADMR0009I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deltas/TestProjectEAR.ear/delta-1191486582333 is created.
[04/10/07 09:29:47:770 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/META-INF/MANIFEST.MF is modified.
[04/10/07 09:29:47:817 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/resources.xml is modified.
[04/10/07 09:29:47:817 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/security.xml is modified.
[04/10/07 09:29:47:833 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/TestProjectEAR.ear is modified.
[04/10/07 09:29:47:864 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/WEB-INF/ibm-web-bnd.xmi is modified.
[04/10/07 09:29:47:864 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/deployment.xml is modified.
[04/10/07 09:29:47:880 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/WEB-INF/faces-config.xml is modified.
[04/10/07 09:29:47:880 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/META-INF/application.xml is modified.
[04/10/07 09:29:47:911 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/META-INF/.modulemaps is modified.
[04/10/07 09:29:47:927 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/WEB-INF/web.xml is modified.
[04/10/07 09:29:47:927 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/WEB-INF/ibm-web-ext.xmi is modified.
[04/10/07 09:29:47:958 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01/serverindex.xml is modified.
[04/10/07 09:29:47:973 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/variables.xml is modified.
[04/10/07 09:29:47:973 BST] 000000f1 FileRepositor A ADMR0011I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deltas/TestProjectEAR.ear/delta-1191411855841 is deleted.
[04/10/07 09:29:47:130 BST] 000000f1 SystemErr R java.lang.LinkageError: LinkageError while defining class: org.apache.myfaces.webapp.StartupServletContextListener
Could not be defined due to: org/apache/myfaces/webapp/StartupServletContextListener (Unsupported major.minor version 49.0)
This is often caused by having a class defined at multiple
locations within the classloader hierarchy. Other potential causes
include compiling against an older or newer version of the class
that has an incompatible method signature.
Dumping the current context classloader hierarchy:
==> indicates defining classloader
==>[0]
com.ibm.ws.classloader.CompoundClassLoader@3d37b6d4
Local ClassPath: C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\classes;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-beanutils-1.7.0.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-codec-1.3.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-collections-3.2.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-digester-1.8.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-discovery-0.4.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\jsf-api.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\jsf-ibm.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\jstl.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\myfaces-api-1.2.0.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\myfaces-impl-1.2.0.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\tomahawk-1.1.6.jar;C:\i81322\ApacheTest\TestProject\WebContent;
Delegation Mode: PARENT_LAST
[1] com.ibm.ws.classloader.ProtectionClassLoader@2b27f6d5
[2] com.ibm.ws.bootstrap.ExtClassLoader@7ef236d6
[3] sun.misc.Launcher$AppClassLoader@7ef876d6
[4] sun.misc.Launcher$ExtClassLoader@7efc76d6
---Original exception---
java.lang.UnsupportedClassVersionError: org/apache/myfaces/webapp/StartupServletContextListener (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:576)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java(Compiled Code))
at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.<init>(JSPExtensionProcessor.java:158)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionFactory.createExtensionProcessor(JSPExtensionFactory.java:96)
at com.ibm.ws.webcontainer.webapp.WebApp.initializeExtensionProcessors(WebApp.java:1068)
at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:363)
at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)
at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)
at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java(Compiled Code))
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java(Compiled Code))
at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java(Compiled Code))
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code))
at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java(Compiled Code))
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Compiled Code))
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code))
at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java(Compiled Code))
at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java(Compiled Code))
at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java(Compiled Code))
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java(Compiled Code))
at com.ibm.ws.management.application.sync.StartDeploymentTask.startDeployment(StartDeploymentTask.java:196)
at com.ibm.ws.management.application.sync.StartDeploymentTask.fullAppUpdate(StartDeploymentTask.java:92)
at com.ibm.ws.management.application.sync.StartDeploymentTask.performTask(StartDeploymentTask.java:81)
at com.ibm.ws.management.application.sync.AppBinaryProcessor$AppBinThread.run(AppBinaryProcessor.java:631)
at com.ibm.ws.management.application.sync.AppBinaryProcessor.postProcess(AppBinaryProcessor.java:408)
at com.ibm.ws.management.application.sync.AppBinaryProcessor._onChangeCompletion(AppBinaryProcessor.java:330)
at com.ibm.ws.management.application.sync.AppBinaryProcessor$2.run(AppBinaryProcessor.java:302)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ws.management.application.sync.AppBinaryProcessor.onChangeCompletion(AppBinaryProcessor.java:296)
at com.ibm.ws.management.repository.FileRepository.postNotify(FileRepository.java:1653)
at com.ibm.ws.management.repository.FileRepository.update(FileRepository.java:1211)
at com.ibm.ws.management.repository.client.LocalConfigRepositoryClient.update(LocalConfigRepositoryClient.java:189)
at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.update(WorkSpaceMasterRepositoryAdapter.java:482)
at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.update(RepositoryContextImpl.java:1730)
at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.synch(RepositoryContextImpl.java:1676)
at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.synch(WorkSpaceImpl.java:455)
at com.ibm.ws.management.application.task.ConfigRepoHelper.removeWorkSpace(ConfigRepoHelper.java:107)
at com.ibm.ws.management.application.RedeploymentManager.doCleanup(RedeploymentManager.java:243)
at com.ibm.ws.management.application.RedeploymentManager.appEventReceived(RedeploymentManager.java:187)
at com.ibm.ws.management.application.RedeploymentManager.handleNotification(RedeploymentManager.java:210)
at com.ibm.ws.management.event.ListenerInfo$1.run(ListenerInfo.java:125)
at com.ibm.ws.security.auth.distContextManagerImpl.runAs(distContextManagerImpl.java:2504)
at com.ibm.ws.security.auth.distContextManagerImpl.runAsSpecified(distContextManagerImpl.java:2398)
at com.ibm.ws.management.event.ListenerInfo.handleNotification(ListenerInfo.java:143)
at com.ibm.ws.management.event.NotificationDispatcher$DispatchANotificationToAListener.run(NotificationDispatcher.java:346)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
--- end Original exception----
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:621)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.clas -
Remote host supports the use of SSL ciphers that offer weak encryption
Dear All,
Our Internal security audit suggests to avoid the use of Week SSL ciphers for our SAP PI 7.0 servers.
We have followed the SAP note 510007 - Setting up SSL on Web Application Server ABAP
as mentioned in the point 6 we have added below parameter in the instance profile of application server and restarted our server but still the issue is not resoved.
ssl/ciphersuites=MEDIUM:HIGH:EXPORT:!LOW:!eNULL
Clients are accessing our PI server through SAP Web dispatcher.
Kindly suggest the action to be taken to resolve the issue.
Please find the below comment from Audit.
The remote host supports the use of SSL ciphers that offer weak encryption.
Note: This is considerably easier to exploit if the attacker is on the same physical network
Regards,
Lalitha.Hi Jim,
The remote host is the PI(7.0) server.
PI server profile
FN_JSTART = jcontrol$(FT_EXE)
ssl/ciphersuites = HIGH:MEDIUM:!mMD5
jstartup/recorder = java -classpath ../j2ee/cluster/bootstrap/launcher.jar com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector ../j2ee/
cluster/bootstrap -node %nodeID% %startTime% -bz $(DIR_GLOBAL) âexitcode %exitcode%
login/accept_sso2_ticket = 1
SAPSYSTEMNAME = APQ
SAPSYSTEM = 00
INSTANCE_NAME = DVEBMGS00
DIR_CT_RUN = $(DIR_EXE_ROOT)/run
DIR_EXECUTABLE = $(DIR_INSTANCE)/exe
jstartup/trimming_properties = off
jstartup/protocol = on
jstartup/vm/home = /opt/IBMJava2-amd64-142
jstartup/max_caches = 500
jstartup/release = 700
jstartup/instance_properties = $(jstartup/j2ee_properties):$(jstartup/sdm_properties)
j2ee/dbdriver = /oracle/client/10x_64/instantclient/ojdbc14.jar
PHYS_MEMSIZE = 512
exe/saposcol = $(DIR_CT_RUN)/saposcol
rdisp/wp_no_dia = 10
rdisp/wp_no_btc = 3
exe/icmbnd = $(DIR_CT_RUN)/icmbnd
rdisp/j2ee_start_control = 1
rdisp/j2ee_start = 1
rdisp/j2ee_libpath = $(DIR_EXECUTABLE)
exe/j2ee = $(DIR_EXECUTABLE)/jcontrol$(FT_EXE)
rdisp/j2ee_timeout = 1800
rdisp/frfc_fallback = on
icm/HTTP/j2ee_0 = PREFIX=/,HOST=localhost,CONN=0-500,PORT=5$$00
icm/server_port_0 = PROT=HTTP,PORT=80$$
# SAP Messaging Service parameters are set in the DEFAULT.PFL
ms/server_port_0 = PROT=HTTP,PORT=81$$
rdisp/wp_no_enq = 1
rdisp/wp_no_vb = 1
rdisp/wp_no_vb2 = 1
rdisp/wp_no_spo = 1
# Jcontrol: Migrated Profile Parameter
# create at Wed Mar 25 20:20:02 2009
j2ee/instance_id = ID0079698
Web dispatcher profile
SAPSYSTEMNAME = WD0
SAPSYSTEM = 00
INSTANCE_NAME = W00
DIR_CT_RUN = $(DIR_EXE_ROOT)/run
DIR_EXECUTABLE = $(DIR_CT_RUN)
wdisp/shm_attach_mode = 6
# Accesssability of Message Server
#rdisp/mshost = asapq00.b.com
#ms/http_port = 8100
#ms/https_port = 8101
wdisp/system_0 = MSHOST=asapq00.b.com, MSPORT=8100, SID=APQ
# Configuration for medium scenario
icm/max_conn = 16350
icm/max_sockets = 32768
wdisp/HTTPS/max_pooled_con = 16350
icm/req_queue_len = 8000
icm/min_threads = 100
icm/max_threads = 500
mpi/total_size_MB = 700
mpi/buffer_size = 32768
mpi/max_pipes = 21000
wdisp/HTTP/max_pooled_con = 8192
wdisp/HTTPS/max_pooled_con = 8192
# SAP Web Dispatcher Ports
icm/server_port_0 = PROT=HTTP,PORT=80,EXTBIND=1
icm/server_port_1 = PROT=ROUTER,PORT=443,EXTBIND=1
#icm/host_name_full= asapq00.b.com
icm/host_name_full= qtyh2h.k.co.in
icm/HTTP/admin_0 = PREFIX=/sap/wdisp/admin,DOCROOT=./admin,AUTHFILE=/sapmnt/WD0/global/security/data/icmauth.txt
ssl/ssl_lib=/usr/sap/WD0/W00/sec/libsapcrypto.so
wdisp/HTTPS/dest_logon_group = PUBLIC
wdisp/HTTPS/max_client_ip_entries = 100000
wdisp/HTTPS/sticky_mask = 255.255.255.0
#Additional Parameters
wdisp/add_client_protocol_header = true
wdisp/auto_refresh = 120
wdisp/max_servers = 100
wdisp/handle_webdisp_ap_header = 1
#Registering SAP Web Dispatcher in the SLD
#wdisp/system_0 = HOST=asapq00.b.com, PORT=8100, SID=APQ, NR=00
#Parameter to avoid week SSL ciphers
ssl/ciphersuites=HIGH:MEDIUM:!mMD5
Regards,
Lalitha -
Using webservices in forms 10g
hi,
i am using webservices in my form. i am doing this by importing java classes and so on as per the webservices documentation. I run this form without any problem through windows. I have the classpath set up with the necessary jar file in default.env and system classpath.
Now I have to put it in the forms server (through AIX) so that the users can start using it. I have put the above form in the necessary directory and set up everthing. The form runs fine but when it comes to the webservices part, it gives me an error which basically means it cannot find the jar file. I haven't put the jar file anywhere in the forms server.
Can somebody please let me know :
1) Where in the forms server should I put the jar file
2) Where do I setup the classpath in the forms server?
Thanks in advance.Hi Jan,
Thanks for your reply. I placed the necessary jar files in ORACLE_HOME/jlib and then set up the classpath in the env file I'm using (not the default.env, i have my own env). But I still get the classpath error after I run the form. Have I place the jar files in the right folder??
Any suggestions?
Thanks -
WebService SSL and Visual Administrator
Hi.
We develop a new DC into web dynpro java, that uses a SSL Webservice do find some information.
The problem is, when we try to use this webservice, we're receiving the following message:
Service call exception; nested exception is:
com.sap.exception.io.SAPIOException: <Localization failed: ResourceBundle='com.sap.exception.io.IOResourceBundle', ID='Could not create SSL socket:java.net.ConnectException Connection timed out: connect', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key Could not create SSL socket:java.net.ConnectException Connection timed out: connect
What can I do?!
Thanks in advance.Hi,
You posted that you are getting message.
'Could not create SSL socket:java.net.ConnectException Connection timed out: connect'
Please check that you have ssl port activated.
Thnaks
Rishi Abrol -
Strip classes actually used in a jar file to create a smaller jar file?
I am creating a applet using java3d and the jar files add up to over 4meg ( j3dcore.jar j3dutils.jar vecmath.jar). Is there a way you can strip out only the classes your applet uses and create a smaller jar file so that the download isn't as big? Currently takes a long while for the applet to start because it downloads the Java 3D library in its entirety.
Most likely those classes that you use also use other classes that you don't use ...
-
Question - applet using JMF for playing .mov
I develop an applet using JMF for playing .mov. It works fine, and the applet starts normally. Even my applet works fine from other computers in our LAN (The applet runs ok without JMF). But only on one PC it doesn't work and I get the following message
Failed to configure: com.sun.media.PlaybackEngine@a7c45e
Bad header in the media: moov atom not present
Error: Unable to realize com.sun.media.PlaybackEngine@a7c45e
FATAL ERROR: Failed to realize: failed to parse the input media.
Exception in thread "JMF thread: SendEventQueue: com.sun.media.content.unknown.Handler" java.lang.Error: Failed to realize: failed to parse the input media.
at PlayerApplet.Fatal(PlayerApplet.java:201)
at PlayerApplet.controllerUpdate(PlayerApplet.java:191)
at com.sun.media.BasicController.dispatchEvent(BasicController.java:1254)
at com.sun.media.SendEventQueue.processEvent(BasicController.java:1286)
at com.sun.media.util.ThreadedEventQueue.dispatchEvents(ThreadedEventQueue.java:65)
at com.sun.media.util.ThreadedEventQueue.run(ThreadedEventQueue.java:92)
My html:
<html>
<head><title>PlayerApplet</title></head>
<body>
<applet code="PlayerApplet.class" archive="fobs4jmf.jar, customizer.jar, jmf.jar, mp3plugin.jar, sound.jar, multiplayer.jar, mediaplayer.jar" width=640 height=510>
<param name=file value="safexmas.mov">
</applet>
</body>
</html>
Anyone can help me?
Thanks for your timeIt started to work but I had to install fobs4jmf on the client computer.
And put .dll to windows/system33 directory. But how can I play video using applet in browser without installing any software on the client machine? -
Netscape cert type does not permit use for SSL server on Weblogic
We have WLS 11g (11.1.1.5 SOA) on UNIX and we are trying to connect secured service (Using client certificate along with UserName and Password for Authentication ). I was able to test it using SOAP UI.
But when I am testing the webservice I am facing listed error
java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): https://abcd:1111/JWSs/V1/TermsWS at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at
and domain log shows that
Caused By: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: Netscape cert type does not permit use for SSL server
Please help me to resolve listed issue.
Can I use Netscape client certificate on WLS?
Do I need to take any extra care while working with client cert?
I appreciate your help.Netscape cert type does not permit use for SSL clientTry using another certificate. Your certificate can't be used as a web browser client certificate.
Maybe you are looking for
-
What are the minimum requirements to successfully Synchronize a SharePoint 2010 Calendar or Task List with Outlook 2010? SharePoint permission levels required for the user profile? Does the user need top level permissions on the SharePoint site? What
-
Export data from SAP R/3 to Xcelsius
Dear Experts Im new to Xcelsius, my requirement is to pass a data from sap r/3 database table to Xcelsius, Is it possible to do this? Thanks & Regards Arun.P
-
Account 12221001 requires trading partner to be filled
Hi The user had some old documents and he is trying to clear them. During clearing he is facing an error "Account 12221001 requires trading partner to be filled" Trading partner field is blank in the reconciliation account 12221001 and also customer
-
How can I import sharp photos from Galaxy s5 Smartphone to Photoshop?
When I open photographs in Photoshop CS3, they are not sharp as the photographs taken by the Galaxy phone. Should I update to CS4 or do I need to buy CS5 to reproduce these sharp phone images? I don't want a monthly subscription. Any advice?
-
Workflow process definition for iLearning
All, we're currently investigating how to hook into iLearning to put "notifications" into an "outbox" db table. This is for integrating with an SMS system. We've read the documentation that spesifies which notifications are available from iLearning (