Problem while Starting J2EE Server
When I am starting the J2ee Server , I am getting this error
D:\>j2ee -verbose
J2EE server listen port: 1050
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/corba/se/internal/util/IdentityHashtable
at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.<clinit>(Util.java:87)
at com.sun.corba.ee.internal.POA.POAImpl.activate(POAImpl.java:935)
at com.sun.corba.ee.internal.POA.POAImpl.activate_object(POAImpl.java:895)
at com.sun.corba.ee.internal.CosNaming.TransientNameService.initialize(TransientNameService.java:117)
at com.sun.corba.ee.internal.CosNaming.TransientNameService.<init>(TransientNameService.java:70)
at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMgr.java:103)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
D:\>
D:\>set path
Path=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;d:\clearcase\bin;D:\ANT\apache-ant-1.6.5\bin;D:\ANT\apache-ant-1.6.5\lib;D:\jdk1.5.0_06\bin;D:\gt4\bin;D:\Sun\jwsdp-2.0\apache-ant\bin;D:\j2sdkee1.3.1\bin;D:\Sun\jwsdp-2.0\jwsdp-shared\Bin
D:\>set java_home
JAVA_HOME=D:\jdk1.5.0_06
D:\>set j2ee_home
J2EE_HOME=D:\j2sdkee1.3.1
D:\>set ant_home
ANT_HOME=D:\ANT\apache-ant-1.6.5
You might have to use older version of JDK supported for J2EE 1.3.
According to the page http://java.sun.com/j2ee/sdk_1.3/ JavaE 1.4 or later releases of 1.3 will work.
If you must use Java SE 5.0, try moving to a newer version of SDK, J2EE 1.4 or Java EE 5 available from http://java.sun.com/javaee
Similar Messages
-
Error message while starting J2EE Server!
Hi!
I get this error message when i try to start J2EE server:
c:\j2ee -verbose
Exception in thread "main" java.lang.NoSuchMethodError
at com.sun.corba.ee.internal.corba.AnyImpl.createTypeCodeForClass(AnyImp
l.java:1256)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.createTypeCode(Sh
utdownUtilDelegate.java:223)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(Shutdown
UtilDelegate.java:178)
at javax.rmi.CORBA.Util.writeAny(Util.java:80)
at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.re
bind(Unknown Source)
at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:188
at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:202
at javax.naming.InitialContext.rebind(InitialContext.java:370)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManag
erImpl.java:192)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManag
erImpl.java:149)
at com.sun.enterprise.server.J2EEServer.bindObject(J2EEServer.java:718)
at com.sun.enterprise.server.J2EEServer.createServerObject(J2EEServer.ja
va:473)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:244)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
Can someone tell me why?
ThanksYou need jsdk 1.3.1_03 or above to run j2ee 1.3.1 Any other version will give you this error.
-
Plz help error while starting j2ee server
I 'm working on Win xp professional operating system.
While starting the j2ee server from command line
with the command
j2ee -verbose
earlier it was working perfectly but from 2 days its not starting even...even i have reinstalled the j2ee software ....i think there is some internal problem which is not related to setting up the enviornment variables and incorrectly typing of command... plz help me as soon as possible.. i wil be thankful ....
I am getting error message as follows
C:\Documents and Settings\Sunita Khilnaney>j2ee
java.io.IOException: The system cannot find the path specified
at java.io.Win32FileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:690)
at com.sun.enterprise.repository.ConfigurationImpl.getServerRepository(C
onfigurationImpl.java:92)
at com.sun.enterprise.repository.ConfigurationImpl.<init>(ConfigurationI
mpl.java:45)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:170)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
J2EE server listen port: 1050
java.io.FileNotFoundException: C:\j2sdkee1.3\logs\compaq\j2ee\j2ee\system.out (T
he system cannot find the path specified)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:100)
at com.sun.enterprise.server.J2EEServer.redirectStreams(J2EEServer.java:
534)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:209)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
java.io.FileNotFoundException: C:\j2sdkee1.3\logs\compaq\j2ee\j2ee\system.out (T
he system cannot find the path specified)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:100)
at com.sun.enterprise.server.J2EEServer.redirectStreams(J2EEServer.java:
534)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:209)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
java.lang.RuntimeException: C:\j2sdkee1.3\logs\compaq\j2ee\j2ee\system.out (The
system cannot find the path specified)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:350)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
J2EE server reported the following error: C:\j2sdkee1.3\logs\compaq\j2ee\j2ee\sy
stem.out (The system cannot find the path specified)
Error executing J2EE server ...
C:\Documents and Settings\Sunita Khilnaney>Hello sunita,
do one thing put yoor j2ee server installation in a folder whose name doesn't contain space.
As you can see there ia a space btwn Documents & and. btwn Sunita & Khilnaney
C:\Documents and Settings\Sunita Khilnaney>j2ee
put it in folder like c:\SunitaKhilnaney>j2ee or c:\Sunita_Khilnaney>j2ee
I hope it'll solve your pblm.
Thanks,
Dinesh -
ERROR WHILE STARTING J2EE SERVER IN COMMAND PROMPT
C:\j2sdkee1.3.1\bin>j2ee -verbose
J2EE server listen port: 1050
Naming service started:1050
Exception in thread "main" java.lang.NoSuchMethodError
at com.sun.corba.ee.internal.corba.AnyImpl.createTypeCodeForClass(AnyImpl.java:1256)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.createTypeCode(ShutdownUtilDelegate.java:223)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(ShutdownUtilDelegate.java:178)
at javax.rmi.CORBA.Util.writeAny(Util.java:80)
at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.rebind(Unknown Source)
at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:188)
at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:202)
at javax.naming.InitialContext.rebind(InitialContext.java:370)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:192)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:149)
at com.sun.enterprise.server.J2EEServer.bindObject(J2EEServer.java:718)
at com.sun.enterprise.server.J2EEServer.createServerObject(J2EEServer.java:473)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:244)
ANY DETAILS POST
REGARDS
VENKATI had the same problem overhere.
If you would have taken the time to read some topics on this forum you would have found dozens of others having this problem like
http://forum.java.sun.com/thread.jsp?forum=136&thread=280211
Which gave the answer for me
That was: install the jdk141 and UNDEFINE any classpath and cpath in you environment setting.
HTH
Xiffy -
Problem while starting weblogic server 10.3.3.0
Hi,
I have installed the Weblogic server 10.3.3.0 on machine which has Microsoft Windows XP 2002, Service pack3. RAM - 2GB
On that Weblogic server 10.3.3.0 i have installed SOA 11.1.1.2.0 and applied the patch set 2 on SOA 11.1.1.2.0 to upgrate it to SOA 11.1.1.3.0. I have used XE database which is installed on another machine.
After the installation of SOA 11.1.1.3.0 I have created one domain.
While starting the Admin server of that domain, it prompt me with an error as :
** Setting up SOA specific environment for win...
PATH=D:\ORACLE~1\MIDDLE~1\patch_wls1033\profiles\default\native;D:\ORACLE~1\MIDDLE~1\patch_ocp353\profiles\default\native;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\bin;D:\ORACLE~1\MIDDLE~1\modules\ORGAPA~1.1\bin;D:\ORACLE~1\MIDDLE~1\JDK160~1\jre\bin;D:\ORACLE~1\MIDDLE~1\JDK160~1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Windows Imaging\;C:\WINDOWS\Tools\Wintools;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\thirdparty\edifecs\XEngine\bin
USER_MEM_ARGS=-Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m
JAVA_OPTIONS= -Xverify:none
** End SOA Specific environment setup for win.
JAVA Memory arguments: -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m
WLS Start Mode=Development
CLASSPATH=D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\user-patch.jar;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\soa-startup.jar;;D:\ORACLE~1\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\ORACLE~1\MIDDLE~1\patch_ocp353\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\ORACLE~1\MIDDLE~1\JDK160~1\lib\tools.jar;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\ORACLE~1\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\ORACLE~1\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;D:\ORACLE~1\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\oracle.soa.common.adapters_11.1.1\oracle.soa.common.adapters.jar;D:\ORACLE~1\MIDDLE~1\ORACLE~1\soa\modules\commons-cli-1.1.jar;D:\ORACLE~1\MIDDLE~1\ORACLE~1\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;D:\ORACLE~1\MIDDLE~1\ORACLE~1\modules\oracle.xdk_11.1.0\xsu12.jar;D:\ORACLE~1\MIDDLE~1\modules\features\weblogic.server.modules.xquery_10.3.1.0.jar;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\db2jcc4.jar;D:\ORACLE~1\MIDDLE~1\USER_P~1\domains\SOACOE\config\soa-infra;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\fabric-url-handler_11.1.1.jar;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\quartz-all-1.6.5.jar;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\oracle.soa.fabric_11.1.1\oracle.soa.fabric.jar;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\oracle.soa.adapter_11.1.1\oracle.soa.adapter.jar;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\oracle.soa.b2b_11.1.1\oracle.soa.b2b.jar;D:\ORACLE~1\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
PATH=D:\ORACLE~1\MIDDLE~1\patch_wls1033\profiles\default\native;D:\ORACLE~1\MIDDLE~1\patch_ocp353\profiles\default\native;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\bin;D:\ORACLE~1\MIDDLE~1\modules\ORGAPA~1.1\bin;D:\ORACLE~1\MIDDLE~1\JDK160~1\jre\bin;D:\ORACLE~1\MIDDLE~1\JDK160~1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Windows Imaging\;C:\WINDOWS\Tools\Wintools;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\thirdparty\edifecs\XEngine\bin
* 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 *
starting weblogic with Java version:
Starting WLS with line:
D:\ORACLE~1\MIDDLE~1\JDK160~1\bin\java -client -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer -Djava.security.policy=D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -da -Dplatform.home=D:\ORACLE~1\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=D:\ORACLE~1\MIDDLE~1\USER_P~1\domains\SOACOE -Dcommon.components.home=D:\ORACLE~1\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=D:\ORACLE~1\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=D:\ORACLE~1\MIDDLE~1\USER_P~1\domains\SOACOE\config\FMWCON~1 -Doracle.server.config.dir=D:\ORACLE~1\MIDDLE~1\USER_P~1\domains\SOACOE\config\FMWCON~1\servers\AdminServer -Doracle.security.jps.config=D:\ORACLE~1\MIDDLE~1\USER_P~1\domains\SOACOE\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=D:\ORACLE~1\MIDDLE~1\USER_P~1\domains\SOACOE\config\FMWCON~1\carml -Digf.arisidstack.home=D:\ORACLE~1\MIDDLE~1\USER_P~1\domains\SOACOE\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=D:\ORACLE~1\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\ORACLE~1\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -da:org.apache.xmlbeans... -Dsoa.archives.dir=D:\OracleWebLogic\Middleware\Oracle_SOA1\soa -Dsoa.oracle.home=D:\OracleWebLogic\Middleware\Oracle_SOA1 -Dsoa.instance.home=D:\ORACLE~1\MIDDLE~1\USER_P~1\domains\SOACOE -Dtangosol.coherence.clusteraddress=227.7.7.9 -Dtangosol.coherence.clusterport=9778 -Dtangosol.coherence.log=jdk -Djavax.xml.soap.MessageFactory=oracle.j2ee.ws.saaj.soap.MessageFactoryImpl -Djava.protocol.handler.pkgs="oracle.mds.net.protocol|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler|oracle.bpm.io.fs.protocol" -Dweblogic.transaction.blocking.commit=true -Dweblogic.transaction.blocking.rollback=true -Djavax.net.ssl.trustStore=D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\DemoTrust.jks -Dem.oracle.home=D:\OracleWebLogic\Middleware\oracle_common -Djava.awt.headless=true -Dums.oracle.home=D:\OracleWebLogic\Middleware\Oracle_SOA1 -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\ORACLE~1\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;D:\ORACLE~1\MIDDLE~1\patch_ocp353\profiles\default\sysext_manifest_classpath weblogic.Server
Error occurred during initialization of VM
Could not reserve enough space for object heap
Any help How to resolve this error.I have increased the virtual memory of the drive in which i have done the installation.
Thanks
MalaHi
Go to your soa domain root folder/bin and open setSOADomainEnv.cmd file in any text editor. Search for -Xmx1024m and replace that with -Xmx512m. I would prefer copy this entire line and comment one old line and edit the new line with this new value of 512m. So that you know what you changed later on. I do something like this on my side
REM JEGGA changed -Xmx1024m to -Xmx512m
set DEFAULT_MEM_ARGS=-Xms512m -Xmx512m
REM set DEFAULT_MEM_ARGS=-Xms512m -Xmx1024m
Now you should be able to start the domain. Still 2GB is kind of low memory to start SOA Domain with AdminServer and managed server. One other option you have is while Creating SOA Domain, do NOT use all the defaults, instead check the boxes like to changed managed servers etc. And remove the soa managed server during this process and remove the cluster. Just have only one Admin Server and all the SOA Modules deployed to this AdminServer only. In this way, you will have SOA Domain with only one AdminServer and you can start this admin server alone. You can deploy any SOA Application on this domain and it should work fine.
Refer this thread for creating single server soa domain:
Re: Combining two WLS domains
Thanks
Ravi Jegga -
Problem in starting J2EE server
when i type j2ee at the command promt to start the j2ee server,i get an "Exception in thread Main" and the server does not start.When i checked the System.err file, it had:
java.lang.NoSuchMethodError
at com.sun.corba.ee.internal.corba.AnyImpl.createTypeCodeForClass(AnyImpl.java:1256)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.createTypeCode(ShutdownUtilDelegate.java:223)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(ShutdownUtilDelegate.java:178)
at javax.rmi.CORBA.Util.writeAny(Util.java:80)
Can anyone tell me where the problem is and how to solve it.I have already set the environment varaible J2EE_HOME to my j2sdkee path...Make sure you have J2SDK1.4 installed
-
Problem with starting J2EE server via MMC
I'm getting J2EE server not started (jcontrol stopped immediatelly when it starts) with the following issues in the log/trace:
[Thr 2372] Wed Apr 12 15:53:12 2006
[Thr 2372] *** ERROR => invalid return code of process [bootstrap_ID8265050] (exitcode=-2) [jstartxx.c 1433]
[Thr 2372] JControlExecuteBootstrap: error executing bootstrap node [bootstrap_ID8265050] (rc=-2)
[Thr 2372] JControlCloseProgram: started (exitcode = -2)
[Thr 2372] JControlCloseProgram: good bye... (exitcode=-2)
and above
[Thr 2372] Wed Apr 12 15:53:11 2006
[Thr 2372] JControlExecuteBootstrap: execute bootstrap process [bootstrap_ID8265050]
[Thr 2372] INFO: Invalid property value [JLaunchParameters/]
[Thr 2372] [Node: server0 bootstrap] java home is set by profile parameter
Java Home: C:\j2sdk1.4.2_11
Pleae help.
Thanks a lotHi
Thank you very much for your reply!
But,
I started SAPDB:J2E service, but I have the same outcome:
[Thr 3964] Tue Apr 18 13:45:53 2006
[Thr 3964] *** ERROR => invalid return code of process [bootstrap_ID8265050] (exitcode=-2) [jstartxx.c 1433]
[Thr 3964] JControlExecuteBootstrap: error executing bootstrap node [bootstrap_ID8265050] (rc=-2)
[Thr 3964] JControlCloseProgram: started (exitcode = -2)
[Thr 3964] JControlCloseProgram: good bye... (exitcode=-2)
I tried to start: SAPDB: J2E (omststknl.exe)/SAPDB: J2E (quick)+slow + SAPDB: .M750018/SAPDB: .M750018 (omststknl.exe)/SAPDB: .M750018 (quick)+slow, but they coudn't be started - is this my problem?
==> log
[Thr 3964] Tue Apr 18 13:45:52 2006
[Thr 3964] JControlExecuteBootstrap: execute bootstrap process [bootstrap_ID8265050]
[Thr 3964] INFO: Invalid property value [JLaunchParameters/]
[Thr 3964] [Node: server0 bootstrap] java home is set by profile parameter
Java Home: C:\j2sdk1.4.2_11
JStartupIReadSection: read node properties [bootstrap_ID8265050]
-> node name : server0 bootstrap
-> node type : bootstrap
-> java path : C:\j2sdk1.4.2_11
-> java parameters : -Djco.jarm=1 -Djco.jarm=1
-> java vm version : 1.4.2_11-b06
-> java vm vendor : Java HotSpot(TM) Server VM (Sun Microsystems Inc.)
-> java vm type : server
-> java vm cpu : x86
-> heap size : 1024M
-> root path : C:\usr\sap\J2E\JC00\j2ee\cluster
-> class path : .\bootstrap\launcher.jar
-> OS libs path : C:\usr\sap\J2E\JC00\j2ee\os_libs
-> main class : com.sap.engine.offline.OfflineToolStart
-> framework class : com.sap.bc.proj.jstartup.JStartupFramework
-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives
-> framework path : C:\usr\sap\J2E\JC00\j2ee\os_libs\jstartup.jar
-> parameters : com.sap.engine.bootstrap.Bootstrap ./bootstrap ID008265050
-> debuggable : yes
-> debug mode : no
-> debug port : 60000
-> shutdown timeout: 120000
JStartupStartJLaunch: program = C:\usr\sap\J2E\JC00/j2ee/os_libs/jlaunch.exe
-> arg[00] = C:\usr\sap\J2E\JC00/j2ee/os_libs/jlaunch.exe
-> arg[01] = pf=C:\usr\sap\J2E\SYS\profile\J2E_JC00_FY06P1J
-> arg[02] = -DSAPINFO=J2E_00_bootstrap
-> arg[03] = -file=C:\usr\sap\J2E\JC00\j2ee\cluster\instance.properties
-> arg[04] = -nodeName=bootstrap_ID8265050
-> arg[05] = -nodeId=-1
-> arg[06] = -syncSem=JSTARTUP_WAIT_ON_3892
-> arg[07] = -jvmOutFile=C:\usr\sap\J2E\JC00\work\jvm_bootstrap_ID8265050.out
-> arg[08] = -stdOutFile=C:\usr\sap\J2E\JC00\work\std_bootstrap_ID8265050.out
-> arg[09] = -locOutFile=C:\usr\sap\J2E\JC00\work\dev_bootstrap_ID8265050
-> arg[10] = -mode=BOOTSTRAP
-> arg[11] = pf=C:\usr\sap\J2E\SYS\profile\J2E_JC00_FY06P1J
-> lib path = PATH=C:\j2sdk1.4.2_11\jre\bin\server;C:\j2sdk1.4.2_11\jre\bin;c:\sapdb\programs\bin;c:\sapdb\programs\pgm;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Support Tools\;c:\program files\winzip;c:\data\notes;c:\program files\notes;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Common Files\Adaptec Shared\System;C:\usr\sap\J2E\SCS01\exe;C:\usr\sap\J2E\JC00\exe;C:\usr\sap\J2E\SYS\exe\run
-> exe path = PATH=C:\j2sdk1.4.2_11\bin;C:\usr\sap\J2E\JC00\j2ee\os_libs;c:\sapdb\programs\bin;c:\sapdb\programs\pgm;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Support Tools\;c:\program files\winzip;c:\data\notes;c:\program files\notes;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Common Files\Adaptec Shared\System;C:\usr\sap\J2E\SCS01\exe;C:\usr\sap\J2E\JC00\exe;C:\usr\sap\J2E\SYS\exe\run
[Thr 3964] Tue Apr 18 13:45:53 2006
[Thr 3964] *** ERROR => invalid return code of process [bootstrap_ID8265050] (exitcode=-2) [jstartxx.c 1433]
[Thr 3964] JControlExecuteBootstrap: error executing bootstrap node [bootstrap_ID8265050] (rc=-2)
[Thr 3964] JControlCloseProgram: started (exitcode = -2)
[Thr 3964] JControlCloseProgram: good bye... (exitcode=-2)
Please help -
Problem in starting J2EE server, Syntax error in DOS
OS: Windows98
j2sdkee1.3
jsdk1.3
Hi, guys:
I try to run the example of J2ee Tutorial sample code but I find that that the setenv.bat in j2sdkee1.3\bin has sytax error in MS DOS in the following lines
set JAAS_OPTIONS=XXX=YYY
set SSL_OPTIONS=XXX=YYY
set LISTEN_OPTIONS=XXX=YYY
I don't understand why they have such a problem. Didn't they even try to run J2ee server on Windows ? Can't believe such irresponsible development is from SUN.
Can anyone help ? ThanksHi, Guys:
I found the answer base on my research and other's topic answers, especially thank Laughton Jackson.
#1) Change setenv.bat
***********OLD*****************
set JAAS_OPTIONS=-Djava.security.auth.policy=%J2EE_HOME%\lib\security\jaas.policy
set SSL_OPTIONS=-Djavax.net.ssl.trustStore=%J2EE_HOME%\lib\security\cacerts.jks
set LISTEN_OPTIONS=-Dcom.sun.CORBA.connection.ORBListenSocket=SSL:0,SSL_MUTUALAUTH:0,PERSISTENT_SSL:1060
set JAVACMD=%JAVA_HOME%\bin\java -Xmx128m %SSL_OPTIONS% %JAAS_OPTIONS%
change the above to
**************NEW*****************
set JAAS_OPTIONS=-Djava.security.auth.policy
set JAAS_OPTIONS1=%J2EE_HOME%\lib\security\jaas.policy
set SSL_OPTIONS=-Djavax.net.ssl.trustStore
set SSL_OPTIONS1=%J2EE_HOME%\lib\security\cacerts.jks
set LISTEN_OPTIONS=-Dcom.sun.CORBA.connection.ORBListenSocket
set LISTEN_OPTIONS1=SSL:0,SSL_MUTUALAUTH:0,PERSISTENT_SSL:1060
set CLASSPATH=%CLASSPATH%;%CPATH%
set JAVACMD=%JAVA_HOME%\bin\java -Xmx128m
Notice that we break those lines of the format
set XX=YY=ZZ and add set CLASSPATH=%CLASSPATH%;%CPATH%. Those env variables look very confusing at first. Actually they are nothing but tools that the original person who wrote this script uses to saving his typing !
#2 Change j2ee.bat
************OLD********************
%JAVACMD% %LISTEN_OPTIONS% -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter -Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl -Djms.home=%JMS_HOME% -Dcom.sun.jms.service.jdbc.dbpath=%JMS_DB_PATH% -Djms.properties=%J2EE_HOME%\config\jms_service.properties -Djava.security.policy==%J2EE_HOME%\lib\security\server.policy -Djava.security.auth.login.config=%J2EE_HOME%\lib\security\login.config -Dcom.sun.enterprise.home=%J2EE_HOME% -classpath %CPATH% com.sun.enterprise.server.J2EEServer %*
Change the above to
************NEW********************
%JAVACMD% %SSL_OPTIONS%=%SSL_OPTIONS1% %JAAS_OPTIONS%=%JAAS_OPTIONS1% %LISTEN_OPTIONS%=%LISTEN_OPTIONS1% -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter -Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl -Djms.home=%JMS_HOME% -Dcom.sun.jms.service.jdbc.dbpath=%JMS_DB_PATH% -Djms.properties=%J2EE_HOME%\config\jms_service.properties -Djava.security.policy==%J2EE_HOME%\lib\security\server.policy -Djava.security.auth.login.config=%J2EE_HOME%\lib\security\login.config -Dcom.sun.enterprise.home=%J2EE_HOME% com.sun.enterprise.server.J2EEServer %1 %2
Notice that we changed "com.sun.enterprise.server.J2EEServer %*" to
"com.sun.enterprise.server.J2EEServer %1 %2"
Good luck
Henry -
Problem while starting managed server using nodemanager
Hi everyone,
I am using WLST of Weblogic server 10.3, to automate the creation of domain, managed servers,JDBC,JMS resources etc.. and trying to start the managed servers using node manager. I have an environment which contains few domains. All the domains are using machine named "X".
Now, i am creating the same machine in my domain WLSTDomain. I have the following doubts.
Is there a way to check whether the nodemanager(of X) is already running.
If there is a way to check that, how can we start the managed servers in WLSTDomain using that existing nodemanager.1. yes you can check if the nodemanage is running using the following ways.
For linux env:-
a. Check if the JAVA process for nodemanager is running ps -ef | grep java and see the nodemanager process else /usr/sbin/lsof -i:$port (port of nodemanager).
b. Login to Admin Console --> Environment --> Machines --> Click on Machines --> Nodemanager --> Monitoring will give you nodemanager status from Admin console.
c. use nm() command with WLST
Example:
wls:/mydomain/serverConfig> nm()
Currently connected to Node Manager that is monitoring the domain "mydomain"
wls:/mydomain/serverConfig> nm()
Not connected to any Node Manager
wls:/mydomain/serverConfig>
To see if WLST connects to nodemanager or not?
help('nmLog') --> to check the nm logs
2. To start the nodemanager using WLST here are the commands
Example:
For single managed Server
wls:/mydomain/serverConfig> start('myserver', 'Server', block='false')
Starting server 'myserver' ...
The server 'myserver' started successfully.
wls:/mydomain/serverConfig>
For Cluster
wls:/mydomain/serverConfig> start('mycluster', 'Cluster')
Starting the following servers in Cluster, mycluster: MS1, MS2, MS3...
All servers in the cluster mycluster are started successfully.
wls:/mydomain/serverConfig> -
OIM 11gR2 : Problem while starting managed server
Hello Experts,
I ran config.sh in order to extend my schema to include APM (Authorization Policy Manager) in OIM 11gR2.
After that i took a restart of the servers. When i am trying to start the managed servers they're not starting in the RUNNING mode. Instead they're starting in the ADMIN mode.
The logs are showing the following error :
Internal Exception: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
Kindly help me out.1. yes you can check if the nodemanage is running using the following ways.
For linux env:-
a. Check if the JAVA process for nodemanager is running ps -ef | grep java and see the nodemanager process else /usr/sbin/lsof -i:$port (port of nodemanager).
b. Login to Admin Console --> Environment --> Machines --> Click on Machines --> Nodemanager --> Monitoring will give you nodemanager status from Admin console.
c. use nm() command with WLST
Example:
wls:/mydomain/serverConfig> nm()
Currently connected to Node Manager that is monitoring the domain "mydomain"
wls:/mydomain/serverConfig> nm()
Not connected to any Node Manager
wls:/mydomain/serverConfig>
To see if WLST connects to nodemanager or not?
help('nmLog') --> to check the nm logs
2. To start the nodemanager using WLST here are the commands
Example:
For single managed Server
wls:/mydomain/serverConfig> start('myserver', 'Server', block='false')
Starting server 'myserver' ...
The server 'myserver' started successfully.
wls:/mydomain/serverConfig>
For Cluster
wls:/mydomain/serverConfig> start('mycluster', 'Cluster')
Starting the following servers in Cluster, mycluster: MS1, MS2, MS3...
All servers in the cluster mycluster are started successfully.
wls:/mydomain/serverConfig> -
Problem while starting Weblogic Server
Hi,
I upgraded my weblogic domain 8.1 to 10.3 and also i upgrade securityprovides and when i tried to start the weblogic server, server failed to start stating following err log:
####<May 19, 2009 2:36:21 PM SGT> <Info> <Server> <RAJI> <portalServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1242714981922> <BEA-002622> <The protocol "snmp" is now configured.>
####<May 19, 2009 2:36:21 PM SGT> <Info> <Server> <RAJI> <portalServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1242714981922> <BEA-002622> <The protocol "admin" is now configured.>
####<May 19, 2009 2:36:21 PM SGT> <Info> <Server> <RAJI> <portalServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1242714981922> <BEA-002624> <The administration protocol is "t3s" and is now configured.>
####<May 19, 2009 2:36:21 PM SGT> <Info> <RJVM> <RAJI> <portalServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1242714981969> <BEA-000570> <Network Configuration for Channel "portalServer"
Listen Address *
Public Address N/A
Http Enabled true
Tunneling Enabled false
Outbound Enabled false
Admin Traffic Enabled true>
####<May 19, 2009 2:36:21 PM SGT> <Info> <RJVM> <RAJI> <portalServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1242714981969> <BEA-000570> <Network Configuration for Channel "portalServer"
Listen Address null:7002 (SSL)
Public Address N/A
Http Enabled true
Tunneling Enabled false
Outbound Enabled false
Admin Traffic Enabled true>
####<May 19, 2009 2:36:22 PM SGT> <Info> <Server> <RAJI> <portalServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1242714982031> <BEA-002609> <Channel Service initialized.>
####<May 19, 2009 2:36:22 PM SGT> <Info> <Socket> <RAJI> <portalServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1242714982078> <BEA-000406> <NTSocketMuxer was built on Jan 13 2005 17:47:03
>
####<May 19, 2009 2:36:22 PM SGT> <Info> <Socket> <RAJI> <portalServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1242714982125> <BEA-000436> <Allocating 3 reader threads.>
####<May 19, 2009 2:36:22 PM SGT> <Info> <Socket> <RAJI> <portalServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1242714982125> <BEA-000446> <Native IO Enabled.>
####<May 19, 2009 2:36:22 PM SGT> <Info> <IIOP> <RAJI> <portalServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1242714982484> <BEA-002014> <IIOP subsystem enabled.>
####<May 19, 2009 2:37:03 PM SGT> <Info> <Security> <RAJI> <portalServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1242715023953> <BEA-000000> <Starting OpenJPA 1.1.0>
####<May 19, 2009 2:37:04 PM SGT> <Info> <Security> <RAJI> <portalServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1242715024078> <BEA-000000> <StoreServiceImpl.initJDO - StoreService is initialized with Id = ldap_j5sIDd79wW4Hy46eiB3qR9PK1tc=>
####<May 19, 2009 2:37:04 PM SGT> <Info> <Security> <RAJI> <portalServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1242715024156> <BEA-090511> <The following exception has occurred:
java.lang.NoClassDefFoundError: com/bea/wsrp/util/debug/Debug
at com.bea.wsrp.security.WSRPIdentityAsserterProviderImpl.<clinit>(WSRPIdentityAsserterProviderImpl.java:45)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.bea.common.security.internal.legacy.service.SecurityProviderImpl.init(SecurityProviderImpl.java:51)
at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:363)
at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)
at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)
at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)
at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(Unknown Source)
at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(Unknown Source)
at weblogic.security.service.CSSWLSDelegateImpl.initialize(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
at weblogic.security.SecurityService.start(SecurityService.java:142)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
####<May 19, 2009 2:37:04 PM SGT> <Error> <Security> <RAJI> <portalServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1242715024172> <BEA-090870> <The realm "myrealm" failed to be loaded: weblogic.security.service.SecurityServiceException: java.lang.NoClassDefFoundError: com/bea/wsrp/util/debug/Debug.
weblogic.security.service.SecurityServiceException: java.lang.NoClassDefFoundError: com/bea/wsrp/util/debug/Debug
at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(Unknown Source)
at weblogic.security.service.CSSWLSDelegateImpl.initialize(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
java.lang.NoClassDefFoundError: com/bea/wsrp/util/debug/Debug
at com.bea.wsrp.security.WSRPIdentityAsserterProviderImpl.<clinit>(WSRPIdentityAsserterProviderImpl.java:45)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.bea.common.security.internal.legacy.service.SecurityProviderImpl.init(SecurityProviderImpl.java:51)
at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:363)
at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)
at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)
at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)
at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(Unknown Source)
at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(Unknown Source)
at weblogic.security.service.CSSWLSDelegateImpl.initialize(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
at weblogic.security.SecurityService.start(SecurityService.java:142)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
####<May 19, 2009 2:37:04 PM SGT> <Notice> <Security> <RAJI> <portalServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1242715024172> <BEA-090082> <Security initializing using security realm myrealm.>
####<May 19, 2009 2:37:04 PM SGT> <Critical> <WebLogicServer> <RAJI> <portalServer> <Main Thread> <<WLS Kernel>> <> <> <1242715024188> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
weblogic.security.service.SecurityServiceRuntimeException: [Security:090399]Security Services Unavailable
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
####<May 19, 2009 2:37:04 PM SGT> <Notice> <WebLogicServer> <RAJI> <portalServer> <Main Thread> <<WLS Kernel>> <> <> <1242715024266> <BEA-000365> <Server state changed to FAILED>
####<May 19, 2009 2:37:04 PM SGT> <Error> <WebLogicServer> <RAJI> <portalServer> <Main Thread> <<WLS Kernel>> <> <> <1242715024266> <BEA-000383> <A critical service failed. The server will shut itself down>
####<May 19, 2009 2:37:04 PM SGT> <Notice> <WebLogicServer> <RAJI> <portalServer> <Main Thread> <<WLS Kernel>> <> <> <1242715024281> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
####<May 19, 2009 2:37:04 PM SGT> <Info> <WebLogicServer> <RAJI> <portalServer> <Main Thread> <<WLS Kernel>> <> <> <1242715024281> <BEA-000236> <Stopping execute threads.>
Pls, help
krishnaThe above issue is resolved by adding this to setDomainEnv.sh :
ALTERNATE_TYPES_DIRECTORY="${WLPORTAL_HOME}/portal/lib/security"
export ALTERNATE_TYPES_DIRECTORY
JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.alternateTypesDirectory=${ALTERNATE_TYPES_DIRECTORY}"
# weblogic extension directories (system jars)
if [ "${WEBLOGIC_EXTENSION_DIRS}" != "" ] ; then
WEBLOGIC_EXTENSION_DIRS="${WEBLOGIC_EXTENSION_DIRS}${CLASSPATHSEP}${WLPORTAL_HOME}/p13n/lib/system"
export WEBLOGIC_EXTENSION_DIRS
else
WEBLOGIC_EXTENSION_DIRS="${WLPORTAL_HOME}/p13n/lib/system"
export WEBLOGIC_EXTENSION_DIRS
fi
WEBLOGIC_EXTENSION_DIRS="${WEBLOGIC_EXTENSION_DIRS}${CLASSPATHSEP}${WLPORTAL_HOME}/light-portal/lib/system${CLASSPATHSEP}${WLPORTAL_HOME}/portal/lib/system${
CLASSPATHSEP}${WLPORTAL_HOME}/info-mgmt/lib/system${CLASSPATHSEP}${WLPORTAL_HOME}/analytics/lib/system${CLASSPATHSEP}${WLPORTAL_HOME}/apps/lib/system${CLASSP
ATHSEP}${WLPORTAL_HOME}/info-mgmt/deprecated/lib/system"
export WEBLOGIC_EXTENSION_DIRS
WEBLOGIC_EXTENSION_DIRS="${WEBLOGIC_EXTENSION_DIRS}${CLASSPATHSEP}${WLPORTAL_HOME}/content-mgmt/lib/system"
export WEBLOGIC_EXTENSION_DIRS
if [ "${WEBLOGIC_EXTENSION_DIRS}" != "" ] ; then
JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.ext.dirs=${WEBLOGIC_EXTENSION_DIRS}"
export JAVA_OPTIONS
fi -
Error while starting j2EE server for JMS program
J2EEServer class doesnot find the class javax.naming.Context eventhough the classpath contains the jndi.jar file....I am using j2sdkee1.3 version and jndi version is 1.2.1...what could be the cause? can anyone help!
Well I figured it out....there was a version conflict!
-
Error while starting manages server
Hi All.
M facing problem while starting managed server, this might be related to sip server as i see this in the error log. when i click on the sip server tab in the console then io see below error :-
+++++++++
Error opening /ext-jsp/sipserver/ConfigGeneralForm.jsp.
The source of this error is:
javax.servlet.ServletException: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /ext-jsp/sipserver/ConfigGeneralForm.jsp
Exception occurred while processing '/bea/wls/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/sipserver-console-ext/ext-jsp/sipserver/ConfigGeneralForm.jsp'java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at com.bea.core.repackaged.jdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:67)
at com.bea.core.repackaged.jdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:152)
at com.bea.core.repackaged.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:717)
at com.bea.core.repackaged.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:377)
at com.bea.core.repackaged.jdt.internal.compiler.Compiler.compile(Compiler.java:422)
at weblogic.jsp.internal.java.JDTJavaCompiler.generateByteCode(JDTJavaCompiler.java:104)
at weblogic.jsp.internal.java.JavaSourceFile._codeGen(JavaSourceFile.java:211)
at weblogic.jsp.internal.java.JavaSourceFile.codeGen(JavaSourceFile.java:201)
at weblogic.jsp.internal.ProxySourceFile.compileGeneratedFiles(ProxySourceFile.java:310)
at weblogic.jsp.internal.ProxySourceFile.codeGen(ProxySourceFile.java:248)
at weblogic.jsp.internal.SourceFile.codeGen(SourceFile.java:327)
at weblogic.jsp.internal.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:599)
at weblogic.jsp.internal.client.Job.performJob(Job.java:83)
at weblogic.jsp.internal.client.ThreadPool$WorkerThread.run(ThreadPool.java:217)
Caused by: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /ext-jsp/sipserver/ConfigGeneralForm.jsp
Exception occurred while processing '/bea/wls/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/sipserver-console-ext/ext-jsp/sipserver/ConfigGeneralForm.jsp'java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at com.bea.core.repackaged.jdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:67)
at com.bea.core.repackaged.jdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:152)
at com.bea.core.repackaged.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:717)
at com.bea.core.repackaged.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:377)
at com.bea.core.repackaged.jdt.internal.compiler.Compiler.compile(Compiler.java:422)
at weblogic.jsp.internal.java.JDTJavaCompiler.generateByteCode(JDTJavaCompiler.java:104)
at weblogic.jsp.internal.java.JavaSourceFile._codeGen(JavaSourceFile.java:211)
at weblogic.jsp.internal.java.JavaSourceFile.codeGen(JavaSourceFile.java:201)
at weblogic.jsp.internal.ProxySourceFile.compileGeneratedFiles(ProxySourceFile.java:310)
at weblogic.jsp.internal.ProxySourceFile.codeGen(ProxySourceFile.java:248)
at weblogic.jsp.internal.SourceFile.codeGen(SourceFile.java:327)
at weblogic.jsp.internal.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:599)
at weblogic.jsp.internal.client.Job.performJob(Job.java:83)
at weblogic.jsp.internal.client.ThreadPool$WorkerThread.run(ThreadPool.java:217)
at weblogic.servlet.jsp.JavelinxJSPStub.reportCompilationErrorIfNeccessary(JavelinxJSPStub.java:226)
at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:162)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:256)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:216)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
... 184 more
++++++++
Below is the config.xml file i am using :-
<?xml version="1.0" encoding="UTF-8"?>
<domain xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd" xmlns="http://xmlns.oracle.com/weblogic/domain" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<name>base_domain</name>
<domain-version>10.3.4.0</domain-version>
<security-configuration xmlns:xacml="http://xmlns.oracle.com/weblogic/security/xacml" xmlns:pas="http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator">
<name>base_domain</name>
<realm>
<sec:authentication-provider xsi:type="wls:default-authenticatorType"/>
<sec:authentication-provider xsi:type="wls:default-identity-asserterType">
<sec:active-type>AuthenticatedUser</sec:active-type>
</sec:authentication-provider>
<sec:role-mapper xsi:type="xacml:xacml-role-mapperType"/>
<sec:authorizer xsi:type="xacml:xacml-authorizerType"/>
<sec:adjudicator xsi:type="wls:default-adjudicatorType"/>
<sec:credential-mapper xsi:type="wls:default-credential-mapperType"/>
<sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType"/>
<sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
<sec:name>myrealm</sec:name>
<sec:password-validator xsi:type="pas:system-password-validatorType">
<sec:name>SystemPasswordValidator</sec:name>
<pas:min-password-length>8</pas:min-password-length>
<pas:min-numeric-or-special-characters>1</pas:min-numeric-or-special-characters>
</sec:password-validator>
</realm>
<default-realm>myrealm</default-realm>
<credential-encrypted>{AES}Ax9F8YRCZJqRRoPcjJxTwS03NgNAJSUjUcQ0vMJybMfkxNKN3YZCRsR+jEQrT/n3/KU4Kn5WXqCILWifqYRDlmnGGryHuNEEK83B/FCoBb1h8T47+ML1pULyyNpGPaFq</credential-encrypted>
<node-manager-username>weblogic</node-manager-username>
<node-manager-password-encrypted>{AES}G0nkKdRHqwIqNXGqn7lArIXG1SfKKdkWwTOyZ4SmkwE=</node-manager-password-encrypted>
</security-configuration>
<server>
<name>AdminServer</name>
<self-tuning-thread-pool-size-min>15</self-tuning-thread-pool-size-min>
<socket-readers>2</socket-readers>
<ssl>
<name>AdminServer</name>
<enabled>true</enabled>
</ssl>
<machine>Machine_1</machine>
<listen-address/>
<network-access-point>
<name>sip</name>
<protocol>sip</protocol>
<listen-port>5060</listen-port>
<public-port>5060</public-port>
<http-enabled-for-this-protocol>false</http-enabled-for-this-protocol>
<outbound-enabled>true</outbound-enabled>
</network-access-point>
<network-access-point>
<name>sips</name>
<protocol>sips</protocol>
<listen-port>5061</listen-port>
<public-port>5061</public-port>
<http-enabled-for-this-protocol>false</http-enabled-for-this-protocol>
<outbound-enabled>true</outbound-enabled>
</network-access-point>
</server>
<server>
<name>M1</name>
<ssl>
<name>M1</name>
<enabled>true</enabled>
<listen-port>7503</listen-port>
</ssl>
<machine>Machine_1</machine>
<listen-port>7003</listen-port>
<listen-address/>
<web-service>
<name>M1</name>
<web-service-persistence>
<name>M1</name>
<web-service-logical-store>
<name>WseeStore</name>
<persistence-strategy>LOCAL_ACCESS_ONLY</persistence-strategy>
<request-buffering-queue-jndi-name>weblogic.wsee.BufferedRequestQueue</request-buffering-queue-jndi-name>
<response-buffering-queue-jndi-name>weblogic.wsee.BufferedResponseQueue</response-buffering-queue-jndi-name>
</web-service-logical-store>
</web-service-persistence>
</web-service>
</server>
<server>
<name>M2</name>
<ssl>
<name>M2</name>
<enabled>true</enabled>
<listen-port>7504</listen-port>
</ssl>
<machine>Machine_1</machine>
<listen-port>7004</listen-port>
<listen-address/>
<web-service>
<name>M2</name>
<web-service-persistence>
<name>M2</name>
<web-service-logical-store>
<name>WseeStore</name>
<persistence-strategy>LOCAL_ACCESS_ONLY</persistence-strategy>
<request-buffering-queue-jndi-name>weblogic.wsee.BufferedRequestQueue</request-buffering-queue-jndi-name>
<response-buffering-queue-jndi-name>weblogic.wsee.BufferedResponseQueue</response-buffering-queue-jndi-name>
</web-service-logical-store>
</web-service-persistence>
</web-service>
</server>
<embedded-ldap>
<name>base_domain</name>
<credential-encrypted>{AES}vWDbFLBCN+g/5kGlFyC+Qp8NUIevNXYQEJYBVgoM2BaXRBIGnLy+rHfLzGrQT5JG</credential-encrypted>
</embedded-ldap>
<configuration-version>10.3.4.0</configuration-version>
<machine xsi:type="unix-machineType">
<name>Machine_1</name>
<node-manager>
<name>Machine_1</name>
<listen-address>localhost</listen-address>
</node-manager>
</machine>
<jms-server>
<name>WseeJmsServer_auto_2</name>
<target>M1</target>
<persistent-store>WseeFileStore_auto_2</persistent-store>
</jms-server>
<jms-server>
<name>WseeJmsServer_auto_3</name>
<target>M2</target>
<persistent-store>WseeFileStore_auto_3</persistent-store>
</jms-server>
<jms-server>
<name>WseeJaxwsJmsServer_auto_2</name>
<target>M1</target>
<persistent-store>WseeJaxwsFileStore_auto_2</persistent-store>
</jms-server>
<jms-server>
<name>WseeJaxwsJmsServer_auto_3</name>
<target>M2</target>
<persistent-store>WseeJaxwsFileStore_auto_3</persistent-store>
</jms-server>
<self-tuning>
<fair-share-request-class>
<name>wlss.transport.fsrc</name>
<target>M1,M2</target>
<fair-share>50</fair-share>
</fair-share-request-class>
<fair-share-request-class>
<name>wlss.timer.fsrc</name>
<target>M1,M2</target>
<fair-share>100</fair-share>
</fair-share-request-class>
<fair-share-request-class>
<name>wlss.tracing.fsrc</name>
<target>M1,M2</target>
<fair-share>50</fair-share>
</fair-share-request-class>
<fair-share-request-class>
<name>wlss.connect.fsrc</name>
<target>M1,M2</target>
<fair-share>1000</fair-share>
</fair-share-request-class>
<min-threads-constraint>
<name>wlss.tracing.minthreads</name>
<target>M1,M2</target>
<count>1</count>
</min-threads-constraint>
<min-threads-constraint>
<name>wlss.connect.minthreads</name>
<target>M1,M2</target>
<count>1</count>
</min-threads-constraint>
<max-threads-constraint>
<name>wlss.timer.maxthreads</name>
<target>M1,M2</target>
<count>16</count>
<connection-pool-name/>
</max-threads-constraint>
<max-threads-constraint>
<name>wlss.tracing.maxthreads</name>
<target>M1,M2</target>
<count>1</count>
<connection-pool-name/>
</max-threads-constraint>
<capacity>
<name>wlss.transport.capacity</name>
<target>M1,M2</target>
<count>400</count>
</capacity>
<capacity>
<name>wlss.timer.capacity</name>
<target>M1,M2</target>
<count>256</count>
</capacity>
<work-manager>
<name>wlss.transport</name>
<target>M1,M2</target>
<fair-share-request-class>wlss.transport.fsrc</fair-share-request-class>
<response-time-request-class xsi:nil="true"/>
<context-request-class xsi:nil="true"/>
<capacity>wlss.transport.capacity</capacity>
<ignore-stuck-threads>false</ignore-stuck-threads>
</work-manager>
<work-manager>
<name>wlss.timer</name>
<target>M1,M2</target>
<fair-share-request-class>wlss.timer.fsrc</fair-share-request-class>
<response-time-request-class xsi:nil="true"/>
<context-request-class xsi:nil="true"/>
<max-threads-constraint>wlss.timer.maxthreads</max-threads-constraint>
<capacity>wlss.timer.capacity</capacity>
<ignore-stuck-threads>false</ignore-stuck-threads>
</work-manager>
<work-manager>
<name>wlss.tracing.domain</name>
<target>M1,M2</target>
<fair-share-request-class>wlss.tracing.fsrc</fair-share-request-class>
<min-threads-constraint>wlss.tracing.minthreads</min-threads-constraint>
<max-threads-constraint>wlss.tracing.maxthreads</max-threads-constraint>
<ignore-stuck-threads>false</ignore-stuck-threads>
</work-manager>
<work-manager>
<name>wlss.tracing.local</name>
<target>M1,M2</target>
<fair-share-request-class>wlss.tracing.fsrc</fair-share-request-class>
<response-time-request-class xsi:nil="true"/>
<context-request-class xsi:nil="true"/>
<min-threads-constraint>wlss.tracing.minthreads</min-threads-constraint>
<max-threads-constraint>wlss.tracing.maxthreads</max-threads-constraint>
<ignore-stuck-threads>false</ignore-stuck-threads>
</work-manager>
<work-manager>
<name>wlss.connect</name>
<target>M1,M2</target>
<fair-share-request-class>wlss.connect.fsrc</fair-share-request-class>
<response-time-request-class xsi:nil="true"/>
<context-request-class xsi:nil="true"/>
<min-threads-constraint>wlss.connect.minthreads</min-threads-constraint>
<ignore-stuck-threads>false</ignore-stuck-threads>
</work-manager>
<work-manager>
<name>weblogic.wsee.mdb.DispatchPolicy</name>
<target>M1,M2</target>
</work-manager>
<work-manager>
<name>weblogic.wsee.jaxws.mdb.DispatchPolicy</name>
<target>M1, M2</target>
</work-manager>
</self-tuning>
<file-store>
<name>WseeFileStore_auto_2</name>
<directory>WseeFileStore_auto_2</directory>
<target>M1</target>
</file-store>
<file-store>
<name>WseeFileStore_auto_3</name>
<directory>WseeFileStore_auto_3</directory>
<target>M2</target>
</file-store>
<file-store>
<name>WseeJaxwsFileStore_auto_2</name>
<directory>WseeJaxwsFileStore_auto_2</directory>
<target>M1</target>
</file-store>
<file-store>
<name>WseeJaxwsFileStore_auto_3</name>
<directory>WseeJaxwsFileStore_auto_3</directory>
<target>M2</target>
</file-store>
<file-store>
<name>WseeFileStore</name>
<directory>WseeFileStore</directory>
<target>AdminServer</target>
</file-store>
<jms-system-resource>
<name>WseeJmsModule</name>
<target>M1,M2</target>
<sub-deployment>
<name>WseeJmsServer9127702</name>
<target>WseeJmsServer_auto_2</target>
</sub-deployment>
<sub-deployment>
<name>WseeJmsServer20604610</name>
<target>WseeJmsServer_auto_3</target>
</sub-deployment>
<descriptor-file-name>jms/wseejmsmodule-jms.xml</descriptor-file-name>
</jms-system-resource>
<jms-system-resource>
<name>WseeJaxwsJmsModule</name>
<target>M1,M2</target>
<sub-deployment>
<name>WseeJaxwsJmsServer31278546</name>
<target>WseeJaxwsJmsServer_auto_2</target>
</sub-deployment>
<sub-deployment>
<name>WseeJaxwsJmsServer7750867</name>
<target>WseeJaxwsJmsServer_auto_3</target>
</sub-deployment>
<descriptor-file-name>jms/wseejaxwsjmsmodule-jms.xml</descriptor-file-name>
</jms-system-resource>
<custom-resource>
<name>sipserver</name>
<target>M1,M2</target>
<descriptor-file-name>custom/sipserver.xml</descriptor-file-name>
<resource-class>com.bea.wcp.sip.management.descriptor.resource.SipServerResource</resource-class>
<descriptor-bean-class>com.bea.wcp.sip.management.descriptor.beans.SipServerBean</descriptor-bean-class>
</custom-resource>
<admin-server-name>AdminServer</admin-server-name>
<saf-agent>
<name>ReliableWseeSAFAgent</name>
<target>AdminServer</target>
<store>WseeFileStore</store>
</saf-agent>
<saf-agent>
<name>ReliableWseeJaxwsSAFAgent_M1</name>
<target>M1</target>
<store>WseeJaxwsFileStore_auto_2</store>
</saf-agent>
<saf-agent>
<name>ReliableWseeJaxwsSAFAgent_M2</name>
<target>M2</target>
<store>WseeJaxwsFileStore_auto_3</store>
</saf-agent>
</domain>
Can someone please helpme here..I tried same and facing below error whenever i click on any tab over the console :-
Error opening /jsp/core/server/ServersControlTable.jsp
The source of this error is:
java.lang.OutOfMemoryError: PermGen space
++++++++
below is the MEm_ARGS in commEnv.sh :-
# This script is used to set up a common environment for starting WebLogic
# Server, as well as WebLogic development.
# It sets the following variables:
# BEA_HOME - The home directory of all your BEA installation.
# MW_HOME - The home directory of all your Oracle installation.
# WL_HOME - The root directory of the BEA installation.
# COHERENCE_HOME - The root directory of the COHERENCE installation.
# ANT_HOME - The Ant Home directory.
# ANT_CONTRIB - The Ant contrib directory
# JAVA_HOME - Location of the version of Java used to start WebLogic
# Server. See the Oracle Fusion Middleware Supported System Configurations page
# (http://www.oracle.com/technology/software/products/ias/files/fusion_certification.html) for an
# up-to-date list of supported JVMs on your platform.
# JAVA_VENDOR - Vendor of the JVM (i.e. BEA, HP, IBM, Sun, etc.)
# JAVA_USE_64BIT - Indicates if JVM uses 64 bit operations
# PATH - JDK and WebLogic directories will be added to the system
# path.
# WEBLOGIC_CLASSPATH - Classpath required to start WebLogic Server.
# FMWCONFIG_CLASSPATH - Classpath required to start config tools such as WLST, config wizard, pack, and unpack..
# FMWLAUNCH_CLASSPATH - Additional classpath needed for WLST start script
# LD_LIBRARY_PATH, LIBPATH and SHLIB_PATH
# - To locate native libraries.
# JAVA_VM - The java arg specifying the VM to run. (e.g.
# -server, -hotspot, etc.)
# MEM_ARGS - The variable to override the standard memory arguments
# passed to java.
# CLASSPATHSEP - CLASSPATH delimiter.
# PATHSEP - Path delimiter.
# DERBY_HOME - Derby home directory.
# DERBY_TOOLS - Derby tools jar.
# DERBY_CLASSPATH - Classpath needed to start Derby.
# DERBY_CLIENT_CLASSPATH
# - Derby client classpath.
# PRODUCTION_MODE - Indicates if the Server will be started in PRODUCTION_MODE
# PATCH_CLASSPATH - WebLogic system classpath patch
# PATCH_LIBPATH - Library path used for patches
# PATCH_PATH - Path used for patches
# WEBLOGIC_EXTENSION_DIRS - Extension dirs for WebLogic classpath patch
# It exports the following function:
# trapSIGINT - Get actual Derby PID when running in MKSNT environment;
# trap SIGINT to make sure Derby will also be stopped.
# resetFd - Reset the number of open file descriptors to 1024.
# jDriver for Oracle users: This script assumes that native libraries required
# for jDriver for Oracle have been installed in the proper location and that
# your os specific library path variable (i.e. LD_LIBRARY_PATH/solaris,
# SHLIB_PATH/hpux, etc...) has been set appropriately. Also note that this
# script defaults to the oci920_8 version of the shared libraries. If this is
# not the version you need, please adjust the library path variable
# accordingly.
# sub functions
# limit the number of open file descriptors
resetFd() {
if [ ! -n "`uname -s |grep -i cygwin || uname -s |grep -i windows_nt || \
uname -s |grep -i HP-UX`" ]
then
ofiles=`ulimit -S -n`
maxfiles=`ulimit -H -n`
if [ "$?" = "0" -a `expr ${maxfiles} : '[0-9][0-9]*$'` -eq 0 -a `expr ${ofiles} : '[0-9][0-9]*$'` -eq 0 ]; then
ulimit -n 4096
else
if [ "$?" = "0" -a `uname -s` = "SunOS" -a `expr ${maxfiles} : '[0-9][0-9]*$'` -eq 0 ]; then
if [ ${ofiles} -lt 65536 ]; then
ulimit -H -n 65536
else
ulimit -H -n ${ofiles}
fi
fi
fi
fi
# Get actual Derby process when running in MKS/NT environment;
# Trap SIGINT
# input:
# DERBY_PID -- Derby server process id.
# output:
# DERBY_PID -- Actual Derby pid in MKS/NT environment.
trapSIGINT() {
# With MKS, the pid of $! dosen't show up correctly.
# It starts a shell process to launch whatever commands it calls.
if [ `uname -s` = "Windows_NT" ]; then
DERBY_PID=`ps -eo pid,ppid |
awk -v DERBY_PID=${DERBY_PID} '$2 == DERBY_PID {print $1}'`
POINTBASE_PID=`ps -eo pid,ppid |
awk -v POINTBASE_PID=${POINTBASE_PID} '$2 == POINTBASE_PID {print $1}'`
fi
# Kill Derby on interrupt from this script (^C)
trap 'if [ "${DERBY_PID}" != "" ]; then
kill -9 ${DERBY_PID}
unset DERBY_PID
fi' 2
trap 'if [ "${POINTBASE_PID}" != "" ]; then
kill -9 ${POINTBASE_PID}
unset POINTBASE_PID
fi' 2
# end of sub functions
# Set up BEA Home
BEA_HOME="/bea/wls"
# Set up Middleware Home
MW_HOME="/bea/wls"
# Set up WebLogic Home
WL_HOME="/bea/wls/wlserver_10.3"
# Set up COHERENCE Home
COHERENCE_HOME="/bea/wls/coherence_3.6"
# Set up Common Modules Directory
MODULES_DIR="/bea/wls/modules"
# Set up Common Features Directory
FEATURES_DIR="/bea/wls/modules/features"
# Set up Ant Home
ANT_HOME="${MODULES_DIR}/org.apache.ant_1.7.1"
# Set up Ant contrib
ANT_CONTRIB="${MODULES_DIR}/net.sf.antcontrib_1.1.0.0_1-0b2"
# Setup SUN_ARCH_DATA_MODEL
SUN_ARCH_DATA_MODEL="32"
#JAVA_USE_64BIT, true if JVM uses 64 bit operations
JAVA_USE_64BIT=false
# Reset JAVA_HOME, JAVA_VENDOR and PRODUCTION_MODE unless JAVA_HOME
# and JAVA_VENDOR are pre-defined.
if [ -z "${JAVA_HOME}" -o -z "${JAVA_VENDOR}" ]; then
# Set up JAVA HOME
JAVA_HOME="/usr/jdk/instances/jdk1.7.0_05"
# Set up JAVA VENDOR, possible values are
#Oracle, HP, IBM, Sun ...
JAVA_VENDOR=Oracle
# PRODUCTION_MODE, default to the development mode
PRODUCTION_MODE=""
fi
export BEA_HOME MW_HOME WL_HOME MODULES_DIR FEATURES_DIR COHERENCE_HOME ANT_HOME ANT_CONTRIB JAVA_HOME JAVA_VENDOR PRODUCTION_MODE JAVA_USE_64BIT
# Set up JVM options base on value of JAVA_VENDOR
if [ "$PRODUCTION_MODE" = "true" ]; then
case $JAVA_VENDOR in
Oracle)
JAVA_VM=-server
MEM_ARGS="-Xms128m -Xmx256m"
HP)
JAVA_VM=-server
MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
IBM)
JAVA_VM=
MEM_ARGS="-Xms32m -Xmx200m"
Sun)
JAVA_VM=-server
MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
Apple)
JAVA_VM=-server
MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
JAVA_VM=
MEM_ARGS="-Xms32m -Xmx200m"
esac
else
case $JAVA_VENDOR in
Oracle)
JAVA_VM=-server
MEM_ARGS="-Xms128m -Xmx256m"
-Xms512m -Xmx512m -XX:MaxPermSize=256m
JAVA_OPTIONS="${JAVA_OPTIONS} -Xverify:none"
HP)
JAVA_VM=-client
MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
IBM)
JAVA_VM=
MEM_ARGS="-Xms32m -Xmx200m"
Sun)
JAVA_VM=-client
MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
JAVA_OPTIONS="${JAVA_OPTIONS} -Xverify:none"
Apple)
JAVA_VM=-client
MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
JAVA_VM=
MEM_ARGS="-Xms32m -Xmx200m"
esac
fi
export JAVA_VM MEM_ARGS JAVA_OPTIONS
# Set the classpath separator
case `uname -s` in
Windows_NT*)
CLASSPATHSEP=\;
PATHSEP=\;
CYGWIN*)
CLASSPATHSEP=\;
esac
if [ "${CLASSPATHSEP}" = "" ]; then
CLASSPATHSEP=:
fi
if [ "${PATHSEP}" = "" ]; then
PATHSEP=:
fi
export PATHSEP CLASSPATHSEP
# Set-up patch related class path, extension dirs, library path and path options
if [ -f "${WL_HOME}/common/bin/setPatchEnv.sh" ]; then
. "${WL_HOME}"/common/bin/setPatchEnv.sh
fi
# Figure out how to load java native libraries, also add -d64 for hpux and solaris 64 bit arch.
case `uname -s` in
AIX)
if [ -n "${LIBPATH}" ]; then
if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
LIBPATH=${LIBPATH}:${WL_HOME}/server/native/aix/ppc64
else
LIBPATH=${LIBPATH}:${WL_HOME}/server/native/aix/ppc
fi
else
if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
LIBPATH=${WL_HOME}/server/native/aix/ppc64
else
LIBPATH=${WL_HOME}/server/native/aix/ppc
fi
fi
LIBPATH=${PATCH_LIBPATH}:${LIBPATH}
export LIBPATH
HP-UX)
arch=`uname -m`
if [ "${arch}" = "ia64" ]; then
if [ -n "${SHLIB_PATH}" ]; then
if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
SHLIB_PATH=${SHLIB_PATH}:${WL_HOME}/server/native/hpux11/IPF64:${WL_HOME}/server/native/hpux11/IPF64/oci920_8
else
SHLIB_PATH=${SHLIB_PATH}:${WL_HOME}/server/native/hpux11/IPF32:${WL_HOME}/server/native/hpux11/IPF32/oci920_8
fi
else
if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
SHLIB_PATH=${WL_HOME}/server/native/hpux11/IPF64:${WL_HOME}/server/native/hpux11/IPF64/oci920_8
else
SHLIB_PATH=${WL_HOME}/server/native/hpux11/IPF32:${WL_HOME}/server/native/hpux11/IPF32/oci920_8
fi
fi
else
if [ -n "${SHLIB_PATH}" ]; then
if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
SHLIB_PATH=${SHLIB_PATH}:${WL_HOME}/server/native/hpux11/PA_RISC64:${WL_HOME}/server/native/hpux11/PA_RISC64/oci920_8
else
SHLIB_PATH=${SHLIB_PATH}:${WL_HOME}/server/native/hpux11/PA_RISC:${WL_HOME}/server/native/hpux11/PA_RISC/oci920_8
fi
else
if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
SHLIB_PATH=${WL_HOME}/server/native/hpux11/PA_RISC64:${WL_HOME}/server/native/hpux11/PA_RISC64/oci920_8
else
SHLIB_PATH=${WL_HOME}/server/native/hpux11/PA_RISC:${WL_HOME}/server/native/hpux11/PA_RISC/oci920_8
fi
fi
fi
SHLIB_PATH=${PATCH_LIBPATH}:${SHLIB_PATH}
export SHLIB_PATH
if [ "${JAVA_USE_64BIT}" = "true" ] && [ "${JAVA_VENDOR}" != "Oracle" ]
then
JVM_D64="-d64"
export JVM_D64
JAVA_VM="${JAVA_VM} ${JVM_D64}"
export JAVA_VM
fi
LINUX|Linux)
arch=`uname -m`
if [ -n "${LD_LIBRARY_PATH}" ]; then
if [ "${arch}" = "ia64" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/ia64:${WL_HOME}/server/native/linux/ia64/oci920_8
else
if [ "${arch}" = "x86_64" -a "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/${arch}:${WL_HOME}/server/native/linux/${arch}/oci920_8
if [ "$SIP_ENABLED" = "true" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/linux/${arch}:${WLSS_HOME}/server/native/linux/${arch}/oci920_8
fi
else
if [ "${arch}" = "s390x" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/s390x
else
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/i686:${WL_HOME}/server/native/linux/i686/oci920_8
fi
if [ "$SIP_ENABLED" = "true" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/linux/i686:${WLSS_HOME}/server/native/linux/i686/oci920_8
fi
fi
fi
else
if [ "${arch}" = "ia64" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/ia64:${WL_HOME}/server/native/linux/ia64/oci920_8
else
if [ "${arch}" = "x86_64" -a "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
LD_LIBRARY_PATH=${WL_HOME}/server/native/linux/${arch}:${WL_HOME}/server/native/linux/${arch}/oci920_8
if [ "$SIP_ENABLED" = "true" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/linux/${arch}:${WLSS_HOME}/server/native/linux/${arch}/oci920_8
fi
else
if [ "${arch}" = "s390x" ]; then
LD_LIBRARY_PATH=${WL_HOME}/server/native/linux/s390x
else
LD_LIBRARY_PATH=${WL_HOME}/server/native/linux/i686:${WL_HOME}/server/native/linux/i686/oci920_8
fi
if [ "$SIP_ENABLED" = "true" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/linux/i686:${WLSS_HOME}/server/native/linux/i686/oci920_8
fi
fi
fi
fi
LD_LIBRARY_PATH=${PATCH_LIBPATH}:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
OSF1)
if [ -n "${LD_LIBRARY_PATH}" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/tru64unix
else
LD_LIBRARY_PATH=${WL_HOME}/server/native/tru64unix
fi
LD_LIBRARY_PATH=${PATCH_LIBPATH}:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
SunOS)
arch=`uname -m`
if [ -n "${LD_LIBRARY_PATH}" ]; then
if [ "${arch}" = "i86pc" ]; then
if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/solaris/x64
else
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/solaris/x86
fi
else
if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/solaris/sparc64:${WL_HOME}/server/native/solaris/sparc64/oci920_8
if [ "$SIP_ENABLED" = "true" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/solaris/sparc64:${WLSS_HOME}/server/native/solaris/sparc64/oci920_8
fi
else
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/solaris/sparc:${WL_HOME}/server/native/solaris/sparc/oci920_8
if [ "$SIP_ENABLED" = "true" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/solaris/sparc:${WLSS_HOME}/server/native/solaris/sparc/oci920_8
fi
fi
fi
else
if [ "${arch}" = "i86pc" ]; then
if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
LD_LIBRARY_PATH=${WL_HOME}/server/native/solaris/x64
else
LD_LIBRARY_PATH=${WL_HOME}/server/native/solaris/x86
fi
else
if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
LD_LIBRARY_PATH=${WL_HOME}/server/native/solaris/sparc64:${WL_HOME}/server/native/solaris/sparc64/oci920_8
if [ "$SIP_ENABLED" = "true" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/solaris/sparc64:${WLSS_HOME}/server/native/solaris/sparc64/oci920_8
fi
else
LD_LIBRARY_PATH=${WL_HOME}/server/native/solaris/sparc:${WL_HOME}/server/native/solaris/sparc/oci920_8
if [ "$SIP_ENABLED" = "true" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/solaris/sparc:${WLSS_HOME}/server/native/solaris/sparc/oci920_8
fi
fi
fi
fi
LD_LIBRARY_PATH=${PATCH_LIBPATH}:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
if [ "${JAVA_USE_64BIT}" = "true" ] && [ "${JAVA_VENDOR}" != "Oracle" ]
then
JVM_D64="-d64"
export JVM_D64
JAVA_VM="${JAVA_VM} ${JVM_D64}"
export JAVA_VM
fi
Darwin)
if [ -n "${DYLD_LIBRARY_PATH}" ]; then
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${WL_HOME}/server/native/macosx
else
DYLD_LIBRARY_PATH=${WL_HOME}/server/native/macosx
fi
DYLD_LIBRARY_PATH=${PATCH_LIBPATH}:${DYLD_LIBRARY_PATH}
export DYLD_LIBRARY_PATH
Windows_NT*) ;;
CYGWIN*) ;;
echo "$0: Don't know how to set the shared library path for `uname -s`. "
esac
# set up WebLogic Server's class path
WEBLOGIC_CLASSPATH="${JAVA_HOME}/lib/tools.jar${CLASSPATHSEP}${WL_HOME}/server/lib/weblogic_sp.jar${CLASSPATHSEP}${WL_HOME}/server/lib/weblogic.jar${CLASSPATHSEP}${FEATURES_DIR}/weblogic.server.modules_10.3.4.0.jar${CLASSPATHSEP}${WL_HOME}/server/lib/webservices.jar${CLASSPATHSEP}${ANT_HOME}/lib/ant-all.jar${CLASSPATHSEP}${ANT_CONTRIB}/lib/ant-contrib.jar"
export WEBLOGIC_CLASSPATH
# set up config tools class path
FMWCONFIG_CLASSPATH="${JAVA_HOME}/lib/tools.jar${CLASSPATHSEP}${BEA_HOME}/utils/config/10.3/config-launch.jar${CLASSPATHSEP}${WL_HOME}/server/lib/weblogic_sp.jar${CLASSPATHSEP}${WL_HOME}/server/lib/weblogic.jar${CLASSPATHSEP}${FEATURES_DIR}/weblogic.server.modules_10.3.4.0.jar${CLASSPATHSEP}${WL_HOME}/server/lib/webservices.jar${CLASSPATHSEP}${ANT_HOME}/lib/ant-all.jar${CLASSPATHSEP}${ANT_CONTRIB}/lib/ant-contrib.jar"
export FMWCONFIG_CLASSPATH
FMWLAUNCH_CLASSPATH="${BEA_HOME}/utils/config/10.3/config-launch.jar"
export FMWLAUNCH_CLASSPATH
if [ "${PATCH_CLASSPATH}" != "" ] ; then
WEBLOGIC_CLASSPATH="${PATCH_CLASSPATH}${CLASSPATHSEP}${WEBLOGIC_CLASSPATH}"
export WEBLOGIC_CLASSPATH
FMWCONFIG_CLASSPATH="${PATCH_CLASSPATH}${CLASSPATHSEP}${FMWCONFIG_CLASSPATH}"
export FMWCONFIG_CLASSPATH
fi
if [ "$SIP_ENABLED" = "true" ]; then
# set up SIP classpath
SIP_CLASSPATH="${WLSS_HOME}/server/lib/weblogic_sip.jar"
# add to WLS class path
WEBLOGIC_CLASSPATH="${WEBLOGIC_CLASSPATH}${CLASSPATHSEP}${SIP_CLASSPATH}"
export WEBLOGIC_CLASSPATH
FMWCONFIG_CLASSPATH="${FMWCONFIG_CLASSPATH}${CLASSPATHSEP}${SIP_CLASSPATH}"
export FMWCONFIG_CLASSPATH
fi
# DERBY configuration
DERBY_HOME="${WL_HOME}/common/derby"
DERBY_CLIENT_CLASSPATH="${DERBY_HOME}/lib/derbyclient.jar"
DERBY_CLASSPATH="${CLASSPATHSEP}${DERBY_HOME}/lib/derbynet.jar${CLASSPATHSEP}${DERBY_CLIENT_CLASSPATH}"
DERBY_TOOLS="${DERBY_HOME}/lib/derbytools.jar"
DERBY_SYSTEM_HOME=${WL_HOME}/common/derby/demo/databases
DERBY_OPTS="-Dderby.system.home=$DERBY_SYSTEM_HOME"
if [ "${DERBY_PRE_CLASSPATH}" != "" ] ; then
DERBY_CLASSPATH="${DERBY_PRE_CLASSPATH}${CLASSPATHSEP}${DERBY_CLASSPATH}"
fi
if [ "${DERBY_POST_CLASSPATH}" != "" ] ; then
DERBY_CLASSPATH="${DERBY_CLASSPATH}${CLASSPATHSEP}${DERBY_POST_CLASSPATH}"
fi
export DERBY_HOME DERBY_CLASSPATH DERBY_TOOLS DERBY_SYSTEM_HOME DERBY_OPTS
if [ -d "${WL_HOME}/common/eval/pointbase" ]
then
# PointBase configuration
POINTBASE_HOME="${WL_HOME}/common/eval/pointbase"
POINTBASE_CLIENT_CLASSPATH="${POINTBASE_HOME}/lib/pbclient57.jar"
POINTBASE_CLASSPATH="${CLASSPATHSEP}${POINTBASE_HOME}/lib/pbembedded57.jar${CLASSPATHSEP}${POINTBASE_CLIENT_CLASSPATH}"
POINTBASE_TOOLS="${POINTBASE_HOME}/lib/pbtools57.jar"
if [ "${POINTBASE_PRE_CLASSPATH}" != "" ] ; then
POINTBASE_CLASSPATH="${POINTBASE_PRE_CLASSPATH}${CLASSPATHSEP}${POINTBASE_CLASSPATH}"
fi
if [ "${POINTBASE_POST_CLASSPATH}" != "" ] ; then
POINTBASE_CLASSPATH="${POINTBASE_CLASSPATH}${CLASSPATHSEP}${POINTBASE_POST_CLASSPATH}"
fi
export POINTBASE_HOME POINTBASE_CLASSPATH POINTBASE_TOOLS
fi
# Set up PATH
if [ `uname -s` = "CYGWIN32/NT" ]; then
# If we are on an old version of Cygnus we need to turn <letter>:/ in the path
# to //<letter>/
WL_HOME_CYGWIN=`echo $WL_HOME | sed 's#\([a-zA-Z]\):#//\1#g'`
ANT_HOME_CYGWIN=`echo $ANT_HOME | sed 's#\([a-zA-Z]\):#//\1#g'`
ANT_CONTRIB_CYGWIN=`echo $ANT_CONTRIB | sed 's#\([a-zA-Z]\):#//\1#g'`
JAVA_HOME_CYGWIN=`echo $JAVA_HOME | sed 's#\([a-zA-Z]\):#//\1#g'`
PATCH_PATH_CYGWIN=`echo $PATCH_PATH | sed 's#\([a-zA-Z]\):#//\1#g'`
WL_USE_X86DLL=
WL_USE_IA64DLL=
WL_USE_AMD64DLL=
if [ "${WL_USE_IA64DLL}" = "true" ]; then
PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/64${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/64/oci920_8"
fi
if [ "${WL_USE_X86DLL}" = "true" ]; then
PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/32${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/32/oci920_8"
fi
if [ "${WL_USE_AMD64DLL}" = "true" ]; then
PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/x64${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/x64/oci920_8"
fi
else
if [ -n "`uname -s |grep -i cygwin_`" ]; then
# If we are on an new version of Cygnus we need to turn <letter>:/ in
# the path to /cygdrive/<letter>/
CYGDRIVE=`mount -ps | tail -1 | awk '{print $1}' | sed -e 's%/$%%'`
WL_HOME_CYGWIN=`echo $WL_HOME | sed "s#\([a-zA-Z]\):#${CYGDRIVE}/\1#g"`
ANT_HOME_CYGWIN=`echo $ANT_HOME | sed "s#\([a-zA-Z]\):#${CYGDRIVE}/\1#g"`
PATCH_PATH_CYGWIN=`echo $PATCH_PATH | sed "s#\([a-zA-Z]\):#${CYGDRIVE}/\1#g"`
JAVA_HOME_CYGWIN=`echo $JAVA_HOME | sed "s#\([a-zA-Z]\):#${CYGDRIVE}/\1#g"`
WL_USE_X86DLL=
WL_USE_IA64DLL=
WL_USE_AMD64DLL=
if [ "${WL_USE_IA64DLL}" = "true" ]; then
PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/64${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/64/oci920_8"
fi
if [ "${WL_USE_X86DLL}" = "true" ]; then
PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/32${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/32/oci920_8"
fi
if [ "${WL_USE_AMD64DLL}" = "true" ]; then
PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/x64${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/x64/oci920_8"
fi
else
# set PATH for other shell environments
PATH="${WL_HOME}/server/bin${PATHSEP}${ANT_HOME}/bin${PATHSEP}${JAVA_HOME}/jre/bin${PATHSEP}${JAVA_HOME}/bin${PATHSEP}${PATH}"
# On Windows, include WebLogic jDriver in PATH
if [ -n "`uname -s |grep -i windows_nt`" ]; then
WL_USE_X86DLL=
WL_USE_IA64DLL=
WL_USE_AMD64DLL=
if [ "${WL_USE_IA64DLL}" = "true" ]; then
PATH="${PATCH_PATH}${PATHSEP}${WL_HOME}/server/native/win/64${PATHSEP}${PATH}${PATHSEP}${WL_HOME}/server/native/win/64/oci920_8"
fi
if [ "${WL_USE_AMD64DLL}" = "true" ]; then
PATH="${PATCH_PATH}${PATHSEP}${WL_HOME}/server/native/win/x64${PATHSEP}${PATH}${PATHSEP}${WL_HOME}/server/native/win/x64/oci920_8"
fi
if [ "${WL_USE_X86DLL}" = "true" ]; then
PATH="${PATCH_PATH}${PATHSEP}${WL_HOME}/server/native/win/32${PATHSEP}${PATH}${PATHSEP}${WL_HOME}/server/native/win/32/oci920_8"
fi
fi
fi
fi
export PATH
resetFd
=======
my system is not on production mode and using oracle java. please suggest -
I have installed Java 2 SDK, Enterprise Edition version 1.3 on Win NT server. Installation was successfull.
While starting J2EE server, I am getting following error:
Exception in thread "main" java.lang.NoClassDefFoundError: COMPUTER\db\A few basic steps taken from http://java.sun.com/j2ee/sdk_1.3/install.html#win_soft
Installing the Windows Bundle
1. If you have installed a previous version of the J2EE SDK product, you must delete or un-install the previous version from your computer before proceeding with the new version.
2. Set the environment variables.
Before running the J2EE SDK, you must set these environment variables:
J2EE_HOME - the directory where you installed this release.
JAVA_HOME - the directory where the Java 2 SDK Standard Edition is installed.
PATH - include the bin directory beneath the directory where you've installed this release. -
Problem while running SOA Server
Hi, i'm trying to starting SOA server. I started Admin Server successfully but I have problems while starting SOA server. When i'm trying to do that i get many errors, last three lines in console are following:
12 mismatched character '<EOF>' expecting '"'
tform is running and accepting requests
12 mismatched character '<EOF>' expecting '"'
When i'm trying to do start SOA server by administration console (settings of soa_server1 -> Control -> Start/Stop -> check soa_server1 and click Start) I get: Certificate chain received from localhost - 127.0.0.1 failed hostname verification check. Certificate contained Pawe?-Komputer but check expected localhost
Could you help me? If it will be necessary I will write more info.
Thanks in advance
Edited by: 948093 on 2012-07-23 06:07Thank you for your post.
I tried to set listen address of SOA server to localhost and then to *127.0.0.1*, i copied cacert and restart Admin server and then tried to start SOA server. Unfortunately still the same error. Does exist another way to solve this problem?
If it might be helpful i paste end of log (i tried start SOA server also by command startManagedWebLogic soa_server1 "http://127.0.0.1:7001" )
Caused By: java.net.ConnectException: connect: Address is invalid on local machi
ne, or port is not valid on remote machine
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at com.sun.jndi.ldap.Connection.createSocket(Connection.java:352)
at com.sun.jndi.ldap.Connection.<init>(Connection.java:187)
at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:118)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1580)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2652)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:293)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193
+)+
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.ja
va:136)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.jav
a:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
+67)+
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288
+)+
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:1
+34)+
at oracle.security.idm.providers.stdldap.TestConnectionPool.run(LDIdenti
tyStoreFactory.java:998)
+>+
line 3:12 mismatched character '<EOF>' expecting '"'
SOA Platform is running and accepting requests
Maybe you are looking for
-
Trying to get XA to work with Oracle and Ibm mqueue series. I'm not having much luck. Lot's of problems and lack of info? We want Mqueue to be the TM and oracle to be the resource? There seems to be no docs on how to make oracle a XA resource and und
-
Not able to Create TABLESPACE PSAPROLL|PSAPUNDO with 728 MB
Hi Experts, When i an trying to upgrade PI 7.0 to pi 7.1 with EHP1 in checks roadmap in abap it throws error like ERROR> Insufficient free space in the database as follows: Create TABLESPACE PSAPROLL|PSAPUNDO with 728 MB INFO> To ad
-
Variable Not Found in Class Error
I have a project which I organized the source in 4 packages. I have 4 source programs which use an external class which I don't have the source. So I imported the class and brought a copy of the class straight under the classes directory. Via "Projec
-
Authorization of credit card transaction failed. Failure in Authorization
Hello All, I am getting the below error while doing Auto-Receipts in R12.1.3. Authorization of credit card transaction failed. Failure in Authorization Please guide me to identify the issue. Thanks and Regards, Muthu
-
Viewer showing only saturated black and white
My Aperture is gone into a funk -- The viewer shows only a totally saturated black and white image -- each pixel is either all white or all black (browser and thumbnails are normal). This is for all images in all projects. I have rebooted the machine