Application deployed on weblogic requires ssl to access another website

Hi all,
I'll illustrate my problem below. I have an application deployed on WL9.2. Within this application, there is a link to a https website. When I click on the link (within the application), I get an error message "[Security:090477]Certificate chain received from a.b.c.d - a.b.c.d was not trusted causing SSL handshake failure." a.b.c.d is the ip of the https website.
When I access the same https website from my desktop's browser, I am prompted to accept a certificate. Once I accepted the cert, I can access the website.
I reckon I have to install the certificate somewhere in my weblogic server, but where ? Is it to the JAVA_HOME/jre/lib/security/cacerts where my WL server is installed on? If yes, how do i append the certificate to the file? I tried to open the file, it is not human readable.
Any advise?

by using keytool u can able to create a key store ,create a certificate and sign the certificate.after doiing all these things u have to configure to particular server on which u need.
1.open the admin console see the servers and select one server on which u need to enable ssl
2.in tabs panel u r able to see the KEYSTORE tab,click that
3.give the required parameters
4.dont give any values to trust fields
while doing this u will get A promt llike FOR THIS U HAVE TO CONFIGURE SSL ALSO for that follow the steps
1.go to ssl tab beside the keystore tab
2.give required parameter and enable the ssl atribute.
after doing all once restart the admin server then u will get response through https......

Similar Messages

  • Profiling of Application deployed in weblogic

    Hi All,
    I am looking for a profiling a application deployed in weblogic.
    I used jvisualvm & Jconsole. But I am looking for visual tool which can show the class/reference like jvisualvm does under profile section.
    But for my weblogic, it is not showing any reference.
    I guess either i need to give special java option while starting weblogic or need to use some other profiler.
    Any help will be appreciated.

    Hi,
    You can use JRockit Mission Control to profile your application on weblogic.
    http://www.oracle.com/technetwork/middleware/jrockit/overview/index-090630.html

  • ADF Application deployment with weblogic server

    Hi friends,
    I am getting error while deploying the application through JDeveloper to Standalone Weblogic Server.
    Error :
    =====
    An error occurred during activation of changes, please see the log for details.
    weblogic.management.DeploymentException:
    oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
    JDeveloper : 11.1.1.6.0.
    Weblogic : 10.3.5
    ofm : 11.1.1.6.0
    weblogic-application.xml:
    ================
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd"
    xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
    <listener>
    <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
    </listener>
    <listener>
    <listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
    </listener>
    <library-ref>
    <library-name>adf.oracle.domain</library-name>
    </library-ref>
    </weblogic-application>
    please tell me the exact issue...is there any more library required.
    thanks,
    parame

    Hi Timo,
    How to check ADF runtime installed or not in managed server through console ?
    Below mentioned full trace error log....
    <parameswaran-PC> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <871ba2ae9678192d:5fdef18c:13b8a573005:-8000-0000000000000122> <1355236889723> <BEA-149078> <Stack trace for message 149004
    weblogic.management.*DeploymentException*:
         at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:176)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:104)
         at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
         at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:103)
         at weblogic.application.internal.flow.HeadLifecycleFlow.createListeners(HeadLifecycleFlow.java:175)
         at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:281)
         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)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:140)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:108)
         at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
         at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:103)
         at weblogic.application.internal.flow.HeadLifecycleFlow.createListeners(HeadLifecycleFlow.java:175)
         at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:281)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:614)
         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)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:160)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:47)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    thanks
    parame

  • Issues with spring application deployment on weblogic

    Hi,
    We have a weblogic server which doesn't have access to internet. I am trying to deploy a spring application, i get the following error. Can somebody suggest how to fix this issue.
    [12:31:58 PM] Entering Oracle Deployment Plan Editor
    [12:32:22 PM] Redeploying Application...
    [12:33:04 PM] [Deployer:149191]Operation 'deploy' on application 'TEST_application1' is initializing on 'server1'
    [12:33:12 PM] [Deployer:149193]Operation 'deploy' on application 'TEST_application1' has failed on 'server1'
    [12:33:12 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application TEST_application1 on bi_cluster.: :oracle.xml.parser.schema.XSDException:Tried all: '1' addresses, but could not connect over HTTP to server: 'www.springframework.org', port: '80'.
    [12:33:12 PM] Weblogic Server Exception: weblogic.application.ModuleException: :oracle.xml.parser.schema.XSDException:Tried all: '1' addresses, but could not connect over HTTP to server: 'www.springframework.org', port: '80'
    [12:33:12 PM] See server logs or server console for more details.
    [12:33:12 PM] weblogic.application.ModuleException: :oracle.xml.parser.schema.XSDException:Tried all: '1' addresses, but could not connect over HTTP to server: 'www.springframework.org', port: '80'
    [12:33:12 PM] #### Deployment incomplete. ####
    [12:33:12 PM] Remote deployment failed
    I am expecting, the validator should pick up the xsd/DTD from the classpath instead of going over the internet, isn't it?
    Versions
    Jdeveloper : 11.1.1.6.0
    Weblogic : 10.3
    Thanks

    **Is it recommended have a managed server for each and every deployment or can we have multiple deployments under one managed server.
    --You can deploy multiple applications of one single managed server.
    **Will there be any performance issues when multiple deployments are running on one managed server?
    --There will not be performance issue as such; however you have to make sure that the system and server configurations meets the requirements.
    --WebLogic Server allows you to configure a work manager where you define the rules and constraints for your application to boost the performance.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/config_wls/self_tuned.html
    **Also can we have each deployment on one managed server listen on common http port?
    --Just to make sure if I understood correctly, did you mean one deployment per managed server listen on same http port?
    --If yes, each managed server will have its own unique http port. So application deployed on that will be using a port associated with that managed server.
    --In case if you want all the applications to use a same IP/Port, you can use proxy which will route the requests to these applications deployed on different managed servers.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/plugins/overview.html

  • Application deployment on WebLogic 10.3.2

    I am trying to understand the best practice to deploy web applications on WebLogic 10.3.2. Is it recommended have a managed server for each and every deployment or can we have multiple deployments under one managed server. Will there be any performance issues when multiple deployments are running on one managed server? Also can we have each deployment on one managed server listen on common http port?
    Please advice.

    **Is it recommended have a managed server for each and every deployment or can we have multiple deployments under one managed server.
    --You can deploy multiple applications of one single managed server.
    **Will there be any performance issues when multiple deployments are running on one managed server?
    --There will not be performance issue as such; however you have to make sure that the system and server configurations meets the requirements.
    --WebLogic Server allows you to configure a work manager where you define the rules and constraints for your application to boost the performance.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/config_wls/self_tuned.html
    **Also can we have each deployment on one managed server listen on common http port?
    --Just to make sure if I understood correctly, did you mean one deployment per managed server listen on same http port?
    --If yes, each managed server will have its own unique http port. So application deployed on that will be using a port associated with that managed server.
    --In case if you want all the applications to use a same IP/Port, you can use proxy which will route the requests to these applications deployed on different managed servers.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/plugins/overview.html

  • BI Beans application deploy to Weblogic Server Error

    Who can help me to resolve this error?
    I follow the "Deploying Applications to BEA WebLogic ServerVersion 9.0.3" document from OTN web site, but i use the BEA weblogic server 6.1,not weblogic server 7.0.
    When i deploy the BI Beans application to BEA WLS6.1, then happen the follow error message, every consultants can help me,please.
    **************Error Message************
    Fri Mar 07 10:23:30 CST 2003 TRACE: In oracle.dss.connection.server.ConnectionImpl::connect: -ConnectionBean-Server: is going to connect - (DriverType=MDM)
    Fri Mar 07 10:23:30 CST 2003 TRACE: In oracle.dss.connection.server.ConnectionImpl::connect: -ConnectionBean-MDMDriver: Connected Successfully: Time=200ms
    Fri Mar 07 10:23:30 CST 2003 TRACE: In oracle.dss.connection.server.ConnectionImpl::connect: -ConnectionBean-Server: is going to connect - (DriverType=PERSISTENCE)
    Fri Mar 07 10:23:30 CST 2003 TRACE: In oracle.dss.connection.server.drivers.persistence.PersistenceConnectionDriverImpl::connect: -ConnectionBean-PersistenceDriver is going to connect
    Fri Mar 07 10:23:30 CST 2003 TRACE: In
    oracle.dss.connection.server.drivers.persistence.PersistenceConnectionDriverImpl::connect: (ServiceName=null; Prinicipal=Local User; Username=null)
    Fri Mar 07 10:23:30 CST 2003 TRACE: In oracle.dss.persistence.storagemanager.bi.BIFileStorageManagerImpl::init: [Initializing oracle.dss.persistence.storagemanager.bi.BIFileStorageManagerImpl, env:{global_environment={locale_helper=oracle.dss.persistence.LocaleHelper@22e15b, persistence_errorhandler=oracle.dss.util.DefaultErrorHandler@792a41}, Connection Status=2, java.naming.security.principal=Local User, java.naming.factory.url.pkgs=weblogic.jndi.factories, securityDriverManager=oracle.dss.appmodule.server.DSSApplicationModuleImpl@4532ba, path=bidefs/BIBeanPrjBIDesigner2/, am=oracle.dss.appmodule.server.DSSApplicationModuleImpl@4532ba, Driver Type=PERSISTENCE, java.naming.factory.initial=oracle.dss.persistence.persistencemanager.server.InitPersistenceManagerFactory, mm=true, object_name=Connection_1, SET_ON_MID_TIER=NO, sm_driver=oracle.dss.persistence.storagemanager.bi.BIFileStorageManagerImpl}
    Fri Mar 07 10:23:30 CST 2003 TRACE: In oracle.dss.connection.server.ConnectionImpl::disconnect: -ConnectionBean-Server: is going to disconnect
    Fri Mar 07 10:23:30 CST 2003 TRACE: In oracle.dss.connection.server.drivers.mdm._92.MDMConnectionDriverImpl_92::connect: -ConnectionBean-MDMDriver is disconnected from OLAPI
    <2003/3/7 上午10時23分30秒> <Error> <HTTP> <[WebAppServletContext(8339407,Defaul
    tWebApp,/DefaultWebApp)] null
    oracle.dss.persistence.persistencemanager.common.PersistenceManagerRuntimeException: BIB-14122: The specified StorageManager could not be created.
    oracle.dss.bicontext.BICannotProceedException: BIB-14820 根路徑不存在。
    at oracle.dss.persistence.persistencemanager.server.PersistenceManagerSupport.loadStorageAdapterFromXML(PersistenceManagerSupport.java:442)
    at oracle.dss.persistence.persistencemanager.server.PersistenceManagerSupport.<init>(PersistenceManagerSupport.java:145)
    at oracle.dss.persistence.persistencemanager.server.PersistenceManagerImpl.<init>(PersistenceManagerImpl.java:99)
    at oracle.dss.persistence.persistencemanager.server.InitPersistenceManagerFactory.getInitialContext(InitPersistenceManagerFactory.java:29)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:198)
    at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:83)
    at oracle.dss.persistence.persistencemanager.server.InitialPersistenceManager.<init>(InitialPersistenceManager.java:103)
    at oracle.dss.connection.server.drivers.persistence.PersistenceConnectionDriverImpl.connect(PersistenceConnectionDriverImpl.java:147)
    at oracle.dss.connection.server.ConnectionImpl.connect(ConnectionImpl.java:279)
    at oracle.dss.connection.client.Connection.connect(Connection.java:401)
    at oracle.dss.connection.client.Connection.connect(Connection.java:320)
    at oracle.dss.metadataManager.client.MetadataManager.setConnectionObjects(MetadataManager.java:3985)
    at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:852)
    at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:792)
    at oracle.dss.datautil.client.XMLManagerFactory.createQueryManager(XMLManagerFactory.java:187)
    at oracle.dss.datautil.client.ManagerFactoryImpl.lookupQueryManager(ManagerFactoryImpl.java:176)
    at oracle.dss.datautil.client.ManagerFactoryImpl.lookupMetadataManager(ManagerFactoryImpl.java:219)
    at oracle.dss.datautil.client.ManagerFactoryImpl.lookupManager(ManagerFactoryImpl.java:128)
    at biServlet.LoginOperation.initializeMetadataManager(LoginOperation.java:425)
    at biServlet.LoginOperation.run(LoginOperation.java:166)
    at biServlet.DefaultApplicationImpl.login(DefaultApplicationImpl.java:473)
    at biServlet.AbstractControllerImpl.preRequestProcess(AbstractControllerImpl.java:1396)
    at my.BIController1.preRequestProcess(BIController1.java:358)
    at biServlet.AbstractControllerImpl.processRequest(AbstractControllerImpl.java:1498)
    at biServlet.AbstractControllerImpl.doGet(AbstractControllerImpl.java:262)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:263)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2390)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    What can I do with the following exception?
    D:\bea_home\user_projects\mydomain>echo off
    CLASSPATH=D:\bea_home\jdk131_03\lib\tools.jar;D:\bea_home\weblogic700\server\lib
    \weblogic_sp.jar;D:\bea_home\weblogic700\server\lib\weblogic.jar;d:\oraids\jlib\
    bigraphbean.jar;d:\oraids\jlib\LW_PfjBean.jar;d:\oraids\jlib\bigraphbean-nls.zip
    ;D:\jdev\jlib\bigraphbean.jar;D:\jdev\jlib\LW_PfjBean.jar;D:\jdev\jlib\bigraphbe
    an-nls.zip;D:\jdev\jdev\lib\ext\weblogic.jar
    PATH=.;D:\bea_home\weblogic700\server\bin;D:\bea_home\jdk131_03\bin;d:\oraids\bi
    n;d:\oraids\jdk\jre\bin;d:\oraids\jdk\jre\bin\classic;d:\oraids\jdk\jre\bin\clas
    sic;d:\oraids\jlib;d:\oraids\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre
    \1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\W
    INNT\System32\Wbem;d:\notes\;D:\ULTRAE~1
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://[hostname]:[port]/console *
    D:\bea_home\user_projects\mydomain>"D:\bea_home\jdk131_03\bin\java" -server -Xms
    32m -Xmx200m -Dweblogic.security.SSL.trustedCAKeyStore=D:\bea_home\weblogic700\s
    erver\lib\cacerts -Djava.ext.dirs=D:\bea_home\jdk131_03\jre\lib\ext;D:\bea_home\
    weblogic700\samples\server\jdbc -Dweblogic.Name=myserver -Dbea.home="D:\bea_home
    " -Dweblogic.management.username= -Dweblogic.management.password= -Dweblogic.Pro
    ductionModeEnabled= -Djava.security.policy="D:\bea_home\weblogic700\server\lib\w
    eblogic.policy" weblogic.Server
    <2003-9-11 下午06时34分46秒> <Info> <Security> <090065> <Getting boot identity f
    rom user.>
    Enter username to boot WebLogic server:admin
    Enter password to boot WebLogic server:
    Starting WebLogic Server...
    <2003-9-11 下午06时34分58秒> <Notice> <Management> <140005> <Loading configurati
    on D:\bea_home\user_projects\mydomain\.\config.xml>
    <2003-9-11 下午06时35分06秒> <Notice> <Security> <090082> <Security initializing
    using realm myrealm.>
    <2003-9-11 下午06时35分06秒> <Notice> <WebLogicServer> <000327> <Starting WebLog
    ic Admin Server "myserver" for domain "mydomain">
    <2003-9-11 下午06时35分25秒> <Notice> <Management> <141052> <Application Poller
    started for development server.>
    <2003-9-11 下午06时35分28秒> <Notice> <WebLogicServer> <000354> <Thread "SSLList
    enThread.Default" listening on port 7002>
    <2003-9-11 下午06时35分29秒> <Notice> <WebLogicServer> <000354> <Thread "ListenT
    hread.Default" listening on port 7001>
    <2003-9-11 下午06时35分29秒> <Notice> <Management> <141030> <Starting discovery
    of Managed Server... This feature is on by default, you may turn this off by pas
    sing -Dweblogic.management.discover=false>
    <2003-9-11 下午06时35分30秒> <Notice> <WebLogicServer> <000331> <Started WebLogi
    c Admin Server "myserver" for domain "mydomain" running in Development Mode>
    <2003-9-11 下午06时35分30秒> <Notice> <WebLogicServer> <000365> <Server state ch
    anged to RUNNING>
    <2003-9-11 下午06时35分30秒> <Notice> <WebLogicServer> <000360> <Server started
    in RUNNING mode>
    Thu Sep 11 18:38:03 CST 2003 TRACE: In oracle.dss.connection.server.ConnectionIm
    pl::connect: -ConnectionBean-Server: is going to connect - (DriverType=MDM)
    Thu Sep 11 18:38:04 CST 2003 TRACE: In oracle.dss.connection.server.ConnectionIm
    pl::connect: -ConnectionBean-MDMDriver: Connected Successfully: Time=1342ms
    Thu Sep 11 18:38:04 CST 2003 TRACE: In oracle.dss.connection.server.ConnectionIm
    pl::connect: -ConnectionBean-Server: is going to connect - (DriverType=PERSISTEN
    CE)
    Thu Sep 11 18:38:04 CST 2003 TRACE: In oracle.dss.connection.server.drivers.pers
    istence.PersistenceConnectionDriverImpl::connect: -ConnectionBean-PersistenceDri
    ver is going to connect
    Thu Sep 11 18:38:04 CST 2003 TRACE: In oracle.dss.connection.server.drivers.pers
    istence.PersistenceConnectionDriverImpl::connect: (ServiceName=null; Prinicipal
    =Local User; Username=null)
    Thu Sep 11 18:38:04 CST 2003 TRACE: In oracle.dss.persistence.storagemanager.bi.
    BIFileStorageManagerImpl::init: [Initializing oracle.dss.persistence.storagemana
    ger.bi.BIFileStorageManagerImpl, env:{global_environment={locale_helper=oracle.d
    ss.persistence.LocaleHelper@6351a2, persistence_errorhandler=oracle.dss.util.Def
    aultErrorHandler@496f0}, Connection Status=2, java.naming.security.principal=Loc
    al User, java.naming.factory.url.pkgs=weblogic.jndi.factories, securityDriverMan
    ager=oracle.dss.appmodule.server.DSSApplicationModuleImpl@517ead, path=bidefs/we
    blogicBIDesigner1/, am=oracle.dss.appmodule.server.DSSApplicationModuleImpl@517e
    ad, Driver Type=PERSISTENCE, java.naming.factory.initial=oracle.dss.persistence.
    persistencemanager.server.InitPersistenceManagerFactory, mm=true, object_name=Co
    nnection_1, SET_ON_MID_TIER=NO, sm_driver=oracle.dss.persistence.storagemanager.
    bi.BIFileStorageManagerImpl}
    <2003-9-11 下午06时38分04秒> <Error> <HTTP> <101017> <[ServletContext(id=4561108
    ,name=webapp.war,context-path=/weblogic_app)] Root cause of ServletException
    java.lang.NoSuchMethodError
    at oracle.dss.thin.beans.CaboErrorHandler.error(CaboErrorHandler.java:10
    2)
    at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.
    java:191)
    at jsp_servlet.__untitled1._jspService(__untitled1.java:140)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:445)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >
    Thu Sep 11 19:08:26 CST 2003 TRACE: In oracle.dss.connection.server.ConnectionIm
    pl::connect: -ConnectionBean-Server: is going to connect - (DriverType=PERSISTEN
    CE)
    Thu Sep 11 19:08:26 CST 2003 TRACE: In oracle.dss.connection.server.drivers.pers
    istence.PersistenceConnectionDriverImpl::connect: -ConnectionBean-PersistenceDri
    ver is going to connect
    Thu Sep 11 19:08:26 CST 2003 TRACE: In oracle.dss.connection.server.drivers.pers
    istence.PersistenceConnectionDriverImpl::connect: (ServiceName=null; Prinicipal
    =Local User; Username=null)
    Thu Sep 11 19:08:26 CST 2003 TRACE: In oracle.dss.persistence.storagemanager.bi.
    BIFileStorageManagerImpl::init: [Initializing oracle.dss.persistence.storagemana
    ger.bi.BIFileStorageManagerImpl, env:{global_environment={locale_helper=oracle.d
    ss.persistence.LocaleHelper@72d194, persistence_errorhandler=oracle.dss.util.Def
    aultErrorHandler@496f0}, Connection Status=2, java.naming.security.principal=Loc
    al User, java.naming.factory.url.pkgs=weblogic.jndi.factories, securityDriverMan
    ager=oracle.dss.appmodule.server.DSSApplicationModuleImpl@517ead, path=bidefs/we
    blogicBIDesigner1/, am=oracle.dss.appmodule.server.DSSApplicationModuleImpl@517e
    ad, Driver Type=PERSISTENCE, java.naming.factory.initial=oracle.dss.persistence.
    persistencemanager.server.InitPersistenceManagerFactory, mm=true, object_name=Co
    nnection_1, SET_ON_MID_TIER=NO, sm_driver=oracle.dss.persistence.storagemanager.
    bi.BIFileStorageManagerImpl}
    <2003-9-11 下午07时08分26秒> <Error> <HTTP Session> <100025> <Unexpected error i
    n HTTP session timeout callback
    java.lang.NoSuchMethodError
    at oracle.dss.thin.beans.CaboErrorHandler.error(CaboErrorHandler.java:10
    2)
    at oracle.dss.addins.thin.common.BaseThinSession.cleanup(BaseThinSession
    .java:307)
    at oracle.dss.addins.thin.common.BaseThinSession.valueUnbound(BaseThinSe
    ssion.java:159)
    at weblogic.servlet.internal.session.SessionData.removeAttribute(Session
    Data.java:588)
    at weblogic.servlet.internal.session.SessionData.removeAttribute(Session
    Data.java:552)
    at weblogic.servlet.internal.session.SessionData.remove(SessionData.java
    :747)
    at weblogic.servlet.internal.session.MemorySessionContext.invalidateSess
    ion(MemorySessionContext.java:51)
    at weblogic.servlet.internal.session.SessionContext$SessionInvalidator$I
    nvalidationAction.run(SessionContext.java:523)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:744)
    at weblogic.servlet.internal.session.SessionContext$SessionInvalidator.c
    leanupExpiredSessions(SessionContext.java:444)
    at weblogic.servlet.internal.session.SessionContext.deleteInvalidSession
    s(SessionContext.java:81)
    at weblogic.servlet.internal.session.SessionContext$SessionInvalidator.t
    rigger(SessionContext.java:392)
    at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.j
    ava:181)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:744)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(Schedul
    edTrigger.java:167)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigg
    er.java:161)
    at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:3
    8)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

  • ADF application deployed on Weblogic..access denied error

    I have deployed an ADF application on WebLogic Server. My ADF application is using multiple application modules. I have also created a datasource using Oracle XA driver to connect to the database. Now I am able to login to my application and on one page getting the details from the database. This makes sure that there is no problem with database connectivity. However, when I click on a hyperlink I get a jspx page which only shows the field names. I am not getting any field values and ADF BC table row shows "Access Denied" message. This did not happen on Oracle AS. I am using examplesServer (Admin) server of weblogic. I have deployed my application on other machines and also tried to connect to different databases but all leading to the same problem. Also, If I click on any link after that, I get this error:
    oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (oracle.apps.aia.bsr.admin.model.BsrAdminAMLocal) failed to checkout an application module due to the following exception:
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1543)
    at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1404)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
    at oracle.adf.model.BindingContext.get(BindingContext.java:457)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
    at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
    at oracle.adf.model.binding.DCIteratorBinding.(DCIteratorBinding.java:127)
    at oracle.jbo.uicli.binding.JUIteratorBinding.(JUIteratorBinding.java:60)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
    at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
    at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
    at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
    at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
    at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
    at oracle.adf.model.BindingContext.get(BindingContext.java:483)
    at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
    at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
    I have already installed ADF run time libraries on Weblogic server.
    Any help would be really appreciated.
    Thanks.
    Message was edited by:
    Vivek Raut

    Also,
    I checked the "monitoring" window of my datasource on weblogic server and saw that there are no failed database connections. So, the problem of a broken database connectivity can be ruled out.
    --Vivek                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • ADF application deployed to Weblogic producing runtime error

    Hi all,
    We are trying to deploy a new ADF application built by JDeveloper 11.1.1.5.0 to a standalone weblogic (*version 10.3.1.0*)
    The app deploys and runs on integrated wls without any problems, and deploys to the standalone wls without any warnings or errors, but does not run on standalone wls :(
    I checked many possible errors and tried many possible solutions, including, but not limited to;
    --> Checked tag references and page components on jsp/jspx pages, deleted unused or possibly unsupported tags from pages and taglibs from ui project (trinidad components 1.2), but still I get the error
    --> Using 2 different machines with JDev 11.1.1.5 we created test applications with same tech stack, tag libraries and tag references, deployed to standalone wls and they run without problems (!)
    --> Checked web.xml, the file contents and references are the same as of other applications whic are deployed from same environment to the same standalone wls and running without problems (these applications are referenced as "other working applications" following this line)
    --> In sessions.xml, the db connection is default, the file includes 2 references <server-platform xsi:type="weblogic-10-platform"/> and <primary-project xsi:type="xml">META-INF/tlMap.xml</primary-project>
    --> All projects (Model and view) are cleaned and rebuilt, deployment files are recreated, application ear is recreated, runtime application name and context root name ise changed, but still no luck, I get the same error
    --> Project technology stacks are checked and all tech stacks are configured same as "other working apllications" (since their technical architectures are the same)
    --> Checked application datasources; database connections of this application automatically create datasources, for connection dbconn1 there exists a datasource named dbconn1DS as a module in the deployed application. Other working applications had datasources with same name; to prevent a possible conflict in JNDI names of these datasources I changed the name of the db connection to a unique name, deleted the old connection and datasource. But still no luck, error is still SAME.
    --> Test applications (which have trinidad components 1.2 as tag library and there are references to it from page files) run on standalone wls, removing this taglib and the references does not make a difference. But the real application gives error when trinidad is removed from the tag libraries (java.lang.NoSuchMethodError: resetADFContext)
    --> Created new jspx pages which are not using backing beans and tried to access these, but I received the SAME error for these pages as well. Removed all jspx pages except the dummy test pages, and still no change.
    One final note; html pages in the project open without problems, as their url are different from the jspx files ( "host/appName/Test.html instead" of "host/appName/faces/Test.jspx" ) and when these pages open, the server log and console indicates new sessions created by this request.
    This is the famous error I get on the server log every time I try to access a jspx file:
    ####<Jul 31, 2012 9:14:12 AM EEST> <Error> <HTTP> <hostname> <ADF_SRV1> <[ACTIVE] ExecuteThread: '24' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1343715252920> <BEA-101020>
    <[ServletContext@142296767[app:KiymetliEvrak module:KiymetliEvrak path:/KiymetliEvrak spec-version:2.5]] Servlet failed with Exception
    java.lang.NullPointerException
         at oracle.adfinternal.controller.util.AdfvInterfaceImpl.addQueryParameters(AdfvInterfaceImpl.java:162)
         at oracle.adfinternal.controller.state.ControllerState.initializeUrl(ControllerState.java:708)
         at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart2(ControllerState.java:467)
         at oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:46)
         at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:531)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:124)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:70)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:352)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    Could anybody please help, where to focus to see the REAL indications and solutions of this annoying error? Soon I will get this application to production environment, so any help would be appreciated.
    Thanks in advance...

    Ok, I think I should give the update, on how I struggled to solve the problem;
    --> I did NOT update the wls, since it is the production server and has many applications and services running on it , I could not take the risk of breaking those.
    --> I migrated, or rewrote the application on JDeveloper 11.1.1.1.0, rewrote the toplink map file, descriptors, pageDefs bla bla, to make it compatible with wls 10.3.1.0.
    --> Then I tested the app on JDev 11.1.1.1.0 ok, then opened the same application on JDev 11.1.1.5.0 then tested ok....
    --> And I deployed the application from JDev 11.1.1.5.0 to the standalone wls, and this is where the magic happened, the app worked without error on standalone wls 10.3.1.0
    +( Just a note: I really wonder, where is the backward, or forward compatibility of ide and server runtimes? )+
    Anyway, it is a big lesson for me about choosing the ide version for a specific server.
    Thank you...

  • Cannot start application deployed using Weblogic console after stop

    Hello all,
    I have deployed an ear file using Weblogic console. If the app. is running, I can press stop and get the 404 error...after that I press start, and get a 503 error. Right after the app is deployed, and started, it always comes up fine. But when the application is running, I must click stop, start, stop, start to get the app to start.
    To start the app. I select, start and then "servicing all requests". To stop the app, I select stop and then "Force stop now". I have implemented a subclass of ServletContextListener to handle the start and stop. These methods do get called.
    The 503 did not cause any errors to be found in the weblogic.log, stdout.log or access.log.
    Does anyone have an idea how to start the app after it is stopped the first time?
    Thanks in advance.
    -PD
    Edited by pauladecker at 10/01/2007 1:47 PM

    Hi,
    As you see this error.
    [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.sdp.client, exact-match: false].
    there is some miss match in library reference.
    Please check with your weblogic-application.xml file.
    Regards,
    Kal

  • Please help me about jdeveloper application deployment for weblogic

    At the beginning I just thought after developing an adf application then just deploy it as a .ear file and deploy it in the weblogic console and everything will be ok.But in fact I got a lot of problems. Then I got a tutorial for that and I do what it said step by step but some new problems occured. This is the tutorial I mentioned: [How-To: ADF Deployment Guide|http://www.oracle.com/webfolder/technetwork/jdeveloper/howto/11114/managedserver/wlsadfms.htm]
    Now could somebody tell how did you deploy your adf application?
    Here is the errors I got.
    This is the install packege and the OS I use:
    1. CentOS 6.3_x64 + jdeveloper11123.jar(include wls10.3.5) + adr(package name is ofm_appdev_generic_11.1.1.6.0_disk1_1of1.zip)[and just now I used a solaris11 vm from oracle and install jdeveloper11.1.2.3, the same probem occured as in CentOS.]
    2. Win7_x64 + jdeveoper11123.exe(include wls10.3.5) + adr mentioned above
    Here is the problems I get:
    in the case 1,after I install the jdeveloper(using sun jdk 1.7), the weblogic seems to be well though I didn't configure a domain.But after I open an
    application(which I get from the oracle jdeveloper tutorial demo,which works well in my Win7 env) and I run it, the integrated weblogic can't get
    started. Firstly in the console it said the -jrocket identifier is not recognized, then I modify the setDomainEnv.sh and the startWebLogic.sh file in the
    integrated wls domain (the one in the .jdeveloper directer) to set the JAVA_VM variable to -server.After that another problem came out: when the
    wls goes to status "starting",it is blocked and I turn to the system monitor it shows that a java thread using more than 1GB of memory of my system
    and occupy 150% of my cpu(it's a double-core computer). I wait for about 5 minutes when a error came said "PermSize is too small".then I modify the
    setDomainEnv.sh file again to set the PermSize to be 1024m and MaxPermSize to be 2048.(the variable name is something like that, maybe not the
    exactly right. I think you can understand which one it is.) But the problem is still there.
    then in the case 2.Firstly the jdev and the integrated wls works well, but when i deploy an application which works well to a ear file and deploy it to a
    standalone wls(10.3.5) it never works.the error is something referrence/dependences libraries is not found.Then I tried to new a server connection to
    the standalone wls and I got the tutorial [how_to_deploy_adf|http://www.oracle.com/webfolder/technetwork/jdeveloper/howto/11114/managedserver/wlsadfms.html] , as the tutorial said I patch my standalone
    wls with the adr and everything goes ok, no error reported.Then I tried the new server in the new machine under the manage of the adminserver and apply the
    adf template in the localhost:port/em console. But after I restart the new server(by the console and then by the stop+startweblogic.bat file) the server is running
    while the application in the new server is just "Unavailable". I tried this for three times in three computer, two of them are running win7,the other one is running winxp.
    I don't know what is wrong and I am totally a newbie about this. Somebody please help me.Thanks a lot!
    regard,Neo.

    Neo,
    there are a couple of problems. First of all, jdev comes with it'S own jdk bundled in the product (jdk 1.6_x). Next thing is if you use JDev 11.1.2.3.0 to build an application you must use a wls 10.3.5 or 10.3.6 where you need to install the correct runtime onto. In your case you first install adf runtime 11.1.1.6.0 and then you need to install two patches which update the adf runtime to 11.1.2.3.0. These spathes are only available via support.oracle.com, meaning you need asupport contract to get them.
    More information you can find in my blog http://tompeez.wordpress.com/2011/09/14/jdeveloper-versions-vs-weblogic-server-versions/
    The rest of your problems go away once you have installed the right adf runtime on your server.
    Timo

  • Web application deployed to weblogic 7.0 does't work

    Hi,
    I recently developed a web application. It runs perfectly in Jdeveloper Embeded server on my local machine. The app was talking to a orable 9i database.
    However after I deployed it to weblogic 7.0 server. All servlets don't work any more. Some give me 404 error which I figured it might have something to do with my web.xml. I didn't have enough servlet-mapping definition. I corrected and now I've got new 500 error. Please help. I'm wondering if I need to do some oralce configure thing in the admin console. But it does work in Jdevlopera. All connection statment and sql statements were in the servlet code. Is here anything I miss? please help. I've been stuggle with this for 3 days. Any tip will be highly appreciated. Thanks again.
    When I run a servlet by calling a URL. It gives me the following error. What could this go wrong?
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.

    Make sure to have the right servlet mapping:
    For example:
    <servlet-mapping>
    <servlet-name>Servlet1</servlet-name>
    <url-pattern>/Servlet1_Url</url-pattern>
    </servlet-mapping>
    Then call the servlet as
    http://Hostname:7001/contex_root/Servlet1_Url
    Since your servlet is talking to the Oracle9i database, If you come across any database connecting problems
    make sure classes12.jar is in the classpath before startting WebLogic7.0
    Make sure the WL_home/weblogic700/server/lib/classe12.zip is not loaded by moving it into a different folder.

  • Problem in web application deployment in weblogic 8.1

    hiiiiiiiii freinds!
    i am a newcomer in the field of servlets and JSPs.Me and my freinds are developing a client/server chat application but i am facing a problem in transferring the control from one JSP to another JSP.I am using Oracle 10g and weblogic 8.1upon clicking the submit button at login.jsp i am seeing following message at web browser.
    /loginhandler.jsp(4): class 'com.mycompany.login.Login' could not be loaded
    probably occurred due to an error in /loginhandler.jsp line 4:
    <jsp:useBean id="idHandler" class="com.mycompany.login.Login" scope="request" />
    codes for JSPs and bean class aregiven below-
    login.jsp
       1. <html> 
       2. <head><title></title> 
       3. <script language="javascript"> 
       4. function Validate(){ 
       5. var name=document.frm.userName 
       6. var password=document.frm.passWord 
       7.  
       8. if ((name.value==null)||(password.value=="")){ 
       9. alert("Please Enter user name") 
      10. user.focus() 
      11. return false 
      12. } 
      13. if ((name.value==null)||(password.value=="")){ 
      14. alert("Please Enter password") 
      15. pass.focus() 
      16. return false 
      17. } 
      18. return true 
      19. } 
      20. </script> 
      21. </head> 
      22. <body> 
      23. <form method="post" action="loginhandler.jsp"> 
      24. username - <input type="text" name="userName"><br> 
      25. password - <input type="password" name="passWord"><br> 
      26. <input type="submit" value="Submit"> 
      27. <input type="reset" value="Reset"> 
      28. </form> 
      29. <jsp:include page="showformat.jsp"/> 
      30. </body> 
      31. </html>  loginhandler.jsp
       1. <%@page contentType="text/html"%> 
       2. <%@page pageEncoding="UTF-8"%> 
       3. <%@page import="java.util.*" %> 
       4. <jsp:useBean id="idHandler" class="com.mycompany.login.Login" scope="request" /> 
       5. <jsp:setProperty name="idHandler" property="*" /> 
       6. </jsp:useBean> 
       7. <html> 
       8. <head><title></title></head> 
       9. <body> 
      10. <% 
      11. String userName = request.getParameter("userName"); 
      12. String passWord = request.getParameter("passWord"); 
      13. if (idHandler.authenticate(userName, passWord)){ 
      14. response.sendRedirect("welcome.jsp"); 
      15. } else { 
      16. response.sendRedirect("loginfailed.html"); 
      17. } 
      18. %> 
      19. </body> 
      20. </html>  welcome.jsp
       1. <html> 
       2. <head><title>welcome!!!!!!</title></head> 
       3. <body> 
       4. <% 
       5. String name=(String)request.getAttribute("userName"); 
       6. out.println("Welcome" +name); 
       7. %> 
       8. </body> 
       9. </html>  login.java
       1. package com.mycompany.login; 
       2. import java.sql.*; 
       3. import java.io.*; 
       4.  
       5. public class Login  
       6. { 
       7. //default constructor 
       8. public Login(){} 
       9. //method for the database connection 
      10. public Connection getConnection() 
      11. throws IOException{ 
      12. Connection conn = null; 
      13. try{ 
      14. Class.forName("oracle.jdbc.driver.OracleDriver"); 
      15. conn = DriverManager.getConnection( 
      16. "jdbc:oracle:thin:@localhost:1521:xe", 
      17. "system", 
      18. "abcdefgh"); 
      19. } 
      20. catch(SQLException e) 
      21. { 
      22. System.out.println("SQLException: " + e.getMessage()); 
      23. while((e = e.getNextException()) != null) 
      24. System.out.println(e.getMessage()); 
      25. } 
      26. catch(ClassNotFoundException e) 
      27. { 
      28. System.out.println("ClassNotFoundException: " + e.getMessage()); 
      29. } 
      30. return conn; 
      31. } 
      32. //method that is called from validateuser.jsp and this checks for the authentic user and 
      33. public boolean authenticate(String user, String pass) 
      34. throws SQLException, IOException{ 
      35. String Username = null, Password = null; 
      36. Login dbconn = new Login(); 
      37. Statement stmt = dbconn.getConnection().createStatement(); 
      38. String sql = "SELECT USER_NAME, PASS_WORD FROM LOGINDETAILS WHERE USER_NAME='" + user + "'" + "AND PASS_WORD='" + pass + "'"; 
      39. ResultSet rs = stmt.executeQuery(sql); 
      40. if(rs.next()){ 
      41. Username = rs.getString("USER_NAME"); 
      42. Password = rs.getString("PASS_WORD"); 
      43. } 
      44. if(Username != null && Password != null && user.equals(Username) && pass.equals(Password)){ 
      45. return true; 
      46. } 
      47. else return false; 
      48. } 
      49. }  it is requested that please don't neglect or ignore any programming error in pages as i am a newcomer in the field of web development.also suggest some good content and study material for developing interactive and user freindly chat client/server web application.reply as soon as possible!

    ya i have done it and i have put it under the sub directories of classes directory and also included the import also i have modified the codes but problem is same.
    login.jsp
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.util.*, java.text.*" errorPage="" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head><title></title>
    <script language="javascript">
    function Validate(){
    var name=document.frm.userName
    var password=document.frm.passWord
    if ((name.value==null)||(password.value=="")){
    alert("Please Enter user name")
    user.focus()
    return false
    if ((name.value==null)||(password.value=="")){
    alert("Please Enter password")
    pass.focus()
    return false
    return true
    </script>
    </head>
    <body>
    <form method="post" action="loginhandler.jsp">
    username - <input type="text" name="userName"><br>
    password - <input type="password" name="passWord"><br>
    <input type="submit" value="Submit">
    <input type="reset" value="Reset">
    </form>
    <br><br><br><br><br><br><br>  &nbsp
    </form>
    <jsp:include page="showformat.jsp"/>
    </body>
    </html>loginhandler.jsp
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd"><%@page contentType="text/html"%>
    <%@ page pageEncoding="UTF-8"%>
    <%@ page import="java.util.*" %>
    <%@ page import="com.mycompany.login" %>
    <jsp:useBean id="idHandler" class="com.mycompany.login.Login" scope="session">
    <jsp:setProperty name="idHandler" property="userName" />
    <jsp:setProperty name="idHandler" property="passWord" />
    </jsp:useBean>
    <html>
    <head><title></title></head>
    <%
    String userName = request.getParameter("userName");
    String passWord = request.getParameter("passWord");
    if(userName == null)
    userName = "";
    if(passWord == null)
    passWord = "";
    if(!userName.equals("") && !password.equals("")){
    session.setAttribute("User", userName);
    session.setAttribute("Password", passWord);
    if (idHandler.authenticate(userName, passWord)){
    response.sendRedirect("welcome.jsp");
    } else {
    response.sendRedirect("loginfailed.html");
    %>
    <body></body>
    </html>welcome.jsp
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*, java.io.*, java.util.*, java.text.*" errorPage="" %>
    <%@ page import="com.mycompany.login" %>
    <jsp:getProperty name="idHandler" property="*">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head><title>welcome!!!!!!</title></head>
    <body>
    <%
    String name=(String)session.getAttribute("User");
    out.println("Welcome" +name);
    %>
    </body>
    </html>
    (code)
    login.javapackage com.mycompany.login;
    import java.sql.*;
    import java.io.*;
    public class Login {
    String Username = null, Password = null;
    //default constructor
    public Login(){}
    //method for the database connection
    public Connection getConnection()
    throws IOException{
    Connection conn = null;
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver");
    conn = DriverManager.getConnection(
    "jdbc:oracle:thin:@localhost:1521:xe",
    "system",
    "abcdefgh");
    catch(SQLException e)
    System.out.println("SQLException: " + e.getMessage());
    while((e = e.getNextException()) != null)
    System.out.println(e.getMessage());
    catch(ClassNotFoundException e)
    System.out.println("ClassNotFoundException: " + e.getMessage());
    return conn;
    //method that is called from loginhandler.jsp and this checks for the authentic user and
    public boolean authenticate(String user, String pass)
    throws SQLException, IOException{
    Login dbconn = new Login();
    Statement stmt = dbconn.getConnection().createStatement();
    String sql = "SELECT USER_NAME, PASS_WORD FROM LOGINDETAILS WHERE USER_NAME='" + user + "'" + "AND PASS_WORD='" + pass + "'";
    ResultSet rs = stmt.executeQuery(sql);
    if(rs.next()){
    Username = rs.getString("USER_NAME");
    Password = rs.getString("PASS_WORD");
    if(Username != null && Password != null && user.equals(Username) && pass.equals(Password)){
    return true;
    else return false;
    public void setUsername(String name)
    Username=name;
    public String getUsername()
    return Username;
    public void setPassword(String password)
    Password=password;
    public String getPassword()
    return Password;

  • Configure Log File for each web application deployed in weblogic server usi

    Hi All,
    How do I configure Log4J to log separately for each web application? i.e. Assuming, I have a web application "AWeb" and a web application "BWeb". I need a log file to be created for AWeb Separately and BWeb Separately. i.e. All the log information for "AWeb" web application will be stored in AWeb.log and all the "BWeb" web application will be stored in BWeb.log
    Do you have any sample code and configuration details for the above-mentioned requirement?
    Thanks in Advance,
    C R Baradwaj

    You do not need to do anything strange, just use log4j the usual way with the exception that you do not need to init log4j (this is not necesary when using a log4j.xml.)
    A minimal sample of a log4j.xml is
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
    <appender name="ConsoleAppender" class="org.apache.log4j.ConsoleAppender">
    <layout class="org.apache.log4j.SimpleLayout"/>
    </appender>
    <root>
    <priority value ="debug" />
    <appender-ref ref="ConsoleAppender"/>
    </root>
    </log4j:configuration>
    You just have to be sure that you have different log4j.xml in your classpath for different web applications.
    Regards,
    LG

  • Shell script to monitor the application health deployed on weblogic

    Hi All,
    Is it possible to monitor the health of a application deployed on weblogic and send a mail if it is not running. I have JasperServer reporting application deployed on weblogic. The shell script should check if the application is running, if it down a mail should be sent.
    Thanks

    You can use WLST to get information on the state of your deployments, for example,
    the python script can be used
    class DeploymentInfo:
         def __init__(self,name,target):
              self.name = name;
              self.target = target;
         def getName(self):
              return self.name;
         def getTarget(self):
              return self.target;
    print 'CONNECT TO ADMIN SERVER';
    connect('weblogic', 'transfer11g');
    print 'OBTAINING DEPLOYMENT INFORMATION';
    deploymentsInfo = [];
    applications = cmo.getAppDeployments();
    for application in applications:
         name = application.getName();
         target = application.getTargets()[0].getName();
         deploymentsInfo.append(DeploymentInfo(name, target));
    print 'CHANGE TO DOMAIN RUNTIME ENVIRONMENT';
    domainRuntime();
    print 'APPLICATION LIFE CYCLE INFORMATION';
    applicationRuntime = cmo.getAppRuntimeStateRuntime();
    for deploymentInfo in deploymentsInfo:
         state = applicationRuntime.getCurrentState(deploymentInfo.getName(), deploymentInfo.getTarget())
         print 'Application: ' + deploymentInfo.getName() + ', State: ' + state;
         if (state != 'STATE_ACTIVE'):
              startApplication(deploymentInfo.getName());In the example above the application gets started when it is not running, you can also
    send an e-mail by using the smtplib package, for example
    import smtplib;
    server = smtplib.SMTP('email-server-host');
    server.set_debuglevel(1);
    server.sendmail(fromaddress, toaddress, message);
    server.quit();More information on the package smtplib can be found here:
    http://www.jython.org/docs/library/smtplib.html

  • EJB deployed in Weblogic 10.3 invoking CORBA

    Hello,
    we are running an EJB3 application deployed in WebLogic 10.3 that must communicate with CORBA.
    We're having the following exception when trying to submit an WorkOrder.
    javax.ejb.EJBException: EJB Exception: ; nested exception is:
    org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No; nested exception is: org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
    org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
    at weblogic.corba.idl.RemoteDelegateImpl.postInvoke(RemoteDelegateImpl.java:477)
    at weblogic.corba.idl.RemoteDelegateImpl.invoke(RemoteDelegateImpl.java:384)
    at weblogic.corba.idl.RemoteDelegateImpl.invoke(RemoteDelegateImpl.java:341)
    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
    at pt.vodafone.indev.esm.SMSProvExt._WorkOrderIntfStub.submit(_WorkOrderIntfStub.java:183)
    at pt.vodafone.in.business.WorkOrderFacade.createWorkOrder(WorkOrderFacade.java:227)
    I've searched the forum for similar problems and the solution was to include the wlfullclient.jar in client classpath.
    I've done that already however the problem persists. (maybe it's necessary to configure some IIOP parameters)
    Anyone have any clue for this problem?
    Thanks in advance.
    Regards.

    Hi,
    include wls-api.jar in your classpath and provide me an update...
    Regards.
    Kal.

Maybe you are looking for

  • Firefox is starting in the 32 bit mode it says Firefox*32.. How can i get rid of this?

    Firefox is starting in the 32 bit mode it says Firefox*32.. How can i get rid of this? Whenever i close Firefox and restart my computer it goes back to normal.There is also another problem associated with this which is that whenever Firefox is in 32

  • Generating a sequence of numbers

    Hi there, I'm trying to generate a number sequence. The description is as follows: a)1 is in the sequence b) If number X is in the sequence then so are the numbers 3*X, 5*X, and 7*X. c) No number appears more than once in the sequence, and d) No othe

  • IPhoto to install on my 10.7.5-MacBook?

    I bought iPhoto from my Mavericks-mac, now I want to install on my 10.7.5-MacBook but only see "not supported" iPhoto. What to do, thanks

  • I live in Hong Kong and i want to buy a iphone...HOW????

    i know a shop where you an buy iphones but i just need to know that is it necessary to have a A&T account? can i just use a SIM card?

  • Voicemails are stuck

    I have a user that seems to have "ghost" voicemails. The MWI is up on his phone and when he logs into his voicemail it says "You have 3 new messages". If he presses 1 to listen to his messages, it says "No more new messages". His IMAP mailbox is empt