Problem starting wls 6.1 sp2

Hi
I have developed an appliaction using wls 6.1 sp2 on w2k, which I want to migrate
to Solaris 8.
I have modified my windows statup scripts to Solaris, but I get a strange error
when starting weblogic. I am starting the server as root and my weblogic.policy
file is modified according to my installation.
Has anybody encountered anything similar?
<Feb 20, 2002 12:08:09 PM CET> <Critical> <Management> <Unable to deploy an internal
management web application - <all-internal-apps>. Managed servers may be unable
to start.
java.io.FileNotFoundException: ./config/Certifikat/.wlstaging/wl_management_internal2.war
(No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
at java.io.FileOutputStream.<init>(FileOutputStream.java:132)
at weblogic.management.mbeans.custom.ApplicationManager.stageGlobalWarFile(ApplicationManager.java:398)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:334)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:152)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:606)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:590)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:350)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:444)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
at $Proxy35.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:479)
at weblogic.management.Admin.startApplicationManager(Admin.java:1138)
at weblogic.management.Admin.finish(Admin.java:561)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:501)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:198)
at weblogic.Server.main(Server.java:35)
>
My startup script is as follows
bash-2.03$ more startWeblogic.sh
#!/usr/bin/bash
# Set user-defined variables.
export PROJECT=postdanmark
export ENVIRONMENT=test
export RELEASE_DIR=/opt/projects/$PROJECT/$ENVIRONMENT/lib
export JAVA_HOME=/opt/jdk/j2sdk1_3_1_02
export WEBLOGIC_HOME=/opt/bea/weblogic/6.1
export PATH=$WEBLOGIC_HOME/bin:$JAVA_HOME/jre/bin:$JAVA_HOME/bin:.:$PATH
export CLASSPATH=$RELEASE_DIR/internal/util/1.0/Util.jar
export CLASSPATH=$CLASSPATH:$WEBLOGIC_HOME/lib/weblogic.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/sun/jaxb/1.0ea/lib/jaxb-rt-1.0-ea.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/postdanmark/1.0/PostDanmarkPC.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/EntrustCAEjb/1.0/EntrustCAEjb.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/websupport/1.0/WebSupport.jar
export CLASSPATH=$CLASSPATH:/opt/projects/$PROJECT/$ENVIRONMENT/batch/properties
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/corba/interfaces/entrustca/1.2/EntrustCA.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/mysql/jdbc/2.0.4/mm.mysql-2.0.4-bin.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entbase.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entuser.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entp7.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entmisc.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entcertlist.jar
echo off
echo *********************************************
echo * Starting weblogic application server *
echo *********************************************
# Set WLS_PW equal to your system password for no password prompt server startup.
export WLS_PW=certifikat
# Set Production Mode. When set to true, the server starts up in production mode.
When set to false, the server starts up i
n development mode. The default is false.
export STARTMODE=false
export WEBLOGIC_OPTIONS='-Dweblogic.Domain=Certifikat'
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.Name=PostDanmarkServer"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.management.discover=false"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dbea.home=/opt/bea/weblogic/6.1"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Duser.home=/opt/projects/$PROJECTS/$ENVIRONMENT/weblogic"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Duser.dir=/opt/projects/$PROJECTS/$ENVIRONMENT/weblogic"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.management.password=$WLS_PW"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.ProductionModeEnabled=$STARTMODE"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.security.policy=$WEBLOGIC_HOME/lib/weblogic.policy"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.RootDirectory=/opt/projects/$PROJECT/$ENVIRONMENT/weblogic"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.util.logging.config.file=/opt/projects/$PROJECT/$ENVIRONMENT/batch/proper
ties/logging.properties"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.library.path=$WEBLOGIC_HOME/lib/solaris:$WEBLOGIC_HOME/lib/solaris/oci816
_8"
export JAVA_OPTIONS='-hotspot -ms64m -mx64m -classpath '
export JAVA_OPTIONS=${JAVA_OPTIONS}$CLASSPATH
echo on
echo "using JAVA OPTIONS : "$JAVA_OPTIONS"
echo "using WEBLOGIC OPTIONS : "$WEBLOGIC_OPTIONS"
"$JAVA_HOME/bin/java" $JAVA_OPTIONS $WEBLOGIC_OPTIONS weblogic.Server

Hi.
Try placing the wl_management_internal2.war file from the mydomain/.wlstaging directory into the directory your server is expecting.
Regards,
Michael
Peter Buus wrote:
Hi
I have developed an appliaction using wls 6.1 sp2 on w2k, which I want to migrate
to Solaris 8.
I have modified my windows statup scripts to Solaris, but I get a strange error
when starting weblogic. I am starting the server as root and my weblogic.policy
file is modified according to my installation.
Has anybody encountered anything similar?
<Feb 20, 2002 12:08:09 PM CET> <Critical> <Management> <Unable to deploy an internal
management web application - <all-internal-apps>. Managed servers may be unable
to start.
java.io.FileNotFoundException: ./config/Certifikat/.wlstaging/wl_management_internal2.war
(No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
at java.io.FileOutputStream.<init>(FileOutputStream.java:132)
at weblogic.management.mbeans.custom.ApplicationManager.stageGlobalWarFile(ApplicationManager.java:398)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:334)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:152)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:606)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:590)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:350)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:444)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
at $Proxy35.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:479)
at weblogic.management.Admin.startApplicationManager(Admin.java:1138)
at weblogic.management.Admin.finish(Admin.java:561)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:501)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:198)
at weblogic.Server.main(Server.java:35)
>
My startup script is as follows
bash-2.03$ more startWeblogic.sh
#!/usr/bin/bash
# Set user-defined variables.
export PROJECT=postdanmark
export ENVIRONMENT=test
export RELEASE_DIR=/opt/projects/$PROJECT/$ENVIRONMENT/lib
export JAVA_HOME=/opt/jdk/j2sdk1_3_1_02
export WEBLOGIC_HOME=/opt/bea/weblogic/6.1
export PATH=$WEBLOGIC_HOME/bin:$JAVA_HOME/jre/bin:$JAVA_HOME/bin:.:$PATH
export CLASSPATH=$RELEASE_DIR/internal/util/1.0/Util.jar
export CLASSPATH=$CLASSPATH:$WEBLOGIC_HOME/lib/weblogic.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/sun/jaxb/1.0ea/lib/jaxb-rt-1.0-ea.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/postdanmark/1.0/PostDanmarkPC.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/EntrustCAEjb/1.0/EntrustCAEjb.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/websupport/1.0/WebSupport.jar
export CLASSPATH=$CLASSPATH:/opt/projects/$PROJECT/$ENVIRONMENT/batch/properties
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/corba/interfaces/entrustca/1.2/EntrustCA.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/mysql/jdbc/2.0.4/mm.mysql-2.0.4-bin.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entbase.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entuser.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entp7.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entmisc.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entcertlist.jar
echo off
echo *********************************************
echo * Starting weblogic application server *
echo *********************************************
# Set WLS_PW equal to your system password for no password prompt server startup.
export WLS_PW=certifikat
# Set Production Mode. When set to true, the server starts up in production mode.
When set to false, the server starts up i
n development mode. The default is false.
export STARTMODE=false
export WEBLOGIC_OPTIONS='-Dweblogic.Domain=Certifikat'
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.Name=PostDanmarkServer"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.management.discover=false"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dbea.home=/opt/bea/weblogic/6.1"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Duser.home=/opt/projects/$PROJECTS/$ENVIRONMENT/weblogic"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Duser.dir=/opt/projects/$PROJECTS/$ENVIRONMENT/weblogic"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.management.password=$WLS_PW"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.ProductionModeEnabled=$STARTMODE"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.security.policy=$WEBLOGIC_HOME/lib/weblogic.policy"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.RootDirectory=/opt/projects/$PROJECT/$ENVIRONMENT/weblogic"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.util.logging.config.file=/opt/projects/$PROJECT/$ENVIRONMENT/batch/proper
ties/logging.properties"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.library.path=$WEBLOGIC_HOME/lib/solaris:$WEBLOGIC_HOME/lib/solaris/oci816
_8"
export JAVA_OPTIONS='-hotspot -ms64m -mx64m -classpath '
export JAVA_OPTIONS=${JAVA_OPTIONS}$CLASSPATH
echo on
echo "using JAVA OPTIONS : "$JAVA_OPTIONS"
echo "using WEBLOGIC OPTIONS : "$WEBLOGIC_OPTIONS"
"$JAVA_HOME/bin/java" $JAVA_OPTIONS $WEBLOGIC_OPTIONS weblogic.Server--
Michael Young
Developer Relations Engineer
BEA Support

Similar Messages

  • Problems starting WLS 6.1 on solaris...

    I have installed WLS in the sun solaris machine and have problems starting up a mydomain
    test server. I am getting:
    weblogic.management.configuration.ConfigurationException: - with nested exception:
    [weblogic.security.internal.FileUtilsException: couldn't create temporary file for
    SerializedSystemIni.dat, .new, /config/mydomain - with nested exception:
    [java.io.IOException: No such file or directory]]
    I am suspecting the problem might be that we have installed it as root and then change
    the rights to weblogic. Any pointers are greatly appreciated.
    Thanks.

    I'm guess you changed owner of config/mydomain to weblogic? To
    confirm - try touching/create a test file in config/mydomain,
    i.e. touch mytest.perm;ls -l mytest.perm;rm mytest.perm
    You could start weblogic with truss:
    truss -t open -o /tmp/truss.out -f "your start command"
    Then examine /tmp/truss.out
    "Dariusz" <[email protected]> wrote in message news:<3d08b130$[email protected]>...
    I have installed WLS in the sun solaris machine and have problems starting up a mydomain
    test server. I am getting:
    weblogic.management.configuration.ConfigurationException: - with nested exception:
    [weblogic.security.internal.FileUtilsException: couldn't create temporary file for
    SerializedSystemIni.dat, .new, /config/mydomain - with nested exception:
    [java.io.IOException: No such file or directory]]
    I am suspecting the problem might be that we have installed it as root and then change
    the rights to weblogic. Any pointers are greatly appreciated.
    Thanks.

  • Problems starting WLS on XP - Unable to bind to port

    Hi
    I recently changed my development environment from W2000 to XP.
    Apparently everything works as before.
    However, when I start WLS again shortly after stopping it (either by console or
    CTRL^C) I get the following error
    <01-10-2003 14:48:40 CEST> <Emergency> <WebLogicServer> <BEA-000351> <Unable to
    create a server socket on Channel Default for port: 28041. j
    ava.net.BindException: Address in use Perhaps another process is using port 28041.>
    <01-10-2003 14:48:40 CEST> <Emergency> <Security> <BEA-090085> <Server failed
    to bind to the configured port. The port may already be used b
    y another process.>
    <01-10-2003 14:48:40 CEST> <Emergency> <WebLogicServer> <BEA-000342> <Unable to
    initialize the server: Server failed to bind to the requeste
    d port. See preceeding log message for details.>
    This situation times out after an unpredictable delay (5-20 min) - and I can restart
    my WLS.
    Does anybody know how to resolve this problem.
    Regards
    Peter

    Hi Werner,
    SYSLOG is UDP port 514.  Normally this means that some other program is running and using port 514.
    Some of the TFTP servers are also SYSLOG servers and will "listen" on this port.
    You can see if port 514 is listening with Fabric Manager not running.
    To find out what is using port 514:
    (a)     Open a command prompt window.  From Start / Run enter: cmd
    (b)     From the command prompt enter: netstat -ano
    (c)      Note the PID (process identifier) associated with the ports you are  concerned about.  (Also note the Local Address, Foreign Address,  Protocol and State.)
    (d)     Then do ctrl-alt-del to bring up the Windows Task Manager.
    (e)     In Windows Task Manager, select the Processes tab.
    (f)      Look for the PID you noted when you did the netstat in step (c).  Look  to left to the image name and that tells you which process has that PID.
    - If you dont see a PID column, click on View / Select Columns.  Make sure PID is selected.  Click OK.
    - Make sure Show processes from all users is selected.
    Now you can see what process is using port 514.  FM would be listed as javaw.exe ( java exec without a console window ).
    Best regards,
    Jim

  • Problems starting WLS 7 server ... checkLicense NullPointerException

    Hi there,
    We have a clustered environment running WebLogic Server 7.0 Service Pack 4. In our cluster we're running two WLS instances essentially as webservers, to serve up static content.
    Starting and stopping the WLS instances is done using scripts written by a group of now-departed developers (we are not using NodeManager).
    The problem that we're having is that the "webserver" instances are very difficult to start up, and may require seven or eight attempts to start properly. Most of the time, we see the following NullPointerException in the server log:
    ====================================================
    <9-Nov-04 12:36:30 EST PM> <Notice> <WebLogicServer> <000360> <Server started in RUNNING mode>
    <9-Nov-04 12:36:30 EST PM> <Emergency> <WebLogicServer> <000209> <ListenThread.run() failed: java.lang.NullPointerException
    java.lang.NullPointerException
         at weblogic.t3.srvr.ListenThread.checkLicense(ListenThread.java:595)
         at weblogic.t3.srvr.ListenThread.run(ListenThread.java:333)
    >
    <9-Nov-04 12:36:30 EST PM> <Emergency> <WebLogicServer> <000210> <The WebLogic Server is no longer listening for connections. You should probably restart it.>
    ====================================================
    If WebLogic was having a hard time finding the license.bea file, I would expect that something more user-friendly than a NullPointerException would occur. Also, a simple problem with locating the license file doesn't really explain why the server eventually does come up properly, despite the fact that it can sometimes take many attempts.
    Unfortunately, since these servers are running in production we don't have the luxury to start and stop them at will to perform testing.
    Does anyone have any hints as to what might be causing this issue? Any advice would be much appreciated.
    Regards,
    jodym

    I'm guess you changed owner of config/mydomain to weblogic? To
    confirm - try touching/create a test file in config/mydomain,
    i.e. touch mytest.perm;ls -l mytest.perm;rm mytest.perm
    You could start weblogic with truss:
    truss -t open -o /tmp/truss.out -f "your start command"
    Then examine /tmp/truss.out
    "Dariusz" <[email protected]> wrote in message news:<3d08b130$[email protected]>...
    I have installed WLS in the sun solaris machine and have problems starting up a mydomain
    test server. I am getting:
    weblogic.management.configuration.ConfigurationException: - with nested exception:
    [weblogic.security.internal.FileUtilsException: couldn't create temporary file for
    SerializedSystemIni.dat, .new, /config/mydomain - with nested exception:
    [java.io.IOException: No such file or directory]]
    I am suspecting the problem might be that we have installed it as root and then change
    the rights to weblogic. Any pointers are greatly appreciated.
    Thanks.

  • Problem Starting WLS 5.1 from windows 2000 program group

    Hi
    I couldn't able to start Weblogic server 5.1 from windows 2000 program
    group(start > Programs > Weblogic 5.10 > Weblogic Server). I can start WLS
    without any problem from the console . I've check every configuration and
    environment setting, the problem still come out. Whenever I start WLS from
    program group , a window dialog with error messages will come out , here's
    the error messages :
    wlserver.exe - Application Error
    The instruction at "0x04d5d0d6" referenced memory at
    "0x00000000". The memory could not be "written".
    Click on OK to terminate the program
    Click on CANCEL to debug the program
    Any suggestions/solution will be appreciated .
    Thanks
    Chew Leong
    [email protected]

    look for weblogic.system.password property in your weblogic.properties
    file and see what's in there.
    Shailesh Mungikar wrote:
    I am trying to install WLS 5.1 SP12 on my Windows 2000 machine.
    I have WLS 6.1 already installed my PC.
    When I try to install, at the very end when
    "System" password required
    dialog pops up, I get another dialog box saying
    WLPASS~1.exe Application Error
    The exception Floating point division by zero (0xc000008e) occured in
    the application at location 0x50147c14
    When I press OK, it kill the "System password" dialog.
    The installation seems to be complete.
    If I go ahead and try to start weblogic, I get Exceptio
    java.security.AccessControlException: access denied
    (java.lang.RuntimePermission createSecurityManager)
    Any solution/workaround?
    thanks,
    _shailesh

  • Problem starting WLS server  in Oracle VM Viirtualbox

    Hi,
    I am new to Oracle SOASuite.I am trying my hands on with Oracle VM Viirtualbox to which I have imported theoracle soa suite/bpm appliances and I am successful with it.The problem arises when I try to start the WLS server.It failed to start and gave the following exception in logs:
    <Failed to initialize the application 'soademoDatabase' due to error weblogic.application.ModuleException: .
    weblogic.application.ModuleException:
         at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:327)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
         at weblogic.jdbc.common.internal.XAConnectionEnvFactory.makeConnection(XAConnectionEnvFactory.java:500)
         at weblogic.jdbc.common.internal.XAConnectionEnvFactory.createResource(XAConnectionEnvFactory.java:177)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1310)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1227)
         at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:250)
         Truncated. see log file for complete stacktrace
    >
    <Jul 2, 2012 4:49:20 AM PDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'wlsbjmsrpDataSource' due to error weblogic.application.ModuleException: .
    weblogic.application.ModuleException:
         at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:327)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:283)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1310)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1227)
         at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:250)
         at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1330)
         Truncated. see log file for complete stacktrace
    Please help me debug the issue.
    Edited by: DivyaHabin on Jul 2, 2012 10:04 PM

    Thanks for the reply Eric.
    Initially I didn't start db server before starting Admin server.But now as per your reply, I started db and then started the server.It got started.So does that mean I should start the Oracle Database first and then start server?
    The exception are still there in log.
    Exception1:<Failed to initialize the application 'soademoDatabase' due to error weblogic.application.ModuleException: .
    Exception2: <Failed to initialize the application 'wlsbjmsrpDataSource' due to error weblogic.application.ModuleException: .
    Edited by: DivyaHabin on Jul 3, 2012 1:18 AM

  • Problem starting WLS 5.1 in RH Linux

    I have RH Linux 6.2 and just downloaded Sun JDK1.3 and BEA WLS 5.1. There
    were a couple of problems with the install:
    1) The case statemement in startWebLogic.sh did not pick up Linux using
    uname -s, but I fixed that by commenting out all the other Unixes and the
    case and esac. And LD_LIBRARY_PATH was defined as
    /home/wlogic/weblogic/lib/linux
    2) The second problem I have not been able to resolve. This is the
    stackdump:
    LD_LIBRARY_PATH=/home/wlogic/weblogic/lib/linux
    Exception in thread "main" java.security.AccessControlException: access
    denied (
    java.lang.RuntimePermission createSecurityManager)
    at
    java.security.AccessControlContext.checkPermission(AccessControlContext.java
    :272)
    at
    java.security.AccessController.checkPermission(AccessController.java:399)
    at
    java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.<init>(SecurityManager.java:301)
    at
    weblogic.boot.ServerSecurityManager.<init>(ServerSecurityManager.java:11)
    at weblogic.Server.main(Server.java:59)
    at weblogic.Server.main(Server.java:55)
    Comments pls someone. Many thanks.
    Kenny

    Try modifying your weblogic.polic file so that the paths in that file
    match your environment.
    John
    Kenny Kon wrote:
    >
    I have RH Linux 6.2 and just downloaded Sun JDK1.3 and BEA WLS 5.1. There
    were a couple of problems with the install:
    1) The case statemement in startWebLogic.sh did not pick up Linux using
    uname -s, but I fixed that by commenting out all the other Unixes and the
    case and esac. And LD_LIBRARY_PATH was defined as
    /home/wlogic/weblogic/lib/linux
    2) The second problem I have not been able to resolve. This is the
    stackdump:
    LD_LIBRARY_PATH=/home/wlogic/weblogic/lib/linux
    Exception in thread "main" java.security.AccessControlException: access
    denied (
    java.lang.RuntimePermission createSecurityManager)
    at
    java.security.AccessControlContext.checkPermission(AccessControlContext.java
    :272)
    at
    java.security.AccessController.checkPermission(AccessController.java:399)
    at
    java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.<init>(SecurityManager.java:301)
    at
    weblogic.boot.ServerSecurityManager.<init>(ServerSecurityManager.java:11)
    at weblogic.Server.main(Server.java:59)
    at weblogic.Server.main(Server.java:55)
    Comments pls someone. Many thanks.
    Kenny--
    Jesus M. Salvo, Jr.
    Senior Consultant
    PowerServe Pty Ltd
    Level 2, 116 Miller Street
    North Sydney 2060
    New South Wales, Australia
    Ph: (61-2) 9492 4800
    Direct (61-2) 9492 4853
    Fax: (61-2) 9492 4899
    http://www.powerserve.com.au
    Email: [email protected]
    This email is from PowerServe Pty Limited (ACN 069 037 056)
    The information contained in this email (including any attached files)
    may be privileged and confidential intended for the use of the
    person/persons named above. If you are not the intended recipient, you
    are advised that any use, distribution or copying of the information is
    strictly prohibited. If you have received this transmission in error,
    please notify PowerServe Pty Limited immediately on (61 3) 9618 1222 or
    reply by email to the sender.
    PowerServe Pty Limited does not represent or warrant that this email or
    any attached files are free from computer viruses or other defects. Any
    attached files are provided, and may only be used, on the basis that the
    user assumes all responsibility for

  • Problems starting WLS 5.1 on Linux

    I am new to WLS, so this may be obvious, but these are the errors I get
    when trying to start WebLogic Server 5.1 after my first attempt to
    install and configure WLS 5.1:
    1st error
    java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
    2nd error
    Sun Oct 15 22:54:27 EDT 2000:<A> <SSLListenThread> ListenThread.run()
    failed:
    java.lang.UnsatisfiedLinkError:
    /usr/local/weblogic/lib/linux/libweblogicunix1.so:
    /usr/local/weblogic/lib/linux/libweblogicunix1.so: undefined symbol:
    makeCString
    I have checked and rechecked classpaths, etc. Here is the configuration
    on this machine:
    RedHat Linux 6.0 (kernel 2.2.5-22)
    glibc upgraded to 2.1.3-21
    Sun JDK 1.3.0
    (I've seen other posts on this newsgroup that say WLS will run with RH
    6.0 and others that say it'll work with JDK 1.3.0.)
    I would appreciate any hints. Thanks in advance for advice on this
    newbie question.
    Pete Pierce

    The first error usually happens with WLS 5.1 wihout any service packs.
    Apply the latest and it'll go away, and possibly the second one as well.
    "Peter J. Pierce" wrote:
    >
    I am new to WLS, so this may be obvious, but these are the errors I get
    when trying to start WebLogic Server 5.1 after my first attempt to
    install and configure WLS 5.1:
    1st error
    java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
    2nd error
    Sun Oct 15 22:54:27 EDT 2000:<A> <SSLListenThread> ListenThread.run()
    failed:
    java.lang.UnsatisfiedLinkError:
    /usr/local/weblogic/lib/linux/libweblogicunix1.so:
    /usr/local/weblogic/lib/linux/libweblogicunix1.so: undefined symbol:
    makeCString
    I have checked and rechecked classpaths, etc. Here is the configuration
    on this machine:
    RedHat Linux 6.0 (kernel 2.2.5-22)
    glibc upgraded to 2.1.3-21
    Sun JDK 1.3.0
    (I've seen other posts on this newsgroup that say WLS will run with RH
    6.0 and others that say it'll work with JDK 1.3.0.)
    I would appreciate any hints. Thanks in advance for advice on this
    newbie question.
    Pete Pierce--
    Jesus M. Salvo, Jr.
    Senior Consultant
    PowerServe Pty Ltd
    Level 2, 116 Miller Street
    North Sydney 2060
    New South Wales, Australia
    Ph: (61-2) 9492 4800
    Direct (61-2) 9492 4853
    Fax: (61-2) 9492 4899
    http://www.powerserve.com.au
    Email: [email protected]
    This email is from PowerServe Pty Limited (ACN 069 037 056)
    The information contained in this email (including any attached files)
    may be privileged and confidential intended for the use of the
    person/persons named above. If you are not the intended recipient, you
    are advised that any use, distribution or copying of the information is
    strictly prohibited. If you have received this transmission in error,
    please notify PowerServe Pty Limited immediately on (61 3) 9618 1222 or
    reply by email to the sender.
    PowerServe Pty Limited does not represent or warrant that this email or
    any attached files are free from computer viruses or other defects. Any
    attached files are provided, and may only be used, on the basis that the
    user assumes all responsibility for

  • JMS Messaging Bridge Problems with WLS 8.1 sp2

              Thank you in advance for your help.
              I am trying to configure a JSM Messaging Bridge to connect an MQ Q to a Weblogic
              Q. I have this working wonderfully in an environment without clustering but once
              I try to deploy to a cluster, I am having two major problems.
              1) When the managed servers are restarted, the messaging bridges immediately complain
              about not being able to find the resource adaptor. After I manually un-target
              the messaging bridge from the cluster and re-target them, they find the resource
              adaptor but cannot connect to the source... which leads to my next problem.
              2) The messaging bridges cannot connect to the source destination whether it is
              an MQ Q or a Weblogic JMS Q does not matter. Here are the log entries that I
              see relative:
              ####<Apr 1, 2004 4:38:44 PM EST> <Debug> <MessagingBridge> <dv2kwls03> <secaServer01>
              <ExecuteThread: '1' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-200006>
              <Messaging bridge debugging STARTUP! Got Notification:weblogic.management.AttributeAddNotification:
              Deployments from <null> to [Caching Stub]Proxy for eBusDev02:Location=secaServer01,Name=seca_OES_ADV_REPLY
              Messaging Bridge,Type=MessagingBridgeConfig - weblogic.management.AttributeAddNotification[source=eBusDev02:Location=secaServer01,Name=secaServer01,Type=ServerConfig].>
              ####<Apr 1, 2004 4:38:44 PM EST> <Debug> <MessagingBridge> <dv2kwls03> <secaServer01>
              <ExecuteThread: '1' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-200006>
              <Messaging bridge debugging STARTUP! creating bridge seca_OES_ADV_REPLY Messaging
              Bridge.>
              ####<Apr 1, 2004 4:38:44 PM EST> <Debug> <MessagingBridge> <dv2kwls03> <secaServer01>
              <ExecuteThread: '1' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-200006>
              <Messaging bridge debugging STARTUP! Bridge seca_OES_ADV_REPLY Messaging Bridge
              is deployed as a migratable.>
              ####<Apr 1, 2004 4:38:44 PM EST> <Debug> <MessagingBridge> <dv2kwls03> <secaServer01>
              <ExecuteThread: '1' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-200006>
              <Messaging bridge debugging RUNTIME! Initializging bridge seca_OES_ADV_REPLY Messaging
              Bridge as a migratable.>
              ####<Apr 1, 2004 4:38:44 PM EST> <Debug> <MessagingBridge> <dv2kwls03> <secaServer01>
              <ExecuteThread: '1' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-200006>
              <Messaging bridge debugging STARTUP! Bridge seca_OES_ADV_REPLY Messaging Bridge's
              source configurations are:
              AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
              Classpath=null
              ConnectionURL = file:/e:/private/JNDI/eBusDev02
              DestinationType = Queue
              DestinationJNDIName = jms.oes.MQ-ADV-REPLYQ
              InitialContextFactory = com.sun.jndi.fscontext.RefFSContextFactory
              ConnectionFactoryJNDIName = jms.oes.MQ-QCF
              .>
              ####<Apr 1, 2004 4:38:44 PM EST> <Debug> <MessagingBridge> <dv2kwls03> <secaServer01>
              <ExecuteThread: '1' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-200006>
              <Messaging bridge debugging STARTUP! Bridge seca_OES_ADV_REPLY Messaging Bridge's
              target configurations are:
              AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
              Classpath=null
              ConnectionURL = t3://30.135.10.63:8103,30.135.10.63:8104
              DestinationType = Queue
              DestinationJNDIName = jms/oes/ADV-REPLYQ
              InitialContextFactory = weblogic.jndi.WLInitialContextFactory
              ConnectionFactoryJNDIName = jms/oes/QCF
              .>
              ####<Apr 1, 2004 4:38:44 PM EST> <Debug> <MessagingBridge> <dv2kwls03> <secaServer01>
              <ExecuteThread: '1' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-200006>
              <Messaging bridge debugging STARTUP! Bridge seca_OES_ADV_REPLY Messaging Bridge
              is successfully initialized.>
              ####<Apr 1, 2004 4:38:44 PM EST> <Debug> <MessagingBridge> <dv2kwls03> <secaServer01>
              <ExecuteThread: '1' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-200006>
              <Messaging bridge debugging RUNTIME! Bridge seca_OES_ADV_REPLY Messaging Bridge
              has been successfully initialized as a migratable.>
              ####<Apr 1, 2004 4:38:44 PM EST> <Debug> <MessagingBridge> <dv2kwls03> <secaServer01>
              <ExecuteThread: '1' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-200006>
              <Messaging bridge debugging RUNTIME! Activating bridge seca_OES_ADV_REPLY Messaging
              Bridge.>
              ####<Apr 1, 2004 4:38:44 PM EST> <Debug> <MessagingBridge> <dv2kwls03> <secaServer01>
              <ExecuteThread: '1' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-200006>
              <Messaging bridge debugging RUNTIME! Bridge seca_OES_ADV_REPLY Messaging Bridge
              has been successfully activated..>
              ####<Apr 1, 2004 4:38:44 PM EST> <Info> <MessagingBridge> <dv2kwls03> <secaServer01>
              <ExecuteThread: '22' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-200033>
              <Bridge "seca_OES_ADV_REPLY Messaging Bridge" is obtaining connections to the
              two adapters.>
              ####<Apr 1, 2004 4:38:44 PM EST> <Debug> <MessagingBridge> <dv2kwls03> <secaServer01>
              <ExecuteThread: '22' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-200006>
              <Messaging bridge debugging RUNTIME! Bridge seca_OES_ADV_REPLY Messaging Bridge
              Getting source connection.>
              ####<Apr 1, 2004 4:38:44 PM EST> <Info> <MessagingBridge> <dv2kwls03> <secaServer01>
              <ExecuteThread: '22' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-200042>
              <Bridge seca_OES_ADV_REPLY Messaging Bridge failed to connect to the source destination
              and will try again in 15 seconds. (java.lang.NullPointerException)>
              I know the queues are up and I am pretty sure my MQ client configuration is correct.
              Is there anyway to get more information about the NullPointerException or the
              error being encountered?
              

    Given that you have ruled out message backlogs, my first suspicion is that the leak has something to do with connection allocation. Does JMS stats reveal an application generated connection leak? Check to see if the current number of connections/sessions stays steady.
              If this doesn't help, you can use a third party tool like OptimizeIt to get periodic snap-shots of memory usage and identify the leaked object (or create a reproducer and have customer support do it). A possible work-around is to modify your app to pool JMS connections/sessions for re-use - greatly reducing the number of connections created per day.
              Tom

  • WLS 7.0 SP2 stop response

    The size of the ear is 43MB. It is deployed to WLS 70Sp2 successfully.
    But after using the app for a few minutes (access the pages by IE 6.0), WLS stop
    response: a white page is displayed(no text, no image, nothing displayed).
    I want to see what hapened by type http://localhost:7001/console, the browser
    also displayed a white page.(no login)
    At the same time, I notice that the DOS console didnot display INFO log message
    any more.
    The app works fine on WLS 8.1.
    I want to know it is caused by the bugs in my app or it is an issue of the configuration
    of WLS.

    There could be dozens of reasons for this; impossible to diagnose with so few details.
    If you want to rule out known problems in WLS 7.0 SP2, then install SP3 and try again.
    Wayne Scott
    Guofeng Zhang wrote:
    The size of the ear is 43MB. It is deployed to WLS 70Sp2 successfully.
    But after using the app for a few minutes (access the pages by IE 6.0), WLS stop
    response: a white page is displayed(no text, no image, nothing displayed).
    I want to see what hapened by type http://localhost:7001/console, the browser
    also displayed a white page.(no login)
    At the same time, I notice that the DOS console didnot display INFO log message
    any more.
    The app works fine on WLS 8.1.
    I want to know it is caused by the bugs in my app or it is an issue of the configuration
    of WLS.

  • WLS 6.1 SP2 and Struts 1.1b3 Manifest Problem

    When I try to deploy the struts-example.war or if I add the struts.jar
    to any other web app I've created, I get this error when I start WLS and it
    tries to deploy that war.
    java.lang.StringIndexOutOfBoundsException
    at weblogic.servlet.internal.WebAppHelper.resolveManifestName
    (WebAppHelper.java:469)
    I'm using version 1.1b3 of struts. I'm having no problems with version
    1.0.2 of struts.
    I'm guessing its complaining about the manifest file in struts.jar, but I
    don't understand why.
    Here's my version info and the stack trace (my web app is called findme in
    this example). Thanks in advance.
    -Phil
    Server BuildWebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
    All Server Product VersionsWebLogic Server 6.1 SP2 12/18/2001 11:13:46
    #154529 WebLogic XML Module 6.1 SP2 12/18/2001 11:28:02 #154529
    <Feb 11, 2003 7:45:25 AM EST> <Error> <J2EE> <Error deploying application
    findme: Could not load findme>
    <Feb 11, 2003 7:45:25 AM EST> <Error> <Management> <ApplicationManager
    starting Config caught throwable
    java.lang.reflect.UndeclaredThrowableException:
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1525)
    at
    weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.jav
    a:469)
    at
    weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:
    234)
    at
    weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServ
    letContext.java:3407)
    at
    weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletCont
    ext.java:3376)
    at
    weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.ja
    va:862)
    at
    weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.
    java:815)
    at
    weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
    at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
    at weblogic.j2ee.Application.addComponent(Application.java:163)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
    Target.java:329)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
    Target.java:144)
    at
    weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java
    :76)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
    l.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
    621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
    anImpl.java:359)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy29.addWebDeployment(Unknown Source)
    at
    weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployme
    nt(WebServerMBean_CachingStub.java:1121)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
    Target.java:315)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deploymen
    tTarget.java:279)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(
    DeploymentTarget.java:233)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deploy
    mentTarget.java:193)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
    l.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
    621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
    anImpl.java:359)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy28.updateDeployments(Unknown Source)
    at
    weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments
    (ServerMBean_CachingStub.java:2761)
    at
    weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(App
    licationManager.java:370)
    at
    weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManag
    er.java:160)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
    l.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
    621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
    anImpl.java:359)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy36.start(Unknown Source)
    at
    weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start
    (ApplicationManagerMBean_CachingStub.java:480)
    at
    weblogic.management.Admin.startApplicationManager(Admin.java:1180)
    at weblogic.management.Admin.finish(Admin.java:590)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
    at weblogic.Server.main(Server.java:35)
    --------------- nested within: ------------------
    weblogic.j2ee.DeploymentException: Could not load findme - with nested
    exception:
    [java.lang.StringIndexOutOfBoundsException: String index out of range: -1]
    at
    weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:431)
    at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
    at weblogic.j2ee.Application.addComponent(Application.java:163)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
    Target.java:329)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
    Target.java:144)
    at
    weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java
    :76)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
    l.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
    621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
    anImpl.java:359)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy29.addWebDeployment(Unknown Source)
    at
    weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployme
    nt(WebServerMBean_CachingStub.java:1121)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
    Target.java:315)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deploymen
    tTarget.java:279)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(
    DeploymentTarget.java:233)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deploy
    mentTarget.java:193)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
    l.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
    621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
    anImpl.java:359)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy28.updateDeployments(Unknown Source)
    at
    weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments
    (ServerMBean_CachingStub.java:2761)
    at
    weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(App
    licationManager.java:370)
    at
    weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManag
    er.java:160)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
    l.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
    621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
    anImpl.java:359)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy36.start(Unknown Source)
    at
    weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start
    (ApplicationManagerMBean_CachingStub.java:480)
    at
    weblogic.management.Admin.startApplicationManager(Admin.java:1180)
    at weblogic.management.Admin.finish(Admin.java:590)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
    at weblogic.Server.main(Server.java:35)
    >
    <Feb 11, 2003 7:45:32 AM EST> <Error> <J2EE> <Error deploying application
    struts-example: Could notload struts-example>
    <Feb 11, 2003 7:45:32 AM EST> <Error> <Management> <Error deploying
    application .\config\mydomain\applications\struts-example.war:
    java.lang.reflect.UndeclaredThrowableException>

    I've solved my own problem. I learned that there was a sp4 (let alone a
    sp3) for WLS. Installed that and the problem went away. Sorry for the
    noise.
    -Phil
    Philip Bower <[email protected]> wrote in
    news:[email protected]:
    When I try to deploy the struts-example.war or if I add the struts.jar
    to any other web app I've created, I get this error when I start WLS
    and it tries to deploy that war.
    java.lang.StringIndexOutOfBoundsException
    at weblogic.servlet.internal.WebAppHelper.resolveManifestName
    (WebAppHelper.java:469)
    I'm using version 1.1b3 of struts. I'm having no problems with
    version 1.0.2 of struts.
    I'm guessing its complaining about the manifest file in struts.jar,
    but I don't understand why.
    Here's my version info and the stack trace (my web app is called
    findme in this example). Thanks in advance.
    -Phil
    Server BuildWebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
    All Server Product VersionsWebLogic Server 6.1 SP2 12/18/2001
    11:13:46 #154529 WebLogic XML Module 6.1 SP2 12/18/2001 11:28:02
    #154529
    <Feb 11, 2003 7:45:25 AM EST> <Error> <J2EE> <Error deploying
    application findme: Could not load findme>
    <Feb 11, 2003 7:45:25 AM EST> <Error> <Management> <ApplicationManager
    starting Config caught throwable
    java.lang.reflect.UndeclaredThrowableException:
    java.lang.StringIndexOutOfBoundsException: String index out of range:
    -1
    at java.lang.String.substring(String.java:1525)
    at
    weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper
    .jav a:469)
    at
    weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.j
    ava: 234)
    at
    weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebApp
    Serv letContext.java:3407)
    at
    weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServlet
    Cont ext.java:3376)
    at
    weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContex
    t.ja va:862)

  • Problem with start WLS

    Peace!
    I'm developing servlets that invoke ejb object under WLE.
    I include in classpath for starting WLS 4 jar in udataobj of WLE.
    When I try to start server there are problem and it doesn't start.
    What do I include to run a client of EJB?
    PS: I think that there are conflict problem between WLE classes and WLS
    classes.
    Thanks.

    Giuseppe -
    Are you using WLE 5.1? If no, I'd recommend you upgrade.
    WLE 5.1 includes examples of how to access EJBs on the T-Engine from the
    J-Engine, or WLS, and addresses some issues you may be encountering.
    Will
    Giuseppe Villanova wrote:
    Peace!
    I'm developing servlets that invoke ejb object under WLE.
    I include in classpath for starting WLS 4 jar in udataobj of WLE.
    When I try to start server there are problem and it doesn't start.
    What do I include to run a client of EJB?
    PS: I think that there are conflict problem between WLE classes and WLS
    classes.
    Thanks.

  • WLS 7.0 sp2 - Servlet Problems with SOAP messages

              I'm using Weblogic 7.0 SP2 and trying to create a Servlet to receive SOAP wrapped
              XML messages. I'm getting the following error. Is this a problem with WLS7.0sp2's
              support of JAXM? The System.out.println's indicate I have successfully received
              the incoming SOAP request and then successfully formatted the SOAP response, but
              upon returning saving the response it appears to blow up. Does anyone have any
              suggestions?
              I need to do the following in a servlet:
              - receive an incoming SOAP request with an embedded XML message
              - perform some processing
              - return a SOAP response with an embedded XML message
              Should I be using JAXM? Or can I do this same task easily with JAX-RPC?
              <Feb 24, 2004 4:10:42 PM AST> <Error> <HTTP> <101017> <[ServletContext(id=260434
              7,name=isd.war,context-path=)] Root cause of ServletException
              java.lang.Error: NYI
              at weblogic.webservice.core.soap.SOAPMessageImpl.saveRequired(SOAPMessag
              eImpl.java:360)
              at javax.xml.messaging.JAXMServlet.doPost(Unknown Source)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              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:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
              n.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
              eManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              >
              I've stripped the code down so that all it does is verifies the incoming SOAP/XML
              request and creates a hard-coded response... be gentle... I'm a novice at this
              import javax.xml.soap.*;
              import javax.servlet.*;
              import javax.servlet.http.*;
              // import javax.xml.transform.*;
              import java.util.*;
              import java.io.*;
              public class RegisterServlet extends HttpServlet
              static MessageFactory fac = null;
              static
              try
              fac = MessageFactory.newInstance();
              catch (Exception ex)
              ex.printStackTrace();
              public void init(ServletConfig servletConfig) throws ServletException
              super.init(servletConfig);
              public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException,
              IOException
              try
              System.out.println("** Note: doPost() Entering req = " + req);
              // Get all the headers from the HTTP request
              MimeHeaders headers = getHeaders(req);
              // Get the body of the HTTP request
              InputStream is = req.getInputStream();
              // Now internalize the contents of a HTTP request
              // and create a SOAPMessage
              SOAPMessage msg = fac.createMessage(headers, is);
              System.out.println("** Note: doPost() Step A");
              SOAPMessage reply = null;
              reply = onMessage(msg);
              System.out.println("** Note: doPost() Step B reply = " + reply);
              if (reply != null)
              * Need to call saveChanges because we're
              * going to use the MimeHeaders to set HTTP
              * response information. These MimeHeaders
              * are generated as part of the save.
              if (reply.saveRequired())
              System.out.println("** Note: doPost() Step C reply.saveRequired()");
              reply.saveChanges();
              resp.setStatus(HttpServletResponse.SC_OK);
              putHeaders(reply.getMimeHeaders(), resp);
              // Write out the message on the response stream
              OutputStream os = resp.getOutputStream();
              System.out.println("** Note: doPost() Step D os = " + os);
              reply.writeTo(os);
              os.flush();
              else
              resp.setStatus(HttpServletResponse.SC_NO_CONTENT);
              catch (Exception ex)
              throw new ServletException("** Error: SAAJ POST failed: " + ex.getMessage());
              static MimeHeaders getHeaders(HttpServletRequest req)
              Enumeration enum = req.getHeaderNames();
              MimeHeaders headers = new MimeHeaders();
              while (enum.hasMoreElements())
              String headerName = (String)enum.nextElement();
              String headerValue = req.getHeader(headerName);
              StringTokenizer values =
              new StringTokenizer(headerValue, ",");
              while (values.hasMoreTokens())
              headers.addHeader(headerName,
              values.nextToken().trim());
              return headers;
              static void putHeaders(MimeHeaders headers, HttpServletResponse res)
              Iterator it = headers.getAllHeaders();
              while (it.hasNext())
              MimeHeader header = (MimeHeader)it.next();
              String[] values = headers.getHeader(header.getName());
              if (values.length == 1)
              res.setHeader(header.getName(),
              header.getValue());
              else
              StringBuffer concat = new StringBuffer();
              int i = 0;
              while (i < values.length)
              if (i != 0)
              concat.append(',');
              concat.append(values[i++]);
              res.setHeader(header.getName(), concat.toString());
              // This is the application code for handling the message.
              public SOAPMessage onMessage(SOAPMessage message)
              SOAPMessage replymsg = null;
              try
              System.out.println("** Note: OnMessage() Entering msg = " + message);
              //Extract the ComputerPart element from request message and add to reply SOAP
              message.
              SOAPEnvelope reqse = message.getSOAPPart().getEnvelope();
              SOAPBody reqsb = reqse.getBody();
              //System.out.println("** Note: OnMessage() Step B");
              System.out.println("** Note: OnMessage () Step A Soap Request Message Body = "
              + reqsb);
              //Create a reply mesage from the msgFactory of JAXMServlet
              System.out.println("** Note: OnMessage () Step B");
              replymsg = fac.createMessage();
              SOAPPart sp = replymsg.getSOAPPart();
              SOAPEnvelope se = sp.getEnvelope();
              SOAPBody sb = se.getBody();
              System.out.println("** Note: OnMessage () Step C Soap Reply Before Message Body
              = " + sb);
              se.getBody().addBodyElement(se.createName("RegisterResponse")).addChildElement(se.createName("ErrorCode")).addTextNode("000");
              System.out.println("** Note: OnMessage () Step D Soap Reply After Message Body
              = " + sb);
              replymsg.saveChanges();
              System.out.println("** Note: OnMessage() Exiting replymsg = " + (replymsg));
              catch (Exception ex)
              ex.printStackTrace();
              return replymsg;
              

    Michael,
    I got the same error on WLS8.1/Win2K professional and apache FOP (old version).
    After digging into the WLS code and FOP(old version). i found the conflict happens
    on
    the "org.xml.sax.parser" system property. In WLS code, they hard coded like the
    following when startup weblogic server:
    System.setProperty("org.xml.sax.parser", "weblogic.xml.jaxp.RegistryParser");
    But the FOP code try to use the "org.xml.sax.parser" system property to find the
    sax parser then conlict happens.
    Here is the response from BEA support :
    "I consulted with our developers regarding the question of whether we can change
    the hard-coded value for the java system property: org.xml.sax.parser by using
    a configuration parameter and I found that unfortunately there is no specific
    setting to change the value. As you had mentioned in your note the org.xml.sax.parser
    system property can be changed programmatically in your application code."
    I solve my problem by using newer apache FOP (it never use the system property:org.xml.sax.parser
    any more) and XML Registy for WLS8.1.
    Good luck.
    David Liu
    Point2 Technologies Inc.
    "p_michael" <[email protected]> wrote:
    >
    Help.
    When we migrated from WLS 6.1 to WLS 7.0 SP2 when encountered a problem
    with XML
    parsing that did not previously exist.
    We get the error "weblogic.xml.jaxp.RegistryParser is not a SAX driver".
    What does this mean? And, what should we do about it.
    p_michael

  • WLS 6.1 SP2, iPlanet 6 & NSAPI problems

    Does anybody know of a good reference document on how to properly install the NSAPI
    plug-in for WLS6.1 & iPlanet6(SunOne) on Unix (Solaris). Many of the references that
    I have been finding are either incomplete, have typo's and are mostly Windows oriented
    (ie. with the .dll's, paths, examples, etc.)
    My problem is that our old iPlanet 4.x works fine...everything proxies, etc. iPlanet
    6 just doesn't want to seem to communicate with WLS 6.1 SP2 We tried many of the
    saem things from the 4.x magnus & obj.confs...but things look somewhat different
    in iPlanet 6.x (did they move tings..such as the fn's from one to the other, etc.)
    If so..and there are big differences in installing iPlanet 4.x vs. 6.x then many
    of the docs out there are inaccurate. Does anyone know if there is a newer version
    of the NSAPI plug-in for Unix.
    I would love to see a basic, working set of magnus.conf obj.conf, MIME,etc from someone
    who has actually gotten NSAPI to work between WLS 6.1 and iPlanet 6 on Unix (Solaris)
    It blows my mind that 4.x works and 6.x doesn't. An updated NSAPI plug-in
    , if it exists and perhaps fixes the problem, would make my day. Any ideas? Thanks!
    -Doug

    Hi Doug
    U have to put the following section
    Init fn="load-modules" funcs="wl_proxy,wl_init" shlib="./libproxy.so"
    Init fn="wl_init"
    into magus.conf
    and put the rest into obj.conf
    Best Regards
    Alex
    "Doug E" <[email protected]> wrote:
    >
    Does anybody know of a good reference document on how to properly install
    the NSAPI
    plug-in for WLS6.1 & iPlanet6(SunOne) on Unix (Solaris). Many of the references
    that
    I have been finding are either incomplete, have typo's and are mostly Windows
    oriented
    (ie. with the .dll's, paths, examples, etc.)
    My problem is that our old iPlanet 4.x works fine...everything proxies,
    etc. iPlanet
    6 just doesn't want to seem to communicate with WLS 6.1 SP2 We tried many
    of the
    saem things from the 4.x magnus & obj.confs...but things look somewhat different
    in iPlanet 6.x (did they move tings..such as the fn's from one to the other,
    etc.)
    If so..and there are big differences in installing iPlanet 4.x vs. 6.x
    then many
    of the docs out there are inaccurate. Does anyone know if there is a newer
    version
    of the NSAPI plug-in for Unix.
    I would love to see a basic, working set of magnus.conf obj.conf, MIME,etc
    from someone
    who has actually gotten NSAPI to work between WLS 6.1 and iPlanet 6 on Unix
    (Solaris)
    It blows my mind that 4.x works and 6.x doesn't. An updated NSAPI plug-in
    , if it exists and perhaps fixes the problem, would make my day. Any ideas?
    Thanks!
    -Doug

  • Problems starting AdminServer WLS 10 on linux

    Hello All,
    We have upgraded our environment to platform 10.2 and we have now problems starting the AdminServer on that environment after upgrading the database (oracle 10g).
    Errors indicate that the boot.properties -file is not correct. I've tried to remove the one from AdminServer security -directory and deleted the ldap -directory, but these doesn't help.
    What should I do and in which order to make the server start again ?

    I recommend a support case. You have not provided enough detail here and they are best equipped to handle these types of issues.

Maybe you are looking for

  • Premiere Elements 12 won't open a new project

    I recently installed premiere elements 12.  It is the first time install of any version of this software.  When I open the program and click on Video Editor, then New Project ...a black and purple ribbon scrolls for about 2 minutes, then nothing.  I

  • Deleting old flat files inside a SSIS package - SSIS 2005

    Hi, after each flat file import, I need to move the acquired file into an history folder and deleting old files of 1 week ago. How can I cancel these files, acting inside my SSIS 2005 pckg? Many thanks

  • [SOLVED]Mirrors All Out of Sync

    Today I went to reinstall a package(thunar) after trying out PCManFM and realized I don't like it and I got these errors: :: Retrieving packages from extra... error: failed retrieving file 'thunar-1.6.0-3-x86_64.pkg.tar.xz' from hive.ist.unomaha.edu

  • Patch set or patch

    OS: Linux 86 Oracle Application Server (Infrastructure & Middle Tier on the same box) Here is my Oracle version info: SQL> select banner from v$version; BANNER Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Prod PL/SQL Release 10.1.0.4.2

  • Thread Safety in Channel Ports Suite

    Hi, I cannot find a lot of mentions on threads is the api documentation. I've got the sentence on page 99 of the API documentation, which advocate the use of tiles for multi-processors. But I don't know who is responsible as for synchronizing the dat