SpacesWebService proxy security failure when deployed in weblogic server

Hi all,
I plan to use the SPacesWebservice by creating a webservices proxy. A proxy client was created and I passed on appropriate security information.
public static void main(String[] args) {
try {
spacesWebService_Service = new SpacesWebService_Service();
SpacesWebService spacesWebService = spacesWebService_Service.getSpacesWebServiceSoapHttpPort();
Map<String, Object> requestContext = ((BindingProvider) spacesWebService).getRequestContext();
setPortCredentialProviderList(requestContext);
System.out.println(spacesWebService.getGroupSpaces(null));
// Add your code to call the desired methods.
} catch (Exception ex) {
ex.printStackTrace();
@Generated("Oracle JDeveloper")
public static void setPortCredentialProviderList(Map<String, Object> requestContext) throws Exception {
// TODO - Provide the required values
String username = "weblogic";
String password = "weblogic1";
String clientKeyStore = "C:\\default-keystore.jks";
String clientKeyStorePassword = "weblogic1";
String clientKeyAlias = "orakey";
String clientKeyPassword = "weblogic1";
String serverKeyStore = "C:\\default-keystore.jks";
String serverKeyStorePassword = "weblogic1";
String serverKeyAlias = "orakey";
List<CredentialProvider> credList = new ArrayList<CredentialProvider>();
// Add the necessary credential providers to the list
credList.add(getUNTCredentialProvider(username, password));
credList.add(getBSTCredentialProvider(clientKeyStore, clientKeyStorePassword, clientKeyAlias, clientKeyPassword, serverKeyStore, serverKeyStorePassword, serverKeyAlias, requestContext));
//credList.add(getSAMLTrustCredentialProvider());
requestContext.put(WSSecurityContext.CREDENTIAL_PROVIDER_LIST, credList);
When i run this client, just plain java, the client runs fine.
But additionally, I created the webservice proxy in a web application, and I try to use the proxy client to invoke the webservice. However, when I deploy the web application in weblogic server, and I try to touch the SpacesWebService methods using the client then I get the following errors :
Caused by: oracle.wsm.common.sdk.WSMException: FailedCheck : failure in security check
at oracle.wsm.security.policy.scenario.executor.Wss11UsernameWithCertsScenarioExecutor.receiveRequest(Wss11UsernameWithCertsScenarioExecutor.java:201)
at oracle.wsm.security.policy.scenario.executor.SecurityScenarioExecutor.execute(SecurityScenarioExecutor.java:596)
at oracle.wsm.policyengine.impl.runtime.AssertionExecutor.execute(AssertionExecutor.java:41)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeSimpleAssertion(WSPolicyRuntimeExecutor.java:666)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeXorAssertion(WSPolicyRuntimeExecutor.java:477)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeAndAssertion(WSPolicyRuntimeExecutor.java:336)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.execute(WSPolicyRuntimeExecutor.java:289)
at oracle.wsm.policyengine.impl.PolicyExecutionEngine.execute(PolicyExecutionEngine.java:102)
at oracle.wsm.agent.WSMAgent.processCommon(WSMAgent.java:975)
at oracle.wsm.agent.WSMAgent.processRequest(WSMAgent.java:460)
at oracle.fabric.common.BindingSecurityInterceptor.processRequest(BindingSecurityInterceptor.java:94)
... 46 more
Caused by: oracle.wsm.security.policy.scenario.policycompliance.PolicyComplianceException: WSM-00034 : Error in Encryption reference mechanism compliance : Expected : thumbprint , Actual : issuerserial. Ensure that a compatible policy is attached at the client side.
at oracle.wsm.security.policy.scenario.policycompliance.impl.ComplianceEngine.preDecryptionCompliance(ComplianceEngine.java:223)
at oracle.wsm.security.policy.scenario.policycompliance.impl.ComplianceEngine.checkCompliance(ComplianceEngine.java:385)
at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.verifyRequest(Wss11X509TokenProcessor.java:882)
at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.verify(Wss11X509TokenProcessor.java:844)
at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.verify(Wss11X509TokenProcessor.java:808)
at oracle.wsm.security.policy.scenario.executor.Wss11UsernameWithCertsScenarioExecutor.receiveRequest(Wss11UsernameWithCertsScenarioExecutor.java:134)
... 56 more
Does anyone know why authentication is not happening only in the webapp ? (Note: the weblogic server is in the same machine. So the path to the keystore is valid)
Edited by: user9138987 on Aug 21, 2011 3:04 PM

The keystore is created using the following commands and the default-keystore is assigned to the weblogic domain
keytool -genkeypair -keyalg RSA -dname "cn=spaces,dc=example,dc=com" -alias orakey -keypass weblogic1 -keystore default-keystore.jks -storepass welcome1 -validity 1064
keytool -exportcert -v -alias orakey -keystore default-keystore.jks -storepass weblogic1 -rfc -file orakey.cer
keytool -importcert -alias webcenter_spaces_ws -file orakey.cer -keystore default-keystore.jks -storepass weblogic1

Similar Messages

  • When deploying to Weblogic Server, JDeveloper is unable to list servers

    I have created a BPEL project using JDeveloper 11.1.1.6.
    Have created an Integration Server in the JDeveloper Application Server tab. While deploying the project using this Integration Server profile, JDeveloper is unable to list out servers. As a result, the NEXT button is grayed-out and the deployment prematurely halts and cannot continue any further.
    When deploying to Integrated Weblogic Server, JDeveloper is unable to list servers.
    I have taken the following actions:
    In JDeveloper, the proxy setting was initially turned off. So, I have turned it on and given it a try too.
    I have also gone through the proxy settings in my JDeveloper, proxy connection test was successful. I still dont see servers during development.
    I have also followed all steps on JDeveloper Help Tutorial on "41 Deploying SOA Composite Applications" and no success.
    Issue can be reproduced as below:
    The issue can be reproduced at will with the following steps:
    1. Create a SOA BPEL Composite
    2. Try Deploying the Composite
    3. In the JDeveloper Deploy Wizard, notice the SOA server is not listed.
    Please advice.
    Thanks in advance.

    Hi,
    I am having the same issue, were you able to resolve this, would you be so kind to let me know what was the fix?
    I have JDEV 11.1.1.6, both my admin servers and managed servers are up and running, I can create Application Server connection with no problem, but I don't see any servers under SOA servers list when trying to deploy a composite.
    Thank you,
    Anatoliy

  • PL/SQL  Web Service fails when deployed to WebLogic server

    I have a web service generated via JDeveloper from a PL/SQL package. It runs fine both when tested in JDeveloper and when the WAR file is manually deployed to the Integrated WebLogic Server. However, when the WAR file is deployed to our actual WebLogic server, it fails. Other existing web services that were not generated with the JDeveloper wizard work correctly. I am having trouble finding any references to this type of issue to solve it. Are there any ideas what might be causing the WSDL to fail?
    References:
    * JDeveloper 11.1.1.6.
    * No proxies are involved.
    * The PLSQL package is a basic function that returns varchar2 input fed in by one parameter:
    create or replace package body pkg_ws_test as
    function test_me (p_anything_in varchar2)
    return varchar2 is
    begin
    return p_anything_in;
    end test_me;
    end pkg_ws_test;
    * Top of error stack is as follows:
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://svr:8892/wsTest2-getSame-context-root/TestMePort?wsdl: HTTP connection error code is 500 at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:157) at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:87) at oracle.sysman.emas.model.wsmgt.WSTestModel.init(WSTestModel.java:325) at
    ...

    Hi,
    The below error trace you've provided doesn't confirm that Weblogic server has thrown the error.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://svr:8892/wsTest2-getSame-context-root/TestMePort?wsdl: HTTP connection error code is 500 at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:157) at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:87) at oracle.sysman.emas.model.wsmgt.WSTestModel.init(WSTestModel.java:325) at
    Please paste complete stacktrace of the error to check and also include the caused by section in the error.
    Thanks,
    Vijaya

  • Error in Logging using log4j When deployed in weblogic server

    I have deployed an SOAP based web service application as an war file and used log4j propertiers to do application logging .When i tested the application through a JAVA client the log4j log file has all the application log information but when i deployed it in the weblogic server 10.3.3 and tested it through SOAP UI it gives me just "Run time error exception" in the log4j log file(which is returned in the SOAP response) as against the application logs which i need. I have also added <wls:package-name>org.apache.log4j.*</wls:package-name> in the weblogic.xml and also changwed the logging to the log4j logging in the server ( which was perviously JDK logging) .But still it is not returning the complete application error stack trace in the log4j log file(and also in the weblogic command console) I need to get the application error stack trace in the log4j log file ( and also in the console) so it would be easy to debug the code.
    Please help me out in doing the same.
    thanks in advance

    Noman,
    have you checked that the folder D:\OracleJeveloper\Middleware\jdk160_14_R27.6.5-32 contains the jre?
    Timo

  • Mbeans not visibel when deployed to weblogic

    I am getting started with jmx I am using spring jmx server , I tried deploying in jetty and used jconsole I could see all my mbenas , when deployed to weblogic none of my mbeans are visible , do I need to do anything more ?
    please advice me .

    Hi Timo,
    Thanks for your quick reaction. deleting the application first solved my issue.
    I never had this issue before, but good to know how to fix it :)

  • Unable to view SVG files deployed on Weblogic Server (10.3)

    Hi,
    We are not able to view the svg file when we deploy our applciation to weblogic server. If we run in Eclipse it is running fine. We have also added ./config/mimemappings.properties file in the domain configuration for Mime Mapping File. The content for the same is
    htm=text/html
    gif=image/gif
    jpg=image/jpeg
    svg=image/svg+xml
    Can any body let us know the resolution for the same.
    We are using IE 9 and simple img tag of html
    The weblogic server is deployed on linux os

    Hi Kishore,
    Thanks for the reply. Though our issue is that when we execute through IDE (Eclipse Juno) the tag works with IE9. It stops working when deployed on Weblogic 11g server. We can not use object/embed tag as we have business specific functionality which works only for img tag. We have tried the mime mappings in Weblogic but that does not seem to work. Could you kindly let us know if you are aware of such an issue.
    Regards,
    Anup

  • I am getting an AccessControlException when I start weblogic server 5.1

    hi folks,
    I am getting an AccessControlException when I start weblogic server 5.1,
    this is the exact message
    Wed Aug 23 10:04:34 PDT 2000:<I> <WebLogicServer> Invoking T3StartupDef
    LocaleSe
    tup com.flutter.startup.LocaleSetup with {}
    Wed Aug 23 10:04:35 PDT 2000:<E> <WebLogicServer> Failed to invoke
    startup class
    LocaleSetup=com.flutter.startup.LocaleSetup
    java.security.AccessControlException: access denied
    (java.util.PropertyPermissio
    n user.language write)
    at
    java.security.AccessControlContext.checkPermission(AccessControlConte
    xt.java, Compiled Code)
    at
    java.security.AccessController.checkPermission(AccessController.java,
    Compiled Code)
    at
    java.lang.SecurityManager.checkPermission(SecurityManager.java, Compi
    led Code)
    at java.util.Locale.setDefault(Locale.java:340)
    at com.flutter.startup.LocaleSetup.startup(LocaleSetup.java:37)
    at
    weblogic.t3.srvr.StartupThread.runStartup(StartupThread.java:182)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java,
    Compiled Co
    de)
    at
    weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)
    I have this line in my weblogic.properties file
    weblogic.system.startupClass.LocaleSetup=com.flutter.startup.LocaleSetup
    please help me with this,
    thank you
    sudhir

    This looks like a policy file problem. You have run into one of the worst
    design decisions in Java 2:
    http://www.weblogic.com/docs51/techsupport/java12.html#security
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "sg" <[email protected]> wrote in message
    news:[email protected]..
    hi folks,
    I am getting an AccessControlException when I start weblogic server 5.1,
    this is the exact message
    Wed Aug 23 10:04:34 PDT 2000:<I> <WebLogicServer> Invoking T3StartupDef
    LocaleSe
    tup com.flutter.startup.LocaleSetup with {}
    Wed Aug 23 10:04:35 PDT 2000:<E> <WebLogicServer> Failed to invoke
    startup class
    LocaleSetup=com.flutter.startup.LocaleSetup
    java.security.AccessControlException: access denied
    (java.util.PropertyPermissio
    n user.language write)
    at
    java.security.AccessControlContext.checkPermission(AccessControlConte
    xt.java, Compiled Code)
    at
    java.security.AccessController.checkPermission(AccessController.java,
    Compiled Code)
    at
    java.lang.SecurityManager.checkPermission(SecurityManager.java, Compi
    led Code)
    at java.util.Locale.setDefault(Locale.java:340)
    at com.flutter.startup.LocaleSetup.startup(LocaleSetup.java:37)
    at
    weblogic.t3.srvr.StartupThread.runStartup(StartupThread.java:182)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java,
    Compiled Co
    de)
    at
    weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)
    I have this line in my weblogic.properties file
    weblogic.system.startupClass.LocaleSetup=com.flutter.startup.LocaleSetup
    please help me with this,
    thank you
    sudhir

  • App Insights for web application not working when deployed to Dev server

    App Insights is not sending telemetry data for ASP.NET MVC web *requests* (page views from the JS instrumentation are fine) when the app is deployed to the Dev or Test IIS servers.  On local IIS express it works perfectly fine.    I have
    no idea how to troubleshoot this problem.
    Bert Jackson

    - the AI.config file is both in the root of the site, and the /bin folder (which was confusing the other day).  Both are correct.
    - it looks like a local browser can go to https://dc.services.visualstudio.com (it results in a 403 since its just a GET to the root).  During this test, I found that this server did NOT have the Root trust certificate (Baltimore cybertrust), which
    would cause problems when using IE locally to browse the app; the javascript AI logging was not working, because it couldnt fetch the ai.0.js file).  I got the proper root certificate installed on the server, but request logging still not working.  I
    dont believe the firewall is a problem.
    - I've verified that all binaries are indeed deployed in to the bin folder on the server
    - web.config does have the AI http module; I've verified via logging that the ApplicationInsightsWebTracking is loaded.  However, I have custom Context/Telemetry initializers, and their Initialize() methods are *NOT* being called when deployed on the
    server.  I've tried both ways of registering the initializers; via code in the Application_Start() event and also in the ApplicationInsights.config file.
    I don't know how to troubleshoot any further, to figure out if AppInsights is actually *trying* to send telemetry out and failing, or if its not actually even trying.
    Bert Jackson

  • Will the reports developed in sql server 2008 r2 BIDS work when deployed on sql server 2012 reporting manager

    Will the reports developed in sql server 2008 r2 BIDS work when deployed on sql server 2012 reporting manager?
    when I check on Microsoft site it says
    Reports are not upgraded when you upload a report definition file directly to the report server
    or SharePoint site. Upgrading a report definition in SQL Server Data Tools is the only way to upgrade the .rdl file.
    When you open an .rdl file in Report Designer in SQL Server Data Tools (SSDT), if the report was
    created for a previous namespace, Report Designer automatically creates a backup file and upgrades the report to the current namespace.
    This is the only way you can upgrade a report definition file.
    Now here is another confusing statement which says
    You can upload an .rdl file created in an earlier version of Reporting Services to a SQL Server
    2012 report server and it is automatically upgraded on first use. The report server stores the report definition file in the original format. The report is automatically upgraded the first time it is viewed, but the stored report definition file remains
    unchanged.
    All I want to know is if I deploy a rdl made in 2008 r2 to 2012 will it work on the report manager of
    2012?
    <o:p>
    </o:p>
    Mudassar

    I have tested this fucntionality and can confirm that ssrs 2008 r2 reports work when you deploy them on new ssrs 2012 report manager .
    No Migration is required .
    I didnt even moved report server dbs .All I did is just deployed reports on the report manager and it worked .
    "You
    can upload an .rdl file created in an earlier version of Reporting Services to a SQL Server 2012 report server and it is automatically upgraded on first use. "
    Microsoft needs to correct this the documentation is misleading
    Mudassar

  • After deploy into weblogic server while running the application-404 Error

    Hi All,
    Created an ADF application and Deployed this application to Weblogic server.
    I am getting the below error After deploy into weblogic server while running the application
    I am able to run this application well in JDeveloper using the IntegratedWebLogicServer.
    The Application is successfully deployed to the Web Logic server.
    While creating the domain, I have extended the Oracle JRF classes.
    Error
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    JDeveloper Version : 11.1.1.3.0
    Weblogic Version : 10.3.3.0
    Thanks
    Satish

    On the Deployments look for the Testing tab.. you will see your test link to check your deployment ..
    Some times.. for some reasons( which i dontKnow :( it doesnt identify with m/c name.. repalce it with IP address..and give a try.. if its on local /c u can try 127.0.0.1 /(or local host too)

  • Application does not load correctly when deploying to standalone server

    All,
    I have created simple application implementing fusion theme. Applicaiton works fine when I run on integrated server but when deployed on standalone server it does not load any images or the theme itself. afrloop keep incrementing in status bar and ends up with java script error while later.
    I deployed another test application on standalone server and that works fine i.e. theme gets loaded correctly. Also, how should I include images on the page? I have a images folder in web content folder but they dont get loaded.
    Any help will be appreciated.
    Thanks,
    Dipal

    LabVIEW now uses the Microsoft installer. It's possible that you need to upgrade the version that's on the Win2K box. I think the latest service packs from Microsoft include it.

  • Calling a html page deployed in weblogic server using RequestDispatcher

    Hi All,
    I want to call a HTML page from a java page using requestdispatcher. The whole application is deployed in Weblogic server.I have used the below syntax to call the page from any machine..
    ServletContext sc = getServletContext();
         RequestDispatcher rd = sc.getRequestDispatcher("http://172.25.40.148:7001/Filecomparetool/Result3.html");
         rd.forward(req, res);
    Im getting Null pointer exception...Plz help..Thanks in advance!

    Please use the CODE tags (see the CODE button above, or the formatting tips page, and not the BOLD button.
    Post the stack trace.
    Either getServletContext or getRequestDispatcher is returning null. Find out which, read the API to find out why.

  • Unable to deploy to weblogic server

    I had created an hello world bpel process and it was build successful but the deployment to weblogic server was incomplete,
    Environment : 11.1.1.5.0 soa suite,11.1.1.5.0 Jdeveloper, 10.3.5 WLS
    I had configured admin and soa in a single server(developer mode)
    Deployment log was
    [02:35:18 PM] Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 504
    [02:35:18 PM] Error deploying archive sca_HelloWorld_rev1.0.jar to partition "default" on server AdminServer [http://SMD-0890.kpt.com:7001]
    [02:35:18 PM] HTTP error code returned [504]
    [02:35:18 PM] No error message is returned from the server.
    [02:35:18 PM] Error deploying archive sca_HelloWorld_rev1.0.jar to partition "default" on server AdminServer [http://SMD-0890.kpt.com:7001]
    [02:35:18 PM] #### Deployment incomplete. ####
    [02:35:18 PM] Error deploying archive file:/C:/JDeveloper/mywork/HelloWorld/HelloWorld/deploy/sca_HelloWorld_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

    Thanks fro the quick reply, i am deploying using jdeveloper,
    I had selected the check box 'Overwrite any existing composites with the same revision ID' but the same error occurs,
    [03:29:46 PM] ---- Deployment started. ----
    [03:29:46 PM] Target platform is (Weblogic 10.3).
    [03:29:46 PM] Running dependency analysis...
    [03:29:46 PM] Building...
    [03:29:51 PM] Deploying profile...
    [03:29:51 PM] Updating revision id for the SOA Project 'HelloWorld.jpr' to '1.0'..
    [03:29:51 PM] Wrote Archive Module to C:\JDeveloper\mywork\HelloWorld\HelloWorld\deploy\sca_HelloWorld_rev1.0.jar
    [03:29:51 PM] Deploying sca_HelloWorld_rev1.0.jar to partition "default" on server AdminServer [http://SMD-0890.kpt.com:7001]
    [03:29:51 PM] Processing sar=/C:/JDeveloper/mywork/HelloWorld/HelloWorld/deploy/sca_HelloWorld_rev1.0.jar
    [03:29:51 PM] Adding sar file - C:\JDeveloper\mywork\HelloWorld\HelloWorld\deploy\sca_HelloWorld_rev1.0.jar
    [03:29:51 PM] Preparing to send HTTP request for deployment
    [03:29:51 PM] Creating HTTP connection to host:SMD-0890.kpt.com, port:7001
    [03:29:51 PM] Sending internal deployment descriptor
    [03:29:51 PM] Sending archive - sca_HelloWorld_rev1.0.jar
    [03:29:51 PM] Received HTTP response from the server, response code=504
    [03:29:51 PM] Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 504
    [03:29:51 PM] Error deploying archive sca_HelloWorld_rev1.0.jar to partition "default" on server AdminServer [http://SMD-0890.kpt.com:7001]
    [03:29:51 PM] HTTP error code returned [504]
    [03:29:51 PM] No error message is returned from the server.
    [03:29:51 PM] Error deploying archive sca_HelloWorld_rev1.0.jar to partition "default" on server AdminServer [http://SMD-0890.kpt.com:7001]
    [03:29:51 PM] #### Deployment incomplete. ####
    [03:29:51 PM] Error deploying archive file:/C:/JDeveloper/mywork/HelloWorld/HelloWorld/deploy/sca_HelloWorld_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

  • JNLPDownload servlet issue when deployed in iPlanet server

    Hi all,
    I am doing a POC to check how JWS works to launch an applet on a workstation having two different JRE versions (14.2_06 and 1.6.0_01 installed in lower to higher version order)
    I deployed the sample application files in iPlanet server 6.0. In the JNLP file, under resources tag, I included a jar file with some version. However JWS is failing to download the file, with an exception (as seen from JNLP servle log file)
    JnlpDownloadServlet(4): JnlpResource: JnlpResource[WAR Path: /lib/SampleApplet__V1.1.jar versionId=1.1 name=SampleApplet.jar lastModified=Thu Jan 01 05:30:00 GMT+05:30 1970] returnVersionId=1.1]
    JnlpDownloadServlet(3): Resource returned: /lib/SampleApplet__V1.1.jar
    Error in processing request
    JnlpDownloadServlet(1): Internal error:
    java.lang.NullPointerException
         at com.sun.javaws.servlet.DownloadResponse$ResourceFileDownloadResponse.getContentLength(DownloadResponse.java:178)
         at com.sun.javaws.servlet.DownloadResponse$FileDownloadResponse.sendRespond(DownloadResponse.java:117)
         at com.sun.javaws.servlet.JnlpDownloadServlet.handleRequest(JnlpDownloadServlet.java:115)
         at com.sun.javaws.servlet.JnlpDownloadServlet.doGet(JnlpDownloadServlet.java:79)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
         at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:483)
    The same application when deployed in tomcat server 4.1.32 is working fine.
    All the jar file is available in the correct location and I have verified it. After some investigation with JNLP servlet source code, I found that iplanet 6.0 is throwing nullpointer excepton due to null return from following line from com.sun.javaws.servlet.JNLPResource.java file.
    _resource = context.getResource(path); // here context is ServletContext and path input is relative path.
    Has any one come across this problem in iplanet server? Does getResourcePath always return null in iPlanet server?
    I don't want to change code in jnlp-servlet.jar, and it's the best case. Your inputs on this are appreciated.
    Thanks & Regards,
    Sudhakar

    Below is our reuirment.
    1. We will route the request based on urlprefix, these url prefix can be added and removed at runtime. We want to handle this situation automatically(not by obj conf changes). Also we will chnage the destination of request.
    2. We want insert string in the url for our internal purpose.
    So we opted for plugin.
    BTW: I built the plugin for 32-bit environment.
    $ file archMini-90.0.0.1.so
    archMini-90.0.0.1.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
    Below is my cc options.
    CC_CMD=/usr/bin/gcc -m32 -fpic -DNET_SSL -DLinux -DLINUX -D_REENTRANT
    LD_SHAREDCMD=/usr/bin/gcc -m32 -shared

  • Error when deploy to weblogic cluster

    My cluster has 2 servers A, B. when I deploy an WebCenter Custom Portal application to weblogic cluster, application on server A work well and application on server B is failed. Log on failed server is “what do i do: seems an odd quirk of the EJB spec. The exception is:java.lang.NoClassDefFoundError: Oracle/jdeveloper/db/adapter/DatabaseProvider”
    When I reconfig cluster and then deploy, application on server B work well but application on server A is failed.
    Please advise what should I do in this situation?

    Hi,
    It seems your Application is running with non-seralizable objects where non-searlizable are not supported on cluster environment.
    Please check server logs whether you have such warning messages are not.
    Let me know if you need any further help on this issue.
    Regards,
    Kal

Maybe you are looking for

  • Error 10401 occurred at AI Hardware Config, when using AI Acquire Waveform vi

    I can successfully run applications that use the AI Sample Channel vi, however when I use the AI Acquire Waveform vi the following errors are generated:- Error -10401 occurred at AI Hardware Config, followed by Error -10401 occurred at AI SingleScan.

  • DB polling Frequency Configuration

    Hi All, I have a requirement to make the Database polling frequency and the number of records being picked up in that interval to be configurable. If we change the DB Adapter polling configuration every time, we have to re-deploy the code. I want to

  • Resolving constant-pool of clazz Luicc/access/fileadministration/AdminFileV

    Hi, can anyone help? I have this problem whenever I import the uicc.access.fileadministration into the Eclispe 3.1 (with JCOP plugin) and building my project. The full error string is "resolving constant-pool of clazz Luicc/access/fileadministration/

  • Idoc - Create material master

    Hi All,   I'm trying to create material master using idoc basic type /AFS/MATMAS04, message type J3AMAT. Processing the idoc i get the error "The function module IDOC_INPUT_MATMAS01 and the application object type BUS1001006 which were determined are

  • Dilema over Plant / Organization Structure

    Hi, We are a Service Provider Company based in Orissa. We receive Contracts from other Companies & execute them across India (different Project Sites). We have different Project Site across India. In SAP, do we need to create all the Project Location