Rwclient is failed to use in jdev 11g + weblogic 10.3.x

Hi all
Recently we have migration from jdev 10g / 10g AS to jdev 11g / weblogic 10.3.x. After migration we found the reporting function using rwclient is failed to run.
We then discovered the report can be run by using url calls rwservlet (http://server/reports/rwservlet?...). Anyone know how rwclient works and how rwclient
locate reports server instance. Thanks
The setting in web.xml is
<servlet>
<servlet-name>rwservlet</servlet-name>
<servlet-class>oracle.reports.rwclient.RWClient</servlet-class>
<load-on-startup>yes</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>rwservlet</servlet-name>
<url-pattern>/rwservlet*</url-pattern>
</servlet-mapping>
PS. we also migrated report server to 11g and running on weblogic.
Cheers
Chris
Edited by: Nexus Chris on Jul 3, 2012 1:40 PM

Best asked in {forum:id=84}

Similar Messages

  • Bug in JSF 1.2 RI using in JDev 11g

    Hi,
    We have found a bug in the JSF RI version used by JDev 11g TP2:
    In com.sun.faces.application.ApplicationImpl.createValidator, a MessageFormat is created using an erroneous pattern : created validator of type ''{0''}. This method is called by oracle.adfinternal.view.faces.util.rich.ConverterValidatorRegistrationUtils.addValidatorById. So, when the logging level is set to FINE, this crashes our application.
    FYI, this seems to be corrected in the last version (1.2_06) of the JSF RI.
    We tried replacing the jsf-api.jar and jsf-ri.jar files in lib\java\shared\oracle.jsf\1.2 with that new version but we are getting compilation errors in our JSPs.
    Before we spend time trying to do that, can you please tell me if that sounds like the right thing to do (or if there is another solution). Also, can you please confirm that the subsequent versions of JDev will include a corrected version of the JSF RI.
    Thanks.
    Olivier

    Hi,
    the right place is JDeveloper/jsf-ri for JDeveloper. I'll file a bug
    Frank

  • Getting SSLHandshakeException when trying to login to OCOD using Jdev 11g

    Hi,
    I used the following code to login to OCOD in JDev 10g and SOA 10g.
    public String logon(String wsLocation, String userName, String password)
    String sessionString = "FAIL";
    try
    // create an HTTPS connection to the On Demand webservices
    URL wsURL = new URL(wsLocation + "?command=login");
    HttpURLConnection wsConnection =
    (HttpURLConnection) wsURL.openConnection();
    // we don't want any caching to occur
    wsConnection.setUseCaches(false);
    // we want to send data to the server
    // wsConnection.setDoOutput(true);
    // set some http headers to indicate the username and passwod we are using to logon
    wsConnection.setRequestProperty("UserName", userName);
    wsConnection.setRequestProperty("Password", password);
    wsConnection.setRequestMethod("GET");
    // see if we got a successful response
    if (wsConnection.getResponseCode() == HttpURLConnection.HTTP_OK)
    // get the session id from the cookie setting
    sessionString = getCookieFromHeaders(wsConnection);
    catch (Exception e)
    System.out.println("Logon Exception generated :: " + e);
    return sessionString;
    However, when I run the same in JDev 11g as a standalone program, I get following error
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    When I run this as embedded java in BPEL code in 11g, I get following error
    java.lang.IllegalStateException: Cipher not initialized
    I searched for ALL cacerts file in both JDev and Weblogic directories and added the certificate. I used steps described in Invalid SSL Certificate to save the certificate and then used keytool to add the certificate to all the cacerts file. However the problem is persisting.
    I added the certificate to cacerts in following directories
    C:\Oracle\Middleware\jdev_home\jdk160_18\jre\lib\security
    C:\Oracle\Middleware\11g_home\jdk160_18\jre\lib\security
    C:\Oracle\Middleware\jdev_home\wlserver_10.3\server\lib
    C:\Oracle\Middleware\11g_home\wlserver_10.3\server\lib
    C:\Oracle\Middleware\jdev_home\jdk160_18\fastdebug\jre\lib\security
    C:\Oracle\Middleware\11g_home\jdk160_18\fastdebug\jre\lib\security
    Please help..its very urgent...I will be very grateful.
    Rgds,
    Amit

    Try following the direction in from this url
    http://www.geocerts.com/install/weblogic_10
    it helped us resolve the ssl handshake issue
    This other url should help you list out your keystore
    Deault password for DemoTrust.jks
    HTH

  • JDev 11g - WSDL generation using HTTP binding - WSDL2Java

    I'm using JDev 11.1.1.3.0.  Trying to create a WSDL that uses only an HTTP binding (non-SOAP) to recreate a web service I'm trying to connect to.  My hope is to create the WSDL and use the 'Java Web Service from WSDL' tool (WSDL2Java) to create the Java client code for connecting to the web service.  (No, the author of the web service does not support SOAP. Sigh).
    First off, I do not see an option to create a straight HTTP binding using the 'WSDL Editor/Create Binding' dialog, (only SOAP11, SOAP12, Java, EJB, JCA, JMS, Custom).  So I manually created the binding based on what I could find in the w3c.  Here it is slightly modified with bogus namespaces and URL addresses:
    <?xml version="1.0" encoding="UTF-8" ?>
    <definitions targetNamespace="https://my.server.com/context/"
                 xmlns="http://schemas.xmlsoap.org/wsdl/"
                 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
                 xmlns:tns="https://my.server.com/context/"
                 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                 xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
                 xmlns:types="https://my.server.com/context//types"
                 xmlns:java="http://schemas.xmlsoap.org/wsdl/java/"
                 xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/">
      <types>
        <xsd:schema targetNamespace="https://my.server.com/context//types"
                    elementFormDefault="qualified"/>
        <xsd:schema>
          <xsd:import schemaLocation="MyRequest.xsd" namespace="https://my.server.com/context//types"/>
        </xsd:schema>
        <xsd:schema>
          <xsd:import schemaLocation="MyResponse.xsd" namespace="https://my.server.com/context//types"/>
        </xsd:schema>
        <xsd:schema>
          <xsd:import schemaLocation="Common.xsd" namespace="https://my.server.com/context//cmn"/>
        </xsd:schema>
      </types>
      <portType name="AvailabilityServices">
        <operation name="RequestAvailability">
          <input message="tns:AvailabilityRequestMessage"/>
          <output message="tns:AvailabilityResponseMessage"/>
        </operation>
      </portType>
      <message name="AvailabilityRequestMessage">
        <part name="part" element="types:PNARequest"/>
      </message>
      <message name="AvailabilityResponseMessage">
        <part name="part" element="types:PNAResponse"/>
      </message>
      <binding name="AvailabilityServicesHTTPBinding"
               type="tns:AvailabilityServices">
        <http:binding verb="POST"/>
        <operation name="RequestAvailability">
          <http:operation location="RequestAvailability"/>
          <input>
            <mime:content type="application/xml"/>
          </input>
          <output>
            <mime:mimeXml/>
          </output>
        </operation>
      </binding>
      <service name="AvailabilityService">
        <port name="AvailabilityServicesPort"
              binding="tns:AvailabilityServicesHTTPBinding">
          <http:address location="https://my.server.com/context/"/>
        </port>
      </service>
    </definitions>
    I really don't know if the the input and output tags for the binding are correct.  I've tried <mime:mimeXml/> for both.  I basically want to just send and receive the XSD schemas as straight XML over HTTP.  Is this right?
    Secondly, when trying to generate the Java code from this WSDL, the generation fails with an IndexOutOfBoundsException:
    oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "file:/C:/_Developer11g1_1_3_0/work/Web/PriceAvailability/public_html/WEB-INF/wsdl/PriceAvailability.wsdl": Index: 0, Size: 0
        at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1635)
        at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2846)
        at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2611)
        at oracle.jdeveloper.webservices.model.java.JavaWebService.setDescription(JavaWebService.java:745)
        at oracle.jdevimpl.webservices.wizard.jaxrpc.topdown.TDJaxWsSpecifyWsdlPanel.setDescription(TDJaxWsSpecifyWsdlPanel.java:364)
        at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.buildModel(SpecifyWsdlPanel.java:1109)
        at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$5.run(SpecifyWsdlPanel.java:661)
        at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
        at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.jdeveloper.webservices.tools.WsdlValidationException: Error creating model from wsdl "file:/C:/_Developer11g1_1_3_0/work/Web/PriceAvailability/public_html/WEB-INF/wsdl/PriceAvailability.wsdl": Index: 0, Size: 0
        at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.newWsdlValidationException(WsaAdaptor.java:825)
        at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.getSeiInfo(WsaAdaptor.java:515)
        at oracle.jdeveloper.webservices.tools.WebServiceTools.getSeiInfo(WebServiceTools.java:523)
        at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1741)
        at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1496)
        ... 8 more
    Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Error creating model from wsdl "file:/C:/_Developer11g1_1_3_0/work/Web/PriceAvailability/public_html/WEB-INF/wsdl/PriceAvailability.wsdl": Index: 0, Size: 0
        at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:664)
        at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createJAXWSModel(WsdlToJavaTool.java:475)
        at oracle.j2ee.ws.tools.wsa.Util.getJaxWsSeiInfo(Util.java:1357)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at oracle.jdevimpl.webservices.tools.wsa.Assembler$2$1.invoke(Assembler.java:218)
        at $Proxy39.getJaxWsSeiInfo(Unknown Source)
        at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.getSeiInfo(WsaAdaptor.java:505)
        ... 11 more
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:547)
        at java.util.ArrayList.get(ArrayList.java:322)
        at oracle.j2ee.ws.tools.jaxws.wsdl.WSDLToJavaModelBuilder.consolidateInterfaceMappings(WSDLToJavaModelBuilder.java:689)
        at oracle.j2ee.ws.tools.jaxws.wsdl.WSDLToJavaModelBuilder.consolidateInterfaceMappings(WSDLToJavaModelBuilder.java:682)
        at oracle.j2ee.ws.tools.jaxws.wsdl.WSDLToJavaModelBuilder.build(WSDLToJavaModelBuilder.java:196)
        at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:656)
        ... 20 more
    Anybody know how to write a WSDL with a non-SOAP HTTP binding and then generate Java from it?
    Thanks

    Okay, I'll check it out.  I know the newest version of SoapUi handles REST services (not sure if that's what I'm trying to attempt) so maybe I could 'ping' the web service using it.
    But seeing how this is a JDeveloper forum, I was hoping somebody could help me create a WSDL with HTTP bindings using the JDeveloper tool set, or at least identify if I have correctly defined the HTTP binding in my sample WSDL.  Does JDev 11g not have this functionality?

  • Configure security-role and method permission for EJB 3.0 using Jdev 11g

    The EJB 3.0 session bean created by Jdev 11g EJB wizard does not have ejb-jar.xml. Where and how can security-role and method permission for the EJB be configured?
    For example,
    <assembly-descriptor>
    <security-role>
    <role-name>managers</role-name>
    </security-role>
    <method-permission>
    <role-name>managers</role-name>
    <method>
    <ejb-name>Employees</ejb-name>
    <method-name>setSalary</method-name>
    <method-params>
    <method-param>java.lang.Long</method-param>
    </method-params>
    </method>
    </method-permission>
    </assembly-descriptor>

    user516954,
    By default annotations are used. However, you can create a new descriptor and that will take presidence over any declared annotation.
    --Ric                                                                                                                                                                                                                                                                                                                               

  • Accessing ApplicationModule in Struts/JSP application using JDev 11g TP3

    Hello All,
    I am using Oracle JDeveloper 11g Technical Preview 3
    I got one "AppModule" created under my (Struts/jsp) project "MODEL" structure.
    Now, how can I access that ApplicationModule in my Action Class
    BC4JContext bc4jContext = BC4JContext.getContext(request) is not working, returns null everytime,
    Can anyone please let me know, how can I achieve this?
    Thanks
    user625610

    Hi don't know your name,
    if you get null from BC4JContext.getContext(request) you should check you configuration. Check your web.xml file where you should see something like...  <servlet>
        <servlet-name>action</servlet-name>
        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
        <init-param>
          <param-name>mapping</param-name>
          <param-value>oracle.jbo.html.struts11.BC4JActionMapping</param-value>
        </init-param>
        <init-param>
          <param-name>BC4JDefinition</param-name>
          <param-value>your_model_project_name</param-value>
        </init-param>
    ...The init parameter BC4JDefinition is used to set up the context in the BC4JRequestProcessor class. My guess is that you don't have this parameter in your web.xml (or are pointing to a wrong name). the value should be the name of the cpx file without the .cpx you have in your viewcontroller project.
    If you have migrated your project from JDev 10.1.2 you should check the 10.1.2 web.xml against the 11TP3 web.xml after the migration. The servlet part should be identical.
    Timo

  • Problems with JDev 11g using JBOSS and ANT

    Hi,
    I'm trying to migrate to JDev 11g with JBoss ( version 7.X ) as the AppServer
    With JDev 10g all works fine with JBoss, even the Remote Debug, all OK
    here is the problems I have :
    1) ANT
    JDev doesn't save my ANT settings
    every time I launch ANT : Run Ant Target - I must set the Advance settings
    JDev 10g I only need to do that once, the settings are saved but not in the 11g, why ?
    2) persistence
    I get this error when deploying to JBoss
    16:34:50,967 INFO [org.jboss.as.server] (HttpManagementService-threads - 1) JBA
    S015870: Deploy of deployment "prod_v0.0.1_iDigital.menu.ear" was rolled back wi
    th failure message {"JBAS014771: Services with missing/unavailable dependencies"
    => ["jboss.persistenceunit.\"prod_v0.0.1_iDigital.menu.ear/iDigital.menu-WebApp
    .war#InfraModel\"jboss.naming.context.java.jdbc.stdDSMissing[jboss.persistenceun
    it.\"prod_v0.0.1_iDigital.menu.ear/iDigital.menu-WebApp.war#InfraModel\"jboss.na
    ming.context.java.jdbc.stdDS]","jboss.persistenceunit.\"prod_v0.0.1_iDigital.men
    u.ear#InfraModel\"jboss.naming.context.java.jdbc.stdDSMissing[jboss.persistenceu
    nit.\"prod_v0.0.1_iDigital.menu.ear#InfraModel\"jboss.naming.context.java.jdbc.s
    tdDS]"]}
    it seems that is something related to dependencies not well configured during build stage of the EAR, but with 10g works fine
    BTW, I can't run my project with WebLogic either, gives this error :
    <5/Abr/2013 18H27m BST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1365182860563' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].'
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    >
    <5/Abr/2013 18H27m BST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'iDigital.menu'.>
    <5/Abr/2013 18H27m BST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    can someone give me a clue ?
    thanks
    Edited by: FernandoLeite on Apr 5, 2013 10:31 AM

    I can't say many about the ant stuff, but have you tried to put the parameters in a property file and use this to get the parameters to ant?
    The reason you can't run the application on WLS is that you have not installed the adf runtime on your wls. The error 'application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].' points to this.
    Timo

  • JDEV 11G TP3 [BUG]: Diagramming / Use Case & Activity  / open save

    I'm not able to open existing use diagram and couldn't save activity diagram after i created them. So UML is not functional in this preview release.
    Is this knowns bugs ?
    Is some workarounds knows ?
    I need these diagrams very soon and would know if i have to create them in a another tools or it is a way to use JDeveloper for them.
    Thank you

    You can find more details in these threads
    http://forums.oracle.com/forums/thread.jspa?threadID=622107
    JDEV 11G TP3 [BUG]: Diagramming / Use Case & Activity  / open save
    I already sent my project files to Shay. I may sent them to you too if needed.
    I suspect the problem may be due by the fact i'm using two workspaces simultanously, both managed with subversion. I already detected in the same configuration that "Select in Navigator" from pl/sql editor doesn't find an edited file (loaded from the offline database navigator) in the offline database navigator because it was searching the same project but in the wrong workspace.

  • Problem using ojdbc14.jar in JDev 11g

    Hi
    I have an application created in 10g.
    I was trying to create the same in 11g and encountered this problem with the ojdbc14.jar.
    The jar has two classes OracleDataSource and OracleConnectionCacheImpl inside the same package.
    OracleConnectionCacheImpl is inherited from OracleDataSource.
    OracleDataSource has a protected variable called m_dataSourceName.
    The child class, OracleConnectionCacheImpl used this variable.
    I have this jar included in my classpath.
    When i run the application, it throws a runtime error.
    Following is the stack trace.
    java.lang.NoSuchFieldError: m_dataSourceName
         at oracle.jdbc.pool.OracleConnectionCacheImpl.(OracleConnectionCacheImpl.java:189)
         at oracle.apps.snw.hubserver.common.XhubConnectionPool.(XhubConnectionPool.java:46) -------------------------------------> from here its my code
         at oracle.apps.snw.hubserver.common.XhubConnectionPoolManager.addConnectionPool(XhubConnectionPoolManager.java:168)
         at oracle.apps.snw.hubserver.common.XhubConnectionPoolManager.getConnection(XhubConnectionPoolManager.java:201)
         at oracle.apps.snw.hubserver.util.SystemParameters.reloadAllParameters(SystemParameters.java:294)
         at oracle.apps.snw.hubserver.util.SystemParameters.(SystemParameters.java:34)
         at oracle.apps.snw.hubserver.util.SystemParameters.getInstance(SystemParameters.java:48)
         at oracle.apps.snw.hubserver.common.XhubConnectionPoolManager.addConnectionPool(XhubConnectionPoolManager.java:155)
         at oracle.apps.snw.hubserver.common.XhubConnectionPoolManager.getConnection(XhubConnectionPoolManager.java:201)
         at oracle.apps.snw.common.util.LanguageQueryBasedNameValueCache.queryAllLanguages(LanguageQueryBasedNameValueCache.java:125)
         at oracle.apps.snw.common.util.LanguageQueryBasedNameValueCache.setCacheParameters(LanguageQueryBasedNameValueCache.java:77)
         at oracle.apps.snw.common.util.LanguageQueryBasedNameValueCache.(LanguageQueryBasedNameValueCache.java:53)
         at oracle.apps.snw.uicommon.TextProvider.populateTextCache(TextProvider.java:100)
         at oracle.apps.snw.uicommon.TextProvider.getTextMessage(TextProvider.java:123)
         at oracle.apps.snw.uicommon.TextProvider.handleGetObject(TextProvider.java:113)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:378)
         at oracle.cabo.ui.data.BundleDataObject.selectValue(Unknown Source)
         at oracle.cabo.ui.data.DataBoundValue.getValue(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
    Can anyone tell me why this error occurs?
    I have checked the Oracle JDBC library of JDev 11g and found that it has ojdbc6.jar
    Is there any compatibility problem with this jar migrating from 10g to 11g?
    Found this related link but could not relate it much.
    Please explain
    JDBC problem: java.lang.NoSuchFieldError: CONNECTION_PROPERTY_THIN_NET_CONN
    Thanks

    I guess you can't use ojdbc14.jar that easy. Some dependencies form ojdbc14.jar are not available under 11g. That 's the reason you have ojdbc6.jar under 11g.
    Timo

  • Using Presence Service in JDev 11g TP3

    I am trying to use Presence Service in JDev 11g TP3.
    I have followed Chapter 13 (Integrating Presence) in Fusion Middleware Developer's Guide for Oracle WebCenter to create the page.
    1. Created connection to presence service in Application Resources(ViewController).
    2. Dropped presence and presenceData into JSF page.
    When I ran the page, getting exception(Unable to find a valid RTC connection). Looks like it is not using the connection I have created and would like to know, how to resolve this problem?. Thanks.

    Hi JP,
    The WebCenter TP3 Release Notes spell out what is and what is not available in TP3.
    Let me know if you have more questions.
    Peter

  • Install JDev 11g(11.1.2.4.0) on mac 10.8.2 fails with fatal error

    Hi,
    I am getting an error as " Fatal error encountered during file installation. the installer will now cleanup and exit ! " while installing the JDEV on my mac 10.8.2.
    I have tried with both java versions 1.6 and 1.7. and I have both the versions of java in mac but in the java preferences page shows only 1.7.
    I have tried with shay's blog too.
    I have installed other JDEVs 11g versions in my mac but they are success with shay's blog. I have recently updated OS ( with minor version changes) after this update iam unable to install the JDev and unable to view the both the java versions in pref's page
    Please help me out.
    Thanks
    Shyam

    Unfortunately upgrading to 10.8.2 messes up your previously configured steps and you can no longer rely on Java Preferences to define your JDK setup.
    What I suggest is doing this:
    1) Delete your current JDev installation + the system directory
    2) Ensure that the symbolic link as described in step 3 of the following link is still present and points to actual file
    3) Follow the steps in this blog: https://blogs.oracle.com/blueberry/entry/how_to_saddle_your_mountain ... to reinstall JDev.
    This should get you back up and running.
    CM.

  • Creating a webservice from PL/SQL Package in JDev 11g

    Hi All...
    I have a PL/SQl package and I am using JDEv 11g. I want to create it as a webservice. I want to deploy it in a remote server. Can I deploy it from my client machine. In server Weblogic already started. What are the prerequisites, that we need to deploy a wbservice. I done the following steps.
    1. Create an application.
    2. Right click the package and select Generate Java option.
    3. It create a Java class in the Application sources.
    4. Double click the class and select Create Web Service. It created the web service.
    5. When I select the webservice and click Run it shows the following error. It going to the Default \server. Actually I need it in a remote server.
    [Running application NewWebService on Server Instance DefaultServer...]
    ---- Deployment started. ---- Apr 20, 2009 1:15:40 PM
    Target platform is (Weblogic 10.3).
    Running dependency analysis...
    2009-04-20 13:15:40.205: Writing WAR file to D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\NewWebService\NewWebService-LastNoWebService-webapp
    2009-04-20 13:15:40.222: Wrote WAR file to D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\NewWebService\NewWebService-LastNoWebService-webapp
    2009-04-20 13:15:40.357: Writing EAR file to D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\NewWebService
    2009-04-20 13:15:40.374: Wrote EAR file to D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\NewWebService
    Deploying Application...
    <Apr 20, 2009 1:15:40 PM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application NewWebService is not versioned.>
    <Apr 20, 2009 1:15:40 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1240213540593' for task '3'. Error is: 'java.lang.ClassNotFoundException: sqlj.runtime.ref.DefaultContext'
    java.lang.ClassNotFoundException: sqlj.runtime.ref.DefaultContext
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: sqlj.runtime.ref.DefaultContext
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    >
    <Apr 20, 2009 1:15:40 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'NewWebService'.>
    <Apr 20, 2009 1:15:40 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    java.lang.ClassNotFoundException: sqlj.runtime.ref.DefaultContext
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: sqlj.runtime.ref.DefaultContext
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    >
    [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application NewWebService on DefaultServer.: sqlj.runtime.ref.DefaultContext.
    weblogic.application.WrappedDeploymentException: sqlj.runtime.ref.DefaultContext
    #### Deployment incomplete. #### Apr 20, 2009 1:15:40 PM
    oracle.jdeveloper.deploy.DeployException
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
    Caused by: oracle.jdeveloper.deploy.DeployException
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:413)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:238)
         ... 11 more
    Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:395)
         ... 12 more
    #### Cannot run application NewWebService due to error deploying to DefaultServer.
    [Application NewWebService stopped and undeployed from Server Instance DefaultServer]
    6. when i goto the consoleof weblogic server, already an instance created. But nothing displayed under WebServices.
    7. Select the instance and press 'Start'. While deploying an error came.
    java.lang.Exception: [DeploymentService:290049]Deploy failed for id '1,240,213,727,265' since no targets are reachable.
    Please help me..
    its very urgent...
    Regards,
    Resmi.

    Oh, no - another very urgent question. The world must be about to end ;)
    Resmi, Have a read of [url http://forums.oracle.com/forums/thread.jspa?threadID=883293]this - JDeveloper 11g, as of today, doesn't (at least is not supposed to) support publishing PL/SQL procedures/packages as a web service.
    John

  • JDev 11g update 1 base edition on windows: error building default domain

    Hi all,
    (refer to [url http://forums.oracle.com/forums/thread.jspa?messageID=3168105]here for original post)
    I'm posting this again with some more information. When downloading the Studio Edition (Base - no JDK) version of JDeveloper 11g update 1, an error occurs upon first (and each subsequent) startup of JDeveloper (error details below).
    Tests that I have done:
    1). Install using JDK 6 u 11 - JDK did not show up automatically in the installer, had to browse to find it and select it. Running using 6u11, 6u10, and 6u7 (deleting the system directory after each try) - error occurs.
    2). Install using JDK 6 u7 - JDK was automatically found by the installer. Running using 6u7, 6u11, and 6u10 (deleting the system directory after each try) - error occurs
    These errors do not occur when using the Windows installer. For information: my machine is Windows 2008 Server Standard 32-bit. An update - I just tried this on a Vista 64-bit laptop (running Sun 32-bit JDK 6u10) and did not have the problem. Ergo, this seems to be an issue with the JDK and detecting Windows 2008 as a Windows platform (or possibly with whatever mechanism JDev/WLS is using to detect the OS platform). I'll do more research on that and update if I find anything.
    One more update: I didn't find any issues reported like this related to Windows 2008, but I did one more test: install and run JDeveloper using:
    java version "1.6.0_05"                                                        
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)                           
    BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32, compiled mode)                                                                   The issue does not occur using this JDK. So to summarize, installing JDev 11g update 1 Studio edition, base installer using any of the SUN JDK's on Windows 2008 gives this problem. Using the windows installer or JRockit Mission Control JVM - no problems.
    Finally, one last update - the error is related to the JVM that is used to install, not the one used to run JDeveloper (via editing jdev.conf) - the offending JDK is in wlserver_10.3\common\bin\commEnv.cmd. Seems like a no-no to have one JDK running JDev and another running the integrated WLS, though. Quite a pity, as JDev starts up pretty slowly using JRockit Mission Control.
    JRockit Realtime seems to be a bit faster... sigh - now to remove the 72 extra JDK's on my laptop ;)
    My going forward plan: use the Windows installer. Wish I never installed Windows Server 2008.
    Now for the error details; the log shows:
    ERROR:  An error occurred while building the default domain.
    Please see this log file for more details:
    C:\o\jdev11\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee.adrs\CreateDefaultDomain.logThe aforementioned log file shows:
    Default domain will be created:
    C:\o\jdev11\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain
    C:\o\jdev11\wlserver_10.3\common\bin\wlst.cmd "C:\o\jdev11\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee.adrs\CreateDefaultDomain.py"
    Process started
    wlst >
    wlst > CLASSPATH=c:\o\jdev11\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\o\jdev11\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\o\jdev11\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\JDK16~1.0_1\lib\tools.jar;C:\o\jdev11\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\o\jdev11\WLSERV~1.3\server\lib\weblogic.jar;c:\o\jdev11\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\o\jdev11\WLSERV~1.3\server\lib\webservices.jar;c:\o\jdev11\modules\ORGAPA~1.5/lib/ant-all.jar;c:\o\jdev11\modules\NETSFA~1.0_1/lib/ant-contrib.jar;
    wlst >
    wlst > PATH=c:\o\jdev11\patch_wls1030\profiles\default\native;c:\o\jdev11\patch_jdev1111\profiles\default\native;c:\o\jdev11\patch_cie660\profiles\default\native;C:\o\jdev11\WLSERV~1.3\server\native\win\32;C:\o\jdev11\WLSERV~1.3\server\bin;c:\o\jdev11\modules\ORGAPA~1.5\bin;C:\Java\JDK16~1.0_1\jre\bin;C:\Java\JDK16~1.0_1\bin;c:\o\db11\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Subversion\bin;c:\o\wfc\bin;c:\o\wfc\jre\1.4.2\bin\client;c:\o\wfc\jre\1.4.2\bin;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;c:\o\odp;c:\o\odp\bin;c:\java\apache-ant-1.7.1\bin;C:\Program Files\Plazmic CDK 4.6\bin;c:\o\db11\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Subversion\bin;c:\o\wfc\bin;c:\o\wfc\jre\1.4.2\bin\client;c:\o\wfc\jre\1.4.2\bin;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;c:\o\odp;c:\o\odp\bin;C:\o\jdev11\WLSERV~1.3\server\native\win\32\oci920_8
    wlst >
    wlst > Your environment has been set.
    wlst >
    wlst > CLASSPATH=c:\o\jdev11\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\o\jdev11\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\o\jdev11\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\JDK16~1.0_1\lib\tools.jar;C:\o\jdev11\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\o\jdev11\WLSERV~1.3\server\lib\weblogic.jar;c:\o\jdev11\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\o\jdev11\WLSERV~1.3\server\lib\webservices.jar;c:\o\jdev11\modules\ORGAPA~1.5/lib/ant-all.jar;c:\o\jdev11\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;C:\o\jdev11\WLSERV~1.3\common\eval\pointbase\lib\pbembedded57.jar;C:\o\jdev11\WLSERV~1.3\common\eval\pointbase\lib\pbtools57.jar;C:\o\jdev11\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar
    wlst >
    wlst > Initializing WebLogic Scripting Tool (WLST) ...
    wlst >
    wlst > Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.
    wlst >
    wlst > Welcome to WebLogic Server Administration Scripting Shell
    wlst >
    wlst > Type help() for help on available commands
    wlst >
    wlst > Creating Default Domain
    wlst > Reading template: /C:/o/jdev11/wlserver_10.3/common/templates/domains/wls.jar
    wlst > Setting Name to 'DefaultServer'
    wlst > Setting ListenAddress to ''
    wlst > Setting ListenPort to 7101
    wlst > Setting domain password.
    wlst > Failed to get environment, environ will be empty: (0, 'Failed to execute command ([\'sh\', \'-c\', \'env\']): java.io.IOException: Cannot run program "sh": CreateProcess error=2, The system cannot find the file specified')
    wlst > Problem invoking WLST - Traceback (innermost last):
    wlst >   File "C:\o\jdev11\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee.adrs\CreateDefaultDomain.py", line 50, in ?
    wlst >   File "Lib/javaos.py", line 137, in __getitem__
    wlst >   File "Lib/UserDict.py", line 14, in __getitem__
    wlst > KeyError: DOMAIN_PASSWORD
    wlst >
    Elapsed time:  40920 msAs noted in the original post - it seems that the WebLogic scripting tool is assuming a Unix-type host.
    Best,
    John

    Hi all,
    (refer to [url http://forums.oracle.com/forums/thread.jspa?messageID=3168105]here for original post)
    I'm posting this again with some more information. When downloading the Studio Edition (Base - no JDK) version of JDeveloper 11g update 1, an error occurs upon first (and each subsequent) startup of JDeveloper (error details below).
    Tests that I have done:
    1). Install using JDK 6 u 11 - JDK did not show up automatically in the installer, had to browse to find it and select it. Running using 6u11, 6u10, and 6u7 (deleting the system directory after each try) - error occurs.
    2). Install using JDK 6 u7 - JDK was automatically found by the installer. Running using 6u7, 6u11, and 6u10 (deleting the system directory after each try) - error occurs
    These errors do not occur when using the Windows installer. For information: my machine is Windows 2008 Server Standard 32-bit. An update - I just tried this on a Vista 64-bit laptop (running Sun 32-bit JDK 6u10) and did not have the problem. Ergo, this seems to be an issue with the JDK and detecting Windows 2008 as a Windows platform (or possibly with whatever mechanism JDev/WLS is using to detect the OS platform). I'll do more research on that and update if I find anything.
    One more update: I didn't find any issues reported like this related to Windows 2008, but I did one more test: install and run JDeveloper using:
    java version "1.6.0_05"                                                        
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)                           
    BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32, compiled mode)                                                                   The issue does not occur using this JDK. So to summarize, installing JDev 11g update 1 Studio edition, base installer using any of the SUN JDK's on Windows 2008 gives this problem. Using the windows installer or JRockit Mission Control JVM - no problems.
    Finally, one last update - the error is related to the JVM that is used to install, not the one used to run JDeveloper (via editing jdev.conf) - the offending JDK is in wlserver_10.3\common\bin\commEnv.cmd. Seems like a no-no to have one JDK running JDev and another running the integrated WLS, though. Quite a pity, as JDev starts up pretty slowly using JRockit Mission Control.
    JRockit Realtime seems to be a bit faster... sigh - now to remove the 72 extra JDK's on my laptop ;)
    My going forward plan: use the Windows installer. Wish I never installed Windows Server 2008.
    Now for the error details; the log shows:
    ERROR:  An error occurred while building the default domain.
    Please see this log file for more details:
    C:\o\jdev11\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee.adrs\CreateDefaultDomain.logThe aforementioned log file shows:
    Default domain will be created:
    C:\o\jdev11\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain
    C:\o\jdev11\wlserver_10.3\common\bin\wlst.cmd "C:\o\jdev11\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee.adrs\CreateDefaultDomain.py"
    Process started
    wlst >
    wlst > CLASSPATH=c:\o\jdev11\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\o\jdev11\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\o\jdev11\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\JDK16~1.0_1\lib\tools.jar;C:\o\jdev11\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\o\jdev11\WLSERV~1.3\server\lib\weblogic.jar;c:\o\jdev11\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\o\jdev11\WLSERV~1.3\server\lib\webservices.jar;c:\o\jdev11\modules\ORGAPA~1.5/lib/ant-all.jar;c:\o\jdev11\modules\NETSFA~1.0_1/lib/ant-contrib.jar;
    wlst >
    wlst > PATH=c:\o\jdev11\patch_wls1030\profiles\default\native;c:\o\jdev11\patch_jdev1111\profiles\default\native;c:\o\jdev11\patch_cie660\profiles\default\native;C:\o\jdev11\WLSERV~1.3\server\native\win\32;C:\o\jdev11\WLSERV~1.3\server\bin;c:\o\jdev11\modules\ORGAPA~1.5\bin;C:\Java\JDK16~1.0_1\jre\bin;C:\Java\JDK16~1.0_1\bin;c:\o\db11\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Subversion\bin;c:\o\wfc\bin;c:\o\wfc\jre\1.4.2\bin\client;c:\o\wfc\jre\1.4.2\bin;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;c:\o\odp;c:\o\odp\bin;c:\java\apache-ant-1.7.1\bin;C:\Program Files\Plazmic CDK 4.6\bin;c:\o\db11\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Subversion\bin;c:\o\wfc\bin;c:\o\wfc\jre\1.4.2\bin\client;c:\o\wfc\jre\1.4.2\bin;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;c:\o\odp;c:\o\odp\bin;C:\o\jdev11\WLSERV~1.3\server\native\win\32\oci920_8
    wlst >
    wlst > Your environment has been set.
    wlst >
    wlst > CLASSPATH=c:\o\jdev11\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\o\jdev11\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\o\jdev11\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\JDK16~1.0_1\lib\tools.jar;C:\o\jdev11\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\o\jdev11\WLSERV~1.3\server\lib\weblogic.jar;c:\o\jdev11\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\o\jdev11\WLSERV~1.3\server\lib\webservices.jar;c:\o\jdev11\modules\ORGAPA~1.5/lib/ant-all.jar;c:\o\jdev11\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;C:\o\jdev11\WLSERV~1.3\common\eval\pointbase\lib\pbembedded57.jar;C:\o\jdev11\WLSERV~1.3\common\eval\pointbase\lib\pbtools57.jar;C:\o\jdev11\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar
    wlst >
    wlst > Initializing WebLogic Scripting Tool (WLST) ...
    wlst >
    wlst > Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.
    wlst >
    wlst > Welcome to WebLogic Server Administration Scripting Shell
    wlst >
    wlst > Type help() for help on available commands
    wlst >
    wlst > Creating Default Domain
    wlst > Reading template: /C:/o/jdev11/wlserver_10.3/common/templates/domains/wls.jar
    wlst > Setting Name to 'DefaultServer'
    wlst > Setting ListenAddress to ''
    wlst > Setting ListenPort to 7101
    wlst > Setting domain password.
    wlst > Failed to get environment, environ will be empty: (0, 'Failed to execute command ([\'sh\', \'-c\', \'env\']): java.io.IOException: Cannot run program "sh": CreateProcess error=2, The system cannot find the file specified')
    wlst > Problem invoking WLST - Traceback (innermost last):
    wlst >   File "C:\o\jdev11\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee.adrs\CreateDefaultDomain.py", line 50, in ?
    wlst >   File "Lib/javaos.py", line 137, in __getitem__
    wlst >   File "Lib/UserDict.py", line 14, in __getitem__
    wlst > KeyError: DOMAIN_PASSWORD
    wlst >
    Elapsed time:  40920 msAs noted in the original post - it seems that the WebLogic scripting tool is assuming a Unix-type host.
    Best,
    John

  • Facing issue in configuring soa server in local jdev 11G

    Hi All,
    I am facing an issue in configuring local soa server in jdev 11G. I was trying to do the practice excercises in the local jdev and while configuring soa server followed following steps :-
    1. Configure SOA to install the Integrated OC4J Server
    a. In JDeveloper, select Tools -> Preferences, Run, and then select Integrated OC4J Server.
    b. Next, select Tools -> Configure SOA…
    c. Complete the dialog for your configuration specifying the database location and the SOA schema user name and password
    d. Use the Test button to test the database connection and then click on Ok
    This will take 8-10 minutes to run and when finished will end with "Build Successful."
    In the end I am getting following log file
    [echo] ==Starting standalone oc4j. Check server log D:\FMW\JdevInstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\log\startsoa.log.
    [echo] ==Waiting max 420 second(s) for startup of URL http://LAP1-RBAGRI-IN:8988...
    [echo]
    * Configuring SOA Infrastructure has FAILED. *
    * Please check following logs for possible cause: *
    * D:\FMW\JdevInstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\install\tmp\soa-infra-java.log
    * D:\FMW\JdevInstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\log\startsoa.log
    [echo] ==Stopping oc4j standalone...
    BUILD SUCCESSFUL
    Total time: 7 minutes 11 seconds

    Hi Heidi,
    Thanks a lot for your response. The solution you provided worked for me. I am able to configure SOA now and the SOAConsole is coming up properly.
    One issue I am facing while deploying my application . The application is getting deployed properly but it does not show up in the console if I look at Default server console I can see this error message :-
    Incorrect db schema version.
    The database schema version "11.1.6" from the database does not match the version "11.1.7" expected by the server.
    The database schema for your SOA installation was not properly installed or your installation is using a database schema installed for a prior release.
    The database schema currently in place has probably been configured for a previous release; please re-install the database schema and try to start the server again.
    Though I have configured the database locally just like mentioned in the training material. Please let me know if you have any thoughts on this.
    Regards,
    Ranjana

  • Error while configuring application server in Jdev 11g

    Hi all,
    I am trying make connection to application server in Jdev 11g.
    While testing the connection i am facing the below error.
    Testing JSR-160 Runtime ... failed.
    Cannot establish connection.
    Testing JSR-160 DomainRuntime ... skipped.
    Testing JSR-88 ... skipped.
    Testing JSR-88-LOCAL ... skipped.
    Testing JNDI ... skipped.
    Testing JSR-160 Edit ... skipped.
    Testing HTTP ... failed.
    Unable to open conection: Connection timed out: connect
    Testing Server MBeans Model ... skipped.
    Testing HTTP Authentication ... failed.
    Unable to open conection: Connection timed out: connect
    0 of 9 tests successful.
    The Port which i am using is 45701. Any pointers on this?

    Hi
    You can find the SSL port of the Admin Server using the Admin Console (eg, http://localhost:7001/console).
    Environment -> Servers
    Click AdminServer(admin)
    SSL Listen Port: 7002 (default).
    You should check the "SSL Listen Port Enabled" check box to connect to this admin server with ssl port.
    For your informationWhen you configure the Application Server Connection from the JDeveloper, you need to check the 'Always use SSL' check box and enter the SSL port. You can create the Application Server Connection for your sSSL port from the JDeveloper.

Maybe you are looking for