Error while trying to run a secure web proxy client
Hi,
I was able to generate a secure proxy client using JDev10.1.3 and I'm able to open the jks file using the keytool gui client. The jks file does not appear to be corrupt or tampered with in anyway. However, when I try to run the secure proxy client, I'm getting the following error:
Nov 28, 2006 12:42:57 PM oracle.security.jazn.util.KeyStoreUtil loadKeystore
SEVERE: Error reading keystore data
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:768)
at java.security.KeyStore.load(KeyStore.java:1150)
at oracle.security.jazn.util.KeyStoreUtil.loadKeystore(KeyStoreUtil.java:260)
at oracle.security.wss.config.ConfigVisitor.validateKeyStore(ConfigVisitor.java:225)
at oracle.security.wss.config.ConfigVisitor.visitPortConfig(ConfigVisitor.java:116)
at oracle.security.wss.interceptors.SecurityPortDescriptor.validate(SecurityPortDescriptor.java:182)
at oracle.security.wss.interceptors.SecurityPortDescriptor.configure(SecurityPortDescriptor.java:156)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPortRuntime.reconfigure(ClientInterceptorPortRuntime.java:57)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPortRuntime.<init>(ClientInterceptorPortRuntime.java:34)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorRuntime.createInterceptorPort(ClientInterceptorRuntime.java:155)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.setupPort(InterceptorContainerImpl.java:80)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.handlePortChange(InterceptorContainerImpl.java:165)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.handleChange(InterceptorContainerImpl.java:254)
at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorConfig.notifyConfigListeners(AbstractInterceptorConfig.java:47)
at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorConfig.notifyConfigListeners(AbstractInterceptorConfig.java:54)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorConfig.parsePortElement(ClientInterceptorConfig.java:88)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorConfig.load(ClientInterceptorConfig.java:56)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.initializeContainer(InterceptorContainerImpl.java:41)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPipeline.init(ClientInterceptorPipeline.java:76)
at oracle.j2ee.ws.client.StubBase.setupInterceptor(StubBase.java:333)
at oracle.j2ee.ws.client.StubBase.setupConfig(StubBase.java:300)
at sevissecuredirectclientv2.proxy.runtime.SevisServiceSoapBinding_Stub.<init>(SevisServiceSoapBinding_Stub.java:47)
at sevissecuredirectclientv2.proxy.runtime.ValidatingSevisServiceProxyService_Impl.getSevisService(ValidatingSevisServiceProxyService_Impl.java:60)
at sevissecuredirectclientv2.proxy.SevisServiceClient.<init>(SevisServiceClient.java:18)
at sevissecuredirectclientv2.proxy.SevisServiceClient.main(SevisServiceClient.java:26)
SEVERE: Invalid port config oracle.security.wss.config.SecurityPortImpl@1d10a5c
java.lang.RuntimeException: Invalid port config : Error reading keystore data
at oracle.security.wss.interceptors.SecurityPortDescriptor.configure(SecurityPortDescriptor.java:159)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPortRuntime.reconfigure(ClientInterceptorPortRuntime.java:57)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPortRuntime.<init>(ClientInterceptorPortRuntime.java:34)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorRuntime.createInterceptorPort(ClientInterceptorRuntime.java:155)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.setupPort(InterceptorContainerImpl.java:80)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.handlePortChange(InterceptorContainerImpl.java:165)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.handleChange(InterceptorContainerImpl.java:254)
at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorConfig.notifyConfigListeners(AbstractInterceptorConfig.java:47)
at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorConfig.notifyConfigListeners(AbstractInterceptorConfig.java:54)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorConfig.parsePortElement(ClientInterceptorConfig.java:88)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorConfig.load(ClientInterceptorConfig.java:56)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.initializeContainer(InterceptorContainerImpl.java:41)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPipeline.init(ClientInterceptorPipeline.java:76)
at oracle.j2ee.ws.client.StubBase.setupInterceptor(StubBase.java:333)
at oracle.j2ee.ws.client.StubBase.setupConfig(StubBase.java:300)
at sevissecuredirectclientv2.proxy.runtime.SevisServiceSoapBinding_Stub.<init>(SevisServiceSoapBinding_Stub.java:47)
at sevissecuredirectclientv2.proxy.runtime.ValidatingSevisServiceProxyService_Impl.getSevisService(ValidatingSevisServiceProxyService_Impl.java:60)
at sevissecuredirectclientv2.proxy.SevisServiceClient.<init>(SevisServiceClient.java:18)
at sevissecuredirectclientv2.proxy.SevisServiceClient.main(SevisServiceClient.java:26)
SEVERE: Error reading keystore data
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:768)
at java.security.KeyStore.load(KeyStore.java:1150)
at oracle.security.jazn.util.KeyStoreUtil.loadKeystore(KeyStoreUtil.java:260)
at oracle.security.wss.config.ConfigVisitor.validateKeyStore(ConfigVisitor.java:225)
at oracle.security.wss.config.ConfigVisitor.visitPortConfig(ConfigVisitor.java:116)
at oracle.security.wss.interceptors.SecurityPortDescriptor.validate(SecurityPortDescriptor.java:182)
at oracle.security.wss.interceptors.SecurityPortDescriptor.configure(SecurityPortDescriptor.java:149)
at oracle.security.wss.interceptors.AbstractSecurityInterceptor.init(AbstractSecurityInterceptor.java:86)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.createInterceptor(InterceptorChainImpl.java:82)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.<init>(InterceptorChainImpl.java:46)
at oracle.j2ee.ws.client.mgmt.runtime.ClientPortRuntime.getInterceptorChain(ClientPortRuntime.java:146)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPipeline.init(ClientInterceptorPipeline.java:79)
at oracle.j2ee.ws.client.StubBase.setupInterceptor(StubBase.java:333)
at oracle.j2ee.ws.client.StubBase.setupConfig(StubBase.java:300)
at sevissecuredirectclientv2.proxy.runtime.SevisServiceSoapBinding_Stub.<init>(SevisServiceSoapBinding_Stub.java:47)
at sevissecuredirectclientv2.proxy.runtime.ValidatingSevisServiceProxyService_Impl.getSevisService(ValidatingSevisServiceProxyService_Impl.java:60)
at sevissecuredirectclientv2.proxy.SevisServiceClient.<init>(SevisServiceClient.java:18)
at sevissecuredirectclientv2.proxy.SevisServiceClient.main(SevisServiceClient.java:26)
SEVERE: Invalid port config oracle.security.wss.config.SecurityPortImpl@1d10a5c
java.lang.RuntimeException: Invalid port config : Error reading keystore data
at oracle.security.wss.interceptors.SecurityPortDescriptor.configure(SecurityPortDescriptor.java:159)
at oracle.security.wss.interceptors.AbstractSecurityInterceptor.init(AbstractSecurityInterceptor.java:86)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.createInterceptor(InterceptorChainImpl.java:82)
at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.<init>(InterceptorChainImpl.java:46)
at oracle.j2ee.ws.client.mgmt.runtime.ClientPortRuntime.getInterceptorChain(ClientPortRuntime.java:146)
at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPipeline.init(ClientInterceptorPipeline.java:79)
at oracle.j2ee.ws.client.StubBase.setupInterceptor(StubBase.java:333)
at oracle.j2ee.ws.client.StubBase.setupConfig(StubBase.java:300)
at sevissecuredirectclientv2.proxy.runtime.SevisServiceSoapBinding_Stub.<init>(SevisServiceSoapBinding_Stub.java:47)
at sevissecuredirectclientv2.proxy.runtime.ValidatingSevisServiceProxyService_Impl.getSevisService(ValidatingSevisServiceProxyService_Impl.java:60)
at sevissecuredirectclientv2.proxy.SevisServiceClient.<init>(SevisServiceClient.java:18)
at sevissecuredirectclientv2.proxy.SevisServiceClient.main(SevisServiceClient.java:26)
Process exited with exit code 0.
I'm using X509 to authentic.
Please help.
Thanks in advance for your quick response.
Regards,
David R
I am using a single self signed certificate created using keytool on both the client and server end.
Tried this sample code to fetch the WSDL of my webservice. Successfully did this.
===========================================================
import HTTPClient.HTTPConnection;
import HTTPClient.HTTPResponse;
import javax.security.cert.X509Certificate;
import oracle.security.ssl.OracleSSLCredential;
import java.io.IOException;
import javax.net.ssl.SSLPeerUnverifiedException;
import javax.net.ssl.SSLSession;
public class SSLSocketClientWithClientAuth {
public static void main(String[] args) {
if (args.length < 4) {
System.out.println("Usage: java HTTPSConnectionTest [host] [port] " +
"[wallet] [password]");
System.exit(-1);
String hostname = args[0].toLowerCase();
int port = Integer.decode(args[1]).intValue();
String walletPath = args[2];
String password = args[3];
HTTPConnection httpsConnection = null;
OracleSSLCredential credential = null;
try {
httpsConnection = new HTTPConnection("https", hostname, port);
} catch (IOException e) {
System.out.println("HTTPS Protocol not supported");
System.exit(-1);
try {
credential = new OracleSSLCredential();
credential.setWallet(walletPath, password);
} catch (IOException e) {
System.out.println("Could not open wallet");
System.exit(-1);
httpsConnection.setSSLEnabledCipherSuites(new String[]{"SSL_RSA_WITH_RC4_128_SHA","SSL_RSA_WITH_3DES_EDE_CBC_SHA","SSL_RSA_WITH_RC4_128_MD5","SSL_RSA_WITH_DES_CBC_SHA","SSL_DH_anon_WITH_3DES_EDE_CBC_SHA"});
// httpsConnection.setSSLCredential(credential);
System.out.println("Set credentials and cipher suite");
try {
httpsConnection.connect();
System.out.println("Connected!!!!!");
} catch (IOException e) {
System.out.println("Could not establish connection");
e.printStackTrace();
System.exit(-1);
//javax.servlet.request.
X509Certificate[] peerCerts = null;
/* try {
SSLSession sslSession = httpsConnection.getSSLSession();
System.out.println("Getting session.........");
httpsConnection.connect();
}catch(Exception e){
e.printStackTrace();
System.out.println("null Getting session.........");
System.exit(-1);
try{
peerCerts =
(httpsConnection.getSSLSession()).getPeerCertificateChain();
} catch (javax.net.ssl.SSLPeerUnverifiedException e) {
System.err.println("Unable to obtain peer credentials");
e.printStackTrace();
System.exit(-1);
String peerCertDN =
peerCerts[peerCerts.length - 1].getSubjectDN().getName();
peerCertDN = peerCertDN.toLowerCase();
if (peerCertDN.lastIndexOf("cn=" + hostname) == -1) {
System.out.println("Certificate for " + hostname +
" is issued to " + peerCertDN);
System.out.println("Aborting connection");
System.exit(-1);
try {
HTTPResponse rsp = httpsConnection.Get("/spmlws/HttpSoap11?wsdl");
System.out.println("Server Response: ");
System.out.println(rsp.getText());
System.out.println("Server Response: ");
System.out.println(rsp.getText());
} catch (Exception e) {
System.out.println("Exception occured during Get");
e.printStackTrace();
System.exit(-1);
=====================================================
But on using the client proxy generated for my webserice using JDeveloper and then setting the system properties such as
System.setProperty("javax.net.ssl.keyStore",keyStore);
System.setProperty("javax.net.ssl.keyStorePassword", keyStorePassword);
System.setProperty("javax.net.ssl.trustStore", trustStore);
System.setProperty("javax.net.ssl.trustStorePassword",trustStorePassword);
System.setProperty("javax.net.ssl.keyStoreType","JKS");
System.setProperty("javax.net.ssl.trustStoreType","JKS");
I get the following exception:
<MSG_TEXT>IOException in ServerSocketAcceptHandler$AcceptHandlerHorse:run</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[javax.net.ssl.SSLProtocolException: handshake alert: no_certificate
at com.sun.net.ssl.internal.ssl.ServerHandshaker.handshakeAlert(ServerHandshaker.java:1031)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1535)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038)
at oracle.oc4j.network.ServerSocketAcceptHandler.doSSLHandShaking(ServerSocketAcceptHandler.java:250)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:868)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
]]></SUPPL_DETAIL>
Please if anybody can help me with this!!!!
Thanks in advance
Nilesh
Similar Messages
-
Tomcat error while trying to run the servlet
I am etting the below error while trying to run a servlet from tomcat server.
HTTP Status 404 - /servlet/DailyStatusServlet
type Status report
message /servlet/DailyStatusServlet
description The requested resource (/servlet/DailyStatusServlet) is not available.
Can anyone help me in solving this error.rnaaz wrote:
Can anyone help me in solving this error.Start by making sure you've properly mapped that URL in your deployment descriptor (web.xml file).
~ -
VS 2010 error: 'Error while trying to run project: Not implemented'
I added a new Oracle database project using Oracle Tools for Visual Studio 2010. Once the Oracle database project is added to my Solution, my Visual Studio is no longer able to start the debugger and at times not able to run Test Cases. It error with 'Error while trying to run project: Not implemented'. If I unload the project, VS starts working fine.
Any idea on how to resolve this issue?I ran into this problem as well, working in a VS2010 solution which included an ASP.NET web project and the v11.2.0.2.1 ODT version of the Oracle project.
Turns out that I was able to solve the problem by removing the Oracle project from the solution, and then adding it back in. From a SLN file point of view, it seems that as long as the Oracle SQL project is located after the Web Application Project that everything works fine.
Note that the SLN file is not organized by alphabetical project name, so changing the name of the SQL project doesn't help; its organized by order of project addition to the solution, so removing and re-adding is the way to go. -
'Error while trying to run project: Not implemented'
I added a new Oracle database project using Oracle Tools for Visual Studio 2010. Once the database project is added, my Visual Studio is no longer able to start the debugger. It error with 'Error while trying to run project: Not implemented'. If I unload the project, VS starts working fine.
Any idea on how to resolve this issue?I ran into this problem as well, working in a VS2010 solution which included an ASP.NET web project and the v11.2.0.2.1 ODT version of the Oracle project.
Turns out that I was able to solve the problem by removing the Oracle project from the solution, and then adding it back in. From a SLN file point of view, it seems that as long as the Oracle SQL project is located after the Web Application Project that everything works fine.
Note that the SLN file is not organized by alphabetical project name, so changing the name of the SQL project doesn't help; its organized by order of project addition to the solution, so removing and re-adding is the way to go. -
Error while trying to run reports
Hello,
I am getting the following error while trying to run/launch AIX based Ora. Apps 11.5.10.2
$ rwbld60
Error: Object "" does not have windowed ancestor
Does anyone know what could be causing this?
Thanks,
ChiruHi chiru,
it seems to be some environment problem ????Hey Mitra,
Thank you for the reply.
It definitely is an environment related issue(that is what I am trying to find out)
This is occuring in our DEV environment. It works fine in TEST and PROD.
More than likely it is due to low resources in the DEV...but I figured some one would have seen it before....and would answer my question with a definite answer.
Thanks,
Chiru -
Error While trying to run a servlet
I am getting the below error while trying to run a servlet using tomcat.In this admin is a directory where I have a html file called admin.html which calls the servlet AdminServlet & replaces the url by /servlet/AdminServlet.
HTTP Status 404 - /SPOT/admin/servlet/AdminServlet
type Status report
message /SPOT/admin/servlet/AdminServlet
description The requested resource (/SPOT/admin/servlet/AdminServlet) is not available.
For more details I am also copying the code from the admin.html file below.
<script language=JavaScript>
document.location.replace('../servlet/AdminServlet');
</script>JavaScript != javareplace or redirect ??
-
i try run VS 2012 with /SafeMode. I create new empty Winform. When I start debug, I got:
"error while trying to run project uncaught exception thrown by method called through reflection"Hi Matanya Zac,
Did you restart your machine? How about installing the VS2012 update 4?
>>error while trying to run project uncaught exception thrown by method
Did you install the VS update in your VS IDE? I met this issue before which was related to the VS update:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/5ead8ee9-ea09-4060-88b0-ee2e2044ff82/error-while-trying-to-run-a-project-uncaught-exception-thrown-by-method-called-through-reflection?forum=vsdebug
If still no help, I suggest you repair your VS, and then restart your machine, test the result.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Error when trying to access a secured web service from Forms 10g 10.1.2.3
Hello,
I'm trying to access a secured web service from Forms10g 10.1.2.3 but i'm getting the next error when pressing the button the first time:
java.rmi.RemoteException: ; nested exception is: HTTP transport error: javax.xml.soap.SOAPException:
java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 401 UnauthorizeWhen i press the button a second time i got this error:
javax.xml.rpc.soap.SOAPFaultException: The SOAP request is invalid. The required node 'Envelope' is missingThis is the code i have in my button:
DECLARE
jo ora_java.jobject;
pdfObject ora_java.jobject;
pdf varchar2(900);
rv varchar2(100);
ex ora_java.jobject;
BEGIN
JO := SEARCHSOAPCLIENT.new;
SEARCHSOAPCLIENT.setUsername(JO,'weblogic');
SEARCHSOAPCLIENT.setPassword(JO,'welcome1');
pdfObject := SEARCHSOAPCLIENT.quicksearch(JO,'1234',NULL);
pdf := SEARCHSOAPCLIENT.tostring(pdfObject);
message(pdf);
message(' ');
EXCEPTION
WHEN ORA_JAVA.JAVA_ERROR then
message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
WHEN ORA_JAVA.EXCEPTION_THROWN then
ex := ORA_JAVA.LAST_EXCEPTION;
:error := Exception_.toString(ex);
END;When i run it from JDeveloper it works, this is a portion of java code the proxy web service has:
import oracle.webservices.transport.ClientTransport;
import oracle.webservices.OracleStub;
import javax.xml.rpc.ServiceFactory;
import javax.xml.rpc.Stub;
public class SearchSoapClient {
private webservicesproxywebcontent.proxy.SearchSoap _port;
public SearchSoapClient() throws Exception {
ServiceFactory factory = ServiceFactory.newInstance();
_port = ((webservicesproxywebcontent.proxy.Search)factory.loadService(webservicesproxywebcontent.proxy.Search.class)).getSearchSoap();
this.setUsername("weblogic");
this.setPassword("welcome1");
System.out.println("callling from _port "+ _port.quickSearch("1234234", null));
* @param args
public static void main(String[] args) {
try {
webservicesproxywebcontent.proxy.SearchSoapClient myPort = new webservicesproxywebcontent.proxy.SearchSoapClient();
System.out.println("calling " + myPort.getEndpoint());
} catch (Exception ex) {
ex.printStackTrace();
* delegate all operations to the underlying implementation class.
public QuickSearchResult quickSearch(String queryText, IdcPropertyList extraProps) throws java.rmi.RemoteException {
return _port.quickSearch(queryText, extraProps);
}Also the secured web service was generated from Webcenter Content 11.1.1.6 that is why it's a secured web service.
Kind Regards
CarlosWithout going into any technical discussion about the code, my first question is what JDK version was used to create this which was imported into the form? Understand that Forms 10 runs on JDK 1.4.2, so if you used any newer JDK version, likely there will be problems.
-
Error While trying to Run load test on OATS using Command prompt
Getting the below error message while trying to execute command line to start OATS load test.
log4j:WARN No appenders could be found for logger (oracle.oats.server.jndi.JndiL
ookup).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more in
fo.
Error initializing controller connection to t3://rws21410019.us.oracle.com:8088/
weblogic\n\n(message id=ctl.initError)
oracle.oats.client.controller.ControllerException: Error initializing controller
connection to t3://rws21410019.us.oracle.com:8088/weblogic\n\n(message id=ctl.i
nitError)
at oracle.oats.app.controller.client.ControllerClient.initController(Con
trollerClient.java:268)
at oracle.oats.app.controller.client.ControllerSyncedClient.<init>(Contr
ollerSyncedClient.java:137)
at oracle.oats.app.controller.client.OltCommandLine.<init>(OltCommandLin
e.java:43)
at oracle.oats.client.CommandLine.initController(CommandLine.java:748)
at oracle.oats.client.CommandLine.run(CommandLine.java:179)
at oracle.oats.client.CommandLine.main(CommandLine.java:61)
Caused by: javax.naming.AuthenticationException [Root exception is java.lang.Sec
urityException: User: weblogic, failed to be authenticated.]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(Exceptio
nTranslator.java:42)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLIni
tialContextFactoryDelegate.java:788)
at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialCo
ntextFactoryDelegate.java:682)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialCon
textFactoryDelegate.java:469)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
tialContextFactoryDelegate.java:376)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
extFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at oracle.oats.server.jndi.JndiLookup.createInitialContextInternal(Unkno
wn Source)
at oracle.oats.server.jndi.JndiLookup.createInitialContext(Unknown Sourc
e)
at oracle.oats.server.jndi.JndiLookup.createInitialContext(Unknown Sourc
e)
at oracle.oats.app.session.SessionClient.initSession(SessionClient.java:
104)
at oracle.oats.app.controller.client.ControllerClient.initController(Con
trollerClient.java:262)
... 5 more
Caused by: java.lang.SecurityException: User: weblogic, failed to be authenticat
ed.
at weblogic.common.internal.RMIBootServiceImpl.authenticate(RMIBootServi
ceImpl.java:116)
at weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke(Unknown Sou
rce)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.jav
a:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Please make sure the OLT server is running!
ThanksThis issue was resolved after changing the user name to "oats" this is the user name of weblogic server and not the OATS console.
-
Unknown error while trying to build and test web service
Hi,
I get this error while building my web service.It says "An unexpected exception
occurred while attempting to process the classes and annotations for this Web Service.
Error: Unknown KNEX string: description.null"
Pasted below is the output on the IDE and the server.
Please help!!
Workshop output
Charges.jws 0 An unexpected exception occurred while attempting to process the classes
and annotations for this Web Service. Error: Unknown KNEX string: description.null
Server output
java.lang.NullPointerException
at java.lang.Class.isAssignableFrom(Native Method)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.getElemRef(WsdlTypeBagImpl.java:928)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.crackClass(WsdlTypeBagImpl.java:386)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.addType(WsdlTypeBagImpl.java:522)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.filter(WsdlTypeBagImpl.java:606)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.getElemRef(WsdlTypeBagImpl.java:940)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.addParamHolder(WsdlTypeBagImpl.java:121)
at weblogic.knex.wsdlgen.Schemas.addPartHolder(Schemas.java:45)
at weblogic.knex.wsdlgen.TypeXlatorImpl.createMessage(TypeXlatorImpl.java:221)
at weblogic.knex.wsdlgen.TypeXlatorImpl.fromJavaOp(TypeXlatorImpl.java:721)
at weblogic.knex.wsdlgen.TypeXlatorImpl.fromJavaService(TypeXlatorImpl.java:831)
at weblogic.knex.dispatcher.TypeUtils.makeWsdlService(TypeUtils.java:1388)
at weblogic.knex.dispatcher.TypeUtils.makeWsdl(TypeUtils.java:1459)
at weblogic.knex.dispatcher.DispFile.makeDispClass(DispFile.java:2528)
at weblogic.knex.dispatcher.DispFile.makeDispFile(DispFile.java:611)
at weblogic.knex.dispatcher.DispUnit.makeDispUnit(DispUnit.java:50)
at weblogic.knex.dispatcher.DispCache.ensureDispUnit(DispCache.java:584)
at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:297)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5352)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:718)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet
(WebAppServletContext.java:3032)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
Thanks and Regards,
SSNHello,
You might try asking your question to the WebLogic Workshop news group: weblogic.developer.interest.70beta.workshop
Thanks,
Bruce
SSNarayan wrote:
Hi,
I get this error while building my web service.It says "An unexpected exception
occurred while attempting to process the classes and annotations for this Web Service.
Error: Unknown KNEX string: description.null"
Pasted below is the output on the IDE and the server.
Please help!!
Workshop output
Charges.jws 0 An unexpected exception occurred while attempting to process the classes
and annotations for this Web Service. Error: Unknown KNEX string: description.null
Server output
java.lang.NullPointerException
at java.lang.Class.isAssignableFrom(Native Method)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.getElemRef(WsdlTypeBagImpl.java:928)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.crackClass(WsdlTypeBagImpl.java:386)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.addType(WsdlTypeBagImpl.java:522)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.filter(WsdlTypeBagImpl.java:606)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.getElemRef(WsdlTypeBagImpl.java:940)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.addParamHolder(WsdlTypeBagImpl.java:121)
at weblogic.knex.wsdlgen.Schemas.addPartHolder(Schemas.java:45)
at weblogic.knex.wsdlgen.TypeXlatorImpl.createMessage(TypeXlatorImpl.java:221)
at weblogic.knex.wsdlgen.TypeXlatorImpl.fromJavaOp(TypeXlatorImpl.java:721)
at weblogic.knex.wsdlgen.TypeXlatorImpl.fromJavaService(TypeXlatorImpl.java:831)
at weblogic.knex.dispatcher.TypeUtils.makeWsdlService(TypeUtils.java:1388)
at weblogic.knex.dispatcher.TypeUtils.makeWsdl(TypeUtils.java:1459)
at weblogic.knex.dispatcher.DispFile.makeDispClass(DispFile.java:2528)
at weblogic.knex.dispatcher.DispFile.makeDispFile(DispFile.java:611)
at weblogic.knex.dispatcher.DispUnit.makeDispUnit(DispUnit.java:50)
at weblogic.knex.dispatcher.DispCache.ensureDispUnit(DispCache.java:584)
at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:297)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5352)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:718)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet
(WebAppServletContext.java:3032)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
Thanks and Regards,
SSN -
Java Exception Error while trying to run Webutil demo
I am trying to run a webutil demo but failing due to the following error... the error is as
Oracle JInitiator: Version 1.3.1.9
Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Aruns
Proxy Configuration: Manual Configuration
Proxy: proxy1.emirates.net.ae:8080
Proxy Overrides: <local>
JAR cache enabled
Location: C:\Documents and Settings\Aruns\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://hpc266:8888/forms90/java/f90all_jinit.jar from JAR cache
Loading http://hpc266:8888/forms90/java/webutil.jar from JAR cache
Loading http://hpc266:8888/forms90/java/jacob.jar from JAR cache
connectMode=HTTP, native.
Forms Applet version is : 90270
java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.util.PropertyPermission java.home read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at oracle.forms.webutil.common.VBeanCommon.<clinit>(VBeanCommon.java:130)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Please help me to go forwardWhat is the error message, this looks like normal informational messages
I have signed it sucessfully..Now i am getting the
following in the java console
Oracle JInitiator: Version 1.3.1.9
Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
User home directory = C:\Documents and
Settings\Aruns
Proxy Configuration: Manual Configuration
Proxy: proxy1.emirates.net.ae:8080
Proxy Overrides: 172.16.*,<local>
JAR cache enabled
Location: C:\Documents and Settings\Aruns\Oracle
racle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading
http://hpc266:8888/forms90/java/f90all_jinit.jar from
JAR cache
Cached copy of
http://hpc266:8888/forms90/java/webutil.jar is out of
date
Cached copy: Jul 4, 2005 8:50:04 AM
Server copy: Jul 4, 2005 8:52:15 AM
Downloading
http://hpc266:8888/forms90/java/webutil.jar to JAR
cache
Cached copy of
http://hpc266:8888/forms90/java/jacob.jar is out of
date
Cached copy: Jul 4, 2005 8:50:16 AM
Server copy: Jul 4, 2005 8:51:59 AM
Downloading http://hpc266:8888/forms90/java/jacob.jar
to JAR cache
connectMode=HTTP, native.
Forms Applet version is : 90270
Can anybody pls help me in this issue -
"Page not found" error while trying to run a page
Hello all,
I tried to run a page in JDeveloper(9.0.6.6_606) and after the browser page pops up, it is displaying "HTTP 404 : Page not found" error.
Please find the log below:
C:\jdevbin\jdk\bin\javaw.exe -ojvm -classpath C:\jdevbin\j2ee\home\oc4j.jar -mx256m -Dhttp.proxyHost=proxy -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=10.200.152.236|localhost -Xverify:none com.evermind.server.OC4JServer -config C:\jdevhome\jdev\system9.0.3.1.1107\oc4j-config\server.xml
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
[waiting for the server to complete its initialization...]
Embedded OC4J startup time: 7047 ms.
Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
Embedded OC4J startup time: 16 ms.
Target URL -- http://10.200.152.236:8988/OA_HTML/runregion.jsp?page=%2Foracle%2Fapps%2Fpos%2Faccount%2Fwebui%2FNonPoInvCreatePG&akAppShortName=POS&akDbcFile=FIN1DEV2&akDevMode=1&akDiag=1&akPassword=pwd4dev2&akRespKey=ISUPPLIER_PORTAL_RESP&akUsername=dpsdx48&JRAD_XML_PATH=C%3A%5Cjdevhome%5Cjdev%5Cmyclasses%5CJRADXML%5C&JRADStartTime=1152606872484
ApplicationServer: appName = bc4j
ApplicationServer: appName = current-workspace-app
ApplicationServer: appName = soap
Error creating the ORB :
Starting an OA Core session ...
ICX DIAGNOSTIC: application_id = 177
ICX DIAGNOSTIC: responsibility_id = 23075
ICX DIAGNOSTIC: security_group_id = 0
ICX DIAGNOSTIC: APPS Web agent = http://app-fin1dev2.albertsons.com:15160/pls/FIN1DEV2/
FIN1DEV2=C384A6C2A84C8E63FAA51365BA91681A;path=/;domain=.albertsons.com
ICX DIAGNOSTIC: mCookieHeader = FIN1DEV2=C384A6C2A84C8E63FAA51365BA91681A;path=/;domain=.albertsons.com
ICX_DIAGNOSTIC: mEncryptedSessionID = C384A6C2A84C8E63FAA51365BA91681A
ICX_DIAGNOSTIC: mSessionID = 687703439
TIME: runregion.sessionBean.createSession [87296 ms]
ICX_DIAGNOSTIC: mTransactionID = 78453
ICX_DIAGNOSTIC: encryptedTransactionID = C974A13EBB894B23
TIME: runregion.sessionBean.createTransaction [9672 ms]
TIME: runregion.rest [0 ms]
Is there anything you think I am missing in the configurations?
Kindly help.I am also using OA Framework Jdeveloper....for ADF BC development.. Please find the log below:-
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config>
E:\jdeveloper\jdevbin\jdk\bin\javaw.exe -client -classpath E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar;E:\jdeveloper\jdevbin\jdev\lib\jdev-oc4j-embedded.jar
-Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true
-Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config
E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
Oct 18, 2007 11:56:47 AM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
Oct 18, 2007 11:56:47 AM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
WARNING: Code-source E:\jdeveloper\jdevbin\jdev\appslibrt\xml.jar (from <library> in
/E:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to
/E:/jdeveloper/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it
contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source E:\jdeveloper\jdevbin\jdev\appslibrt\jazn.jar (from <library> in
/E:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to
/E:/jdeveloper/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different
versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source E:\jdeveloper\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /E:/jdeveloper/jdevbin/jdev/appslibrt/jazn.jar) has the same
filename but is not identical to /E:/jdeveloper/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in
E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the
search path of loader default.root:0.0.0.
WARNING: Code-source E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from
WEB-INF/lib/ directory in E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same
filename but is not identical to /E:/jdeveloper/jdevbin/jdev/appslibrt/uix2.jar (from <library> in
/E:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it
will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 19594 ms.
Target URL--- http://hydhtcl33997.ad.infosys.com:8988/SRTutorialADFBC-UserInterface-context-root/faces/app/SRList.jspx
07/10/18 11:56:56 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized -
Error while trying to run the Crystal Report ADD ON on SAP 8.8 Patch 12
Hello Expert,
I have installed Crystal addon version 2.0.07 on SAP 8.8 P12.While trying to start the crystal addon I am getting the following error.
"External connection to DB Failed.Please re-run the account setup with super user login."
regards,
pankajkHi Gordon,
I am unable to see the crystal manager in the menu after the installation of SAP 8.8.Only at the Tool there is Preview for th external crystal report.How to visualize the cyrstal report manager in SAP 8.8.
regards,
pankajk -
I am getting stack overflow error. While trying to bring expense creation screen on windows 8.
I trying couple of settings in eclipse.ini file to increase the size but nothing helped. Can someone please advice?
Below is eclipse.ini file
-showsplash
fuego.eclipse.studio
--launcher.XXMaxPermSize
--256m
-vmargs
-Xms600m
-Xmx600m
-Xss500m
-Dfuego.fstudio=true
-DprodMode=preProduction
-Dbea.home=C:\OraBPMStudioHome\..
-Djava.endorsed.dirs=""
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dfuego.studio.engine.java.options=-Dsun.lang.ClassLoader.allowArraySyntax=true
-XX:PermSize=512M
-XX:MaxPermSize=1024M
-Xbootclasspath/a:C:\OraBPMStudioHome\eclipse\jre\lib\ext\tools.jarIt looks like you are trying to run OSX on a Windows PC with VMware Workstation...
This is NOT supported by VMware and doing so will break Apples EULA, you need Apple hardware to run OSX.
No one here will be able to help you and you should investigate other legal and supported alternatives.
// Linjo -
Error while trying to run Bex Query -------- Field symbol is not assigned.
Hello Every body,
I am facing the following error after giving some value in Selection screen and trying to run the Bex Query
ERROR : Field symbol is not assigned.
Thanks in advance,
Praveencan u plz give details of variables, what it is build on and the value u r inputing,
also is thr any dump.
double click on the error message it shows u. it will give u the detailed error message. post that too
Maybe you are looking for
-
Setting Logical component for Test Case.
Hello, I've created test case in SOLAR02 and I want to link my test case to Quality Assurance in my logical component (SAP ECC).How can i set this link? Now the test cases are link to Developement system in SAP ECC. Please tell me how ca
-
I am trying to start my computer and it is coming up with a blank screen.what do i do?
I am trying to start my7 computer and it is coming up witha blank white screen. Although when i start it the sound is working. What should i do?
-
Line of White blocks in screen (iPhone 5)
Since a few weeks my iPhone 5 is showing a line of White 'blocks' on the top edge of the screen (over status bar). The effect sometimes disappears after the phone has been in standby, only to re-appear after using an App. I have tried: - complete swi
-
I need some help ASAP!!! I have charges from itunes via in-app purchases that are almost all same amounts but different times. i can not get anyone from apple to respond to me. After i did the whole quick lane via online it said chat later. On emal t
-
Date field positions vertically and overlaps other report items
I have a date field on my reports and they are positioned on the right of the report canvas where they have enough cusion space. Somehow they[label and the date itself] are coming appearing on multiple lines..one below the other instead of appearing