Jolt for weblogic encryption initialization failure
Hi.
I'm trying to use encryption between Jolt for Weblogic clients and Jolt servers
(JSL/JSH), but I can't get it work.
The JSL's "-Z" option is set to 40, and it boots without errors. Tuxedo 6.5 Security
add-on is installed. Everything works fine without the "-Z" option.
However, the Jolt client always catches a SessionException, with the following
message: Reason:NwHdlr: open: J_DH Bad Reply\nbea.jolt.JoltException: NwHdlr:
open: J_DH Bad Reply
and nothing is logged on the server side...
Is there something to configure or install on client (i.e. weblogic) side ?
Has anyone already succeeded in using Jolt's encryption ?
Any help welcome...
Hi Mathieu,
You may need to install a Tuxedo rolling patch. You need at least:
Tuxedo 6.4 Rolling Patch level 210,
Tuxedo 6.5 rolling patch level 47,
see the following CR:
CR016914 (Jolt only) DiffieHellman Key exchange for Jolt
Also, you may need to have WLS SP 10 installed in order to use
40-bit encryption. See CR 45413 with additional information in the Service
Pack release notes.
CR 45413: Added an international version of Jolt client which is required to talk
with International Tuxedo.
Scott Lynch
Michael Young <[email protected]> wrote:
Hi.
Try posting this to one or both of the following newsgroups:
weblogic.developer.interest.general or tuxedo.general. If you get no
response then I
suggest you open a case with BEA support.
Thanks,
Michael
Mathieu Chauvin wrote:
Hi.
I'm trying to use encryption between Jolt for Weblogic clients andJolt servers
(JSL/JSH), but I can't get it work.
The JSL's "-Z" option is set to 40, and it boots without errors. Tuxedo6.5 Security
add-on is installed. Everything works fine without the "-Z" option.
However, the Jolt client, while connecting to JSL, always catches aSessionException
with the following message:
Reason:NwHdlr: open: J_DH Bad Reply\nbea.jolt.JoltException: NwHdlr:open: J_DH
Bad Reply
and nothing is logged on the server side...
Is there something to configure or install on client (i.e. weblogic)side ? Has
anyone already succeeded in using Jolt's encryption ?
Any help welcome...
PS: I have posted this question on several groups, as far as it seemsthat nobody
knows about Jolt's encryption...--
Developer Relations Engineer
BEA Support
Similar Messages
-
Jolt for weblogic (5.1) and encryption ?
Hi.
I'm trying to use encryption between Jolt for Weblogic clients and Jolt servers
(JSL/JSH), but I can't get it work.
The JSL's "-Z" option is set to 40, and it boots without errors. Tuxedo 6.5 Security
add-on is installed. Everything works fine without the "-Z" option.
However, the Jolt client, while connecting to JSL, always catches a SessionException
with the following message:
Reason:NwHdlr: open: J_DH Bad Reply\nbea.jolt.JoltException: NwHdlr: open: J_DH
Bad Reply
and nothing is logged on the server side...
Is there something to configure or install on client (i.e. weblogic) side ? Has
anyone already succeeded in using Jolt's encryption ?
Any help welcome...
PS: I have posted this question on several groups, as far as it seems that nobody
knows about Jolt's encryption...Hi Mathieu,
You may need to install a Tuxedo rolling patch. You need at least:
Tuxedo 6.4 Rolling Patch level 210,
Tuxedo 6.5 rolling patch level 47,
see the following CR:
CR016914 (Jolt only) DiffieHellman Key exchange for Jolt
Also, you may need to have WLS SP 10 installed in order to use
40-bit encryption. See CR 45413 with additional information in the Service
Pack release notes.
CR 45413: Added an international version of Jolt client which is required to talk
with International Tuxedo.
Scott Lynch
Michael Young <[email protected]> wrote:
Hi.
Try posting this to one or both of the following newsgroups:
weblogic.developer.interest.general or tuxedo.general. If you get no
response then I
suggest you open a case with BEA support.
Thanks,
Michael
Mathieu Chauvin wrote:
Hi.
I'm trying to use encryption between Jolt for Weblogic clients andJolt servers
(JSL/JSH), but I can't get it work.
The JSL's "-Z" option is set to 40, and it boots without errors. Tuxedo6.5 Security
add-on is installed. Everything works fine without the "-Z" option.
However, the Jolt client, while connecting to JSL, always catches aSessionException
with the following message:
Reason:NwHdlr: open: J_DH Bad Reply\nbea.jolt.JoltException: NwHdlr:open: J_DH
Bad Reply
and nothing is logged on the server side...
Is there something to configure or install on client (i.e. weblogic)side ? Has
anyone already succeeded in using Jolt's encryption ?
Any help welcome...
PS: I have posted this question on several groups, as far as it seemsthat nobody
knows about Jolt's encryption...--
Developer Relations Engineer
BEA Support -
Oracle BPEL is not starting up for Weblogic 8.1.5
I have installed Weblogic 8.1.5 and Oracle BPEL for Weblogic in D:. When I tried to start the Oracle WL BPEL, I get the following exception.
<Dec 21, 2005 11:48:05 AM IST> <Notice> <Management> <BEA-140005> <Loading domain configuration from configuration repository at D:\OraBPELPM_2\user_projects\wlorabpel\.\config.xml.>
<Dec 21, 2005 11:48:06 AM IST> <Error> <Management> <BEA-140002> <InvocationTargetException occurred while setting attribute Properties on MBean wlorabpel:Name=BPELServerPool,Type=JDBCConnectionPool to value {user=system, password=manager}. Method: public void weblogic.management.mbeans.custom.JDBCConnectionPool.setProperties(java.util.Properties) throws javax.management.InvalidAttributeValueExcep
tion.
weblogic.security.internal.encryption.EncryptionServiceException: [Security:0902
19]Error decrypting Secret Key java.lang.SecurityException: sealing violation: p
ackage com.rsa.jsafe is sealed
at weblogic.security.internal.encryption.JSafeSecretKeyEncryptor.decrypt
SecretKey(JSafeSecretKeyEncryptor.java:120)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.<ini
t>(JSafeEncryptionServiceImpl.java:205)
at weblogic.security.internal.encryption.JSafeEncryptionServiceFactory.g
etEncryptionService(JSafeEncryptionServiceFactory.java:23)
at weblogic.security.internal.SerializedSystemIni.getEncryptionService(S
erializedSystemIni.java:230)
at weblogic.security.internal.SerializedSystemIni.getEncryptionService(S
erializedSystemIni.java:238)
at weblogic.management.EncryptionHelper.getCEncryptionService(EncryptionHelper.java:141)
at weblogic.management.EncryptionHelper.encryptString(EncryptionHelper.j
ava:81)
at weblogic.management.mbeans.custom.JDBCConnectionPool.setProperties(JD
BCConnectionPool.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBe
anImpl.java:1662)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBe
anImpl.java:1109)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Conf
igurationMBeanImpl.java:369)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
ava:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
ava:1333)
at weblogic.management.internal.RemoteMBeanServerImpl.private_setAttribu
te(RemoteMBeanServerImpl.java:431)
at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(Remot
eMBeanServerImpl.java:387)
at weblogic.management.internal.WLSParserHandler.parseMBeanAttributes(WL
SParserHandler.java:1189)
at weblogic.management.internal.WLSParserHandler.startElement(WLSParserH
andler.java:469)
at weblogic.management.internal.xml.ConfigurationRepositoryImpl.processE
lements(ConfigurationRepositoryImpl.java:1059)
at weblogic.management.internal.xml.ConfigurationRepositoryImpl.processE
lements(ConfigurationRepositoryImpl.java:1066)
at weblogic.management.internal.xml.ConfigurationRepositoryImpl.parseThr
ough(ConfigurationRepositoryImpl.java:468)
at weblogic.management.AdminServerAdmin.parse(AdminServerAdmin.java:733)
at weblogic.management.AdminServerAdmin.initializeRepository(AdminServer
Admin.java:865)
at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java
:267)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:770)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
at weblogic.Server.main(Server.java:32)
>
The WebLogic Server did not start up properly.
Exception raised: 'weblogic.management.configuration.ConfigurationException: [Se
curity:090219]Error decrypting Secret Key java.lang.SecurityException: sealing v
iolation: package com.rsa.jsafe is sealed - with nested exception:
[weblogic.security.internal.encryption.EncryptionServiceException: [Security:090
219]Error decrypting Secret Key java.lang.SecurityException: sealing violation:
package com.rsa.jsafe is sealed]'
Reason: weblogic.management.configuration.ConfigurationException: [Security:0902
19]Error decrypting Secret Key java.lang.SecurityException: sealing violation: p
ackage com.rsa.jsafe is sealed - with nested exception:
[weblogic.security.internal.encryption.EncryptionServiceException: [Security:090
219]Error decrypting Secret Key java.lang.SecurityException: sealing violation:
package com.rsa.jsafe is sealed]
D:\OraBPELPM_2\user_projects\wlorabpel>ENDLOCAL
D:\OraBPELPM_2\user_projects\wlorabpel>ENDLOCAL
D:\OraBPELPM_2\user_projects\wlorabpel>
Does anybody know why this exception is coming or Is the oracle bpel different for Weblogic 8.1.5 ?Can you use WebLogic 8.1 SP4 ? BPEL has been certified with that version. We have been able to reproduce the issue and currently investigating the cause of it.
-
Failed to start Admin Server for Weblogic Server Domain
I Created a domain named mydomain in weblogic server 10.3 in server 2003.But when i start Admin Server for Weblogic Server Domain from startmenu, it failed.
I examined the log under domains\mydomain\servers\AdminServer\logs\AdminServer.log and got the following information:
java.lang.NoClassDefFoundError:weblogic/ldap/EmbeddedLDAPChange
at weblogic.ldap.EntryChangeListenerImpl.receiveEntryChanges(EntryChangeListenerImpl.java:28)
Caused by :java.lang.ClassNotFoundException: weblogic.ldap.EmbeddedLDAPChange
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
Caused by :java.util.zip.ZipException: error reading zip file
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1200(ZipFile.java:29)
weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: weblogic.security.spi.ProviderInitializationException: A failure occurred attemping to load LDIF for provider RoleMapper from file ...\domains\mydomain\security\XACMLRoleMapperInit.ldift.
at ...(CommonSecurityServiceManagerDelegateImpl.java:465)
Caused by: com.bea.common.engine.ServiceInitializationException: weblogic.security.spi.ProviderInitializationException: A failure occurred attemping to load LDIF for provider RoleMapper from file ...\domains\mydomain\security\XACMLRoleMapperInit.ldift.
at .. (ServiceEngineImpl.java:365)
Caused by: com.bea.common.engine.ServiceInitializationException: weblogic.security.spi.ProviderInitializationException: A failure occurred attemping to load LDIF for provider RoleMapper from file ...\domains\mydomain\security\XACMLRoleMapperInit.ldift.
at .. (BootStrapServiceImpl.java:910)
Caused by: <openjpa-1.1.1-SNAPSHOT-r422266:891341 nofatal user error>kodo.jdo.UserException: This operation cannot be perfomed while a Transaction is active.
at org.apache.openjpa.kernel.BrokerImpl.close(BrokerImpl.java:4087)
####<Critical><WebLogicServer><SOA><Adminserver><main><<WLS Kernel>><><><1282012271468><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(CommonSecurityServiceManagerDelegateImpl.java:916)
I ignored some detailed error message.The runtime environment is server 2003 Enterprise Edition sp2.
Thx in advance for any reply.Hello Djam,
Please review the following:
The FMW WebLogic Server (WLS) installation has been configured to use a non-default Java temporary files directory,
i.e. the following has been set in the WebLogic startup or setDomainEnv.sh script:
EXTRA_JAVA_PROPERTIES="-Djava.io.tmpdir=/appl/oracle/temp_java_files ${EXTRA_JAVA_PROPERTIES}"
Reference: How to Change the WebLogic Server Location for Temporary Files (Doc ID 1336002.1)
When the Middleware home was restored the directory specified by java.io.tmpdir parameter was missing,
Therefore an IOException occurred when opening the wallet and WLS was unable to initialize the OPSS successfully.
To resolve the issue re-create the directory specified by the java.io.tmp dir parameter, and make sure the owner and group access are the same as for the FMW installation.
Unable Start AdminServer: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException (Doc ID 1923395.1)
Bogdan -
CMDTUX_CAT:1685: ERROR: Application initialization failure
PeopleTools 8.19.04 requires an upgrade of tuxedo 6.5 patchlev ?? AND
Jolt, patchlev ?? . There are also some HP patches if you're moving
from tools 8.16 or below. We have successfully booted our BBLs on HP
with tools 8.19.04. Exact patch levels are in the release notes. If
problem continues, you might try PeopleSoft's Customer Connection.
"Wayne W. Scott" <[email protected]> wrote in message news:<[email protected]>...
Kevin:
1) You will get better Tuxedo help in tuxedo.general.
2) Okay, Tuxedo 6.5 on HP-UX 11; show the output from
tail $TUXDIR/udataobj/patchlev
3) Fix the NLS problems with: export NLSPATH=$TUXDIR/locale/C
{ it might be NLS_PATH; I often forget which }
4) It seems you are using PeopleSoft. The problem might lie in the PeopleSoft to Tuxedo
interface, whatever it is. I don't know where to direct you for that.
Wayne Scott
Kevin Medlin wrote:
Hi all,
Kinda new at the tuxedo stuff. Any help is appreciated.
Attempting to boot ...
Booting all admin and server processes in /software/pt819/hrms830/appserv/ps819tm1/PSTUXCFG
INFO: TUXEDO(r) System Release 6.5
INFO: Serial #: 101998665, Expiration NONE, Maxusers 1000000
INFO: Licensed to: PeopleSoft
Booting admin processes ...
exec BBL -A :
process id=12485 ... Started.
Booting server processes ...
exec PSAPPSRV -s@../psappsrv.lst -s@../psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest
-- -C psappsrv.cfg -D PT81 -S PSAPPSRV :
CMDTUX_CAT:1685: ERROR: Application initialization failure
tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; initiating user error
handler
exec tmshutdown -y
Shutting down all admin and server processes in /software/pt819/hrms830/appserv/ps819tm1/PSTUXCFG
Shutting down server processes ...
tmboot: CMDTUX_CAT:828: NLS:6: Message not found, catalog CMDTUX_CAT, set 1, num
828
==============ERROR!================
Boot attempt encountered errors!. Check the TUXEDO log for details.
==============ERROR!================
Do you wish to see the error messages in the APPSVR.LOG file? (y/n) [n] :
Shutting down admin processes ...
Server Id = 0 Group Id = dbhrt2 Machine = dbhrt2: shutdown succeeded
1 process stopped.
y
PSADMIN.12243 [04/21/03 15:00:57](0) Begin boot attempt on domain ps819tm1
PSAPPSRV.12486 [04/21/03 15:01:06](0) PeopleTools Release 8.19.04 (HP/UX) starting
PSAPPSRV.12486 [04/21/03 15:01:09](0) Open file cache UPM : use
existing content
( 0) 0xc72c35ec DumpStack__18PSExceptionHandlerFi + 0xbc [software/pt819/hrms830/bin/libpssys.sl]
( 1) 0xc72c2e20 DumpStackEventHandler__18PSExceptionHandlerFPCUs + 0x48 [software/pt819/hrms830/bin/libpssys.sl]
( 2) 0xc72c4154 OnEvent__28CPSStackTraceRequestObserverCF8PS_EVENTPCvPv + 0x1c
[software/pt819/hrms830/bin/libpssys.sl]
( 3) 0xc5dca158 Notify__18CPSEventDispatcherF8PS_EVENTPv + 0x60 [software/pt819/hrms830/bin/libpscmn.sl]
( 4) 0xc5dba5b8 PSAssert__FPCcT1Ui + 0x88 [software/pt819/hrms830/bin/libpscmn.sl]
( 5) 0xc743855c SamIsSrcDB + 0x8c [software/pt819/hrms830/bin/libpssys.sl]
( 6) 0xc7498d6c StmSignon + 0x87c [software/pt819/hrms830/bin/libpssys.sl]
( 7) 0xc14fcd10 SgnDBSignon__FP11SGN_DBPARMS + 0x88 [software/pt819/hrms830/bin/libpssgn.sl]
( 8) 0xc620db5c InitInstance__10CNetServerFiPPUs + 0x434 [software/pt819/hrms830/bin/libpsnetapi.sl]
( 9) 0x000595f8 InitInstance__10CAppServerFiPPUs + 0xb0 [software/pt819/hrms830/bin/PSAPPSRV]
(10) 0x000591a4 tpsvrinit + 0xdc [software/pt819/hrms830/bin/PSAPPSRV]
(11) 0xc5a09f84 _tmmain + 0x328 [software/pt819/tuxedo65/lib/libtux.sl]
(12) 0xc59fcc80 _tmstartserver + 0x78 [software/pt819/tuxedo65/lib/libtux.sl]
(13) 0x00037408 main + 0x44 [software/pt819/hrms830/bin/PSAPPSRV]
(14) 0xc0143158 _start + 0xc0 [lib/libc.2]
(15) 0x00036608 $START$ + 0x1a0 [software/pt819/hrms830/bin/PSAPPSRV]
PSADMIN.12243 [04/21/03 15:01:54](0) End boot attempt on domain ps819tm1
Do you wish to see the error messages in the TUXLOG.042103 file? (y/n) [n] :y
150057.dbhrt2!PSADMIN.12243: Begin boot attempt on domain ps819tm1
150101.dbhrt2!BBL.12485: 04212003: TUXEDO Version 6.5 HP-UX B.11.00 U 9000/898
1623623321 unlimited-user license.
150101.dbhrt2!BBL.12485: LIBTUX_CAT:262: INFO: Standard main starting
150106.dbhrt2!PSAPPSRV.12486: 04212003: TUXEDO Version 6.5 HP-UX B.11.00 U 9000/898
1623623321 unlimited-user license.
150106.dbhrt2!PSAPPSRV.12486: LIBTUX_CAT:262: INFO: Standard main starting
150154.dbhrt2!PSAPPSRV.12486: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
150154.dbhrt2!tmboot.12481: 04212003: TUXEDO Version 6.5 HP-UX B.11.00 U 9000/898
1623623321 unlimited-user license.
150154.dbhrt2!tmboot.12481: tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered;
initiating user error handler
150154.dbhrt2!tmboot.12481: NLS:6: Message not found, catalog CMDTUX_CAT, set
1, num 724
150154.dbhrt2!PSADMIN.12243: End boot attempt on domain ps819tm1 -
NoClassDefFoundError: SVGDOMImplementation (initialization failure)
Hi All,
I am trying to convert FO document to PCL using fop and getting
following error while instantiating FOPFactory :
java.lang.NoClassDefFoundError:
org.apache.batik.dom.svg.SVGDOMImplementation (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:130)
at org.apache.fop.image.loader.batik.BatikUtil.isBatikAvailable(BatikUtil.java:33)
at org.apache.fop.image.loader.batik.ImageLoaderFactorySVG.isAvailable(ImageLoaderFactorySVG.java:60)
at org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.registerLoaderFactory(ImageImplRegistry.java:163)
at org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.discoverClasspathImplementations(ImageImplRegistry.java:97)
at org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.<init>(ImageImplRegistry.java:70)
at org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.getDefaultInstance(ImageImplRegistry.java:79)
at org.apache.xmlgraphics.image.loader.ImageManager.<init>(ImageManager.java:48)
at org.apache.fop.apps.FopFactory.<init>(FopFactory.java:154)
at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:166)
I am running code on Weblogic 9.2 and all the required libraries
(fop.jar, batik-all.jar and xmlgraphics-commons-1.3.1.jar) are in
class path.
I am using FOP version 0.95
This error does not comes when i run this as a stand-alone program.
And in Weblogic, it appears on a random basis not always.
I doubt that this error appears because weblogic also uses an implementation of batik API but do not have a proof.
Any help in this regard will be much appreciated.
Thanks!
Sanjeev
Edited by: user8649772 on Jul 6, 2010 2:29 PMHi and Welcome to the Community!!
I suggest the following steps, in order, even if they seem redundant to what you have already tried (steps 1 and 2 each should result in a message coming to your BB...please wait for that before proceeding to the next step):
1) Register HRT
KB00510 How to register a BlackBerry smartphone with the wireless network
Please wait for one "registration" message to arrive to your Messages app
2) Resend Service Books
KB02830 Send the service books for the BlackBerry Internet Service
Please wait for "Activation" Messages, one per already configured email account, to arrive in your Messages. If you have no already configured email accounts, please wait 1 hour.
3) Batt Pull Reboot
Anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
Hopefully that will get things going again for you! If not, then you should contact your mobile service provider for formal support.
Good luck!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Application initialization failure exception
I am unable to start the JSL/JREPSVR processes.I am getting the following error when i give tmboot command.Also find the ubbConfig file that I am using.
E:\bea\tuxedo9.1\samples\jolt\ToUpper>tmloadcf -y ubbToupper
E:\bea\tuxedo9.1\samples\jolt\ToUpper>tmboot -y
Booting all admin and server processes in E:\bea\tuxedo9.1\samples\jolt\ToUpper\tuxconfig
INFO: BEA Tuxedo, Version 9.1, 32-bit, Patch Level (none)
INFO: Serial #: 454493271161-2140437240256, Expiration 2007-02-15, Maxusers 100
INFO: Licensed to: BEA Evaluation Customer
Booting admin processes ...
exec BBL -A :
process id=2100 ... Started.
Booting server processes ...
exec DMADM -A :
process id=1040 ... Started.
exec JSL -- -n //GVC3ZA65:3052 -m10 -M50 -x10 :
CMDTUX_CAT:1685: ERROR: Application initialization failure
exec JREPSVR -A -- -W -P E:\bea\tuxedo\udataobj\jolt\repository\jrepository :
CMDTUX_CAT:1685: ERROR: Application initialization failure
exec WSL -A -e E:\bea\logs\stderr -o E:\bea\logs\stdout -- -n //GVC3ZA65:3051 -m 2 -M 10 -x 10 :
process id=4040 ... Started.
3 processes started.
UBBConfig file
# (c) 2003 BEA Systems, Inc. All Rights Reserved.
#ident "@(#) samples/atmi/simpapp/ubbsimple $Revision: 1.5 $"
#Skeleton UBBCONFIG file for the TUXEDO Simple Application.
#Replace the <bracketed> items with the appropriate values.
*RESOURCES
IPCKEY 54321
#Example:
#IPCKEY 123456
DOMAINID simpapp
MASTER GVC3ZA65
MAXACCESSERS 20
MAXSERVERS 10
MAXSERVICES 10
MODEL SHM
LDBAL N
*MACHINES
DEFAULT:
APPDIR="E:\bea\tuxedo9.1\bin"
TUXCONFIG="E:\bea\tuxedo9.1\samples\jolt\ToUpper\tuxconfig"
TUXDIR="E:\bea\tuxedo9.1"
TLOGSIZE=100
MAXWSCLIENTS=10
#Example:
# APPDIR="/home/me/simpapp"
# TUXCONFIG="/home/me/simpapp/tuxconfig"
# TUXDIR="/usr/tuxedo"
"GVC3ZA65" LMID=GVC3ZA65
#Example:
#beatux LMID=simple
*GROUPS
DEFAULT: LMID=GVC3ZA65 OPENINFO=NONE
GROUP1
LMID=GVC3ZA65 GRPNO=1 OPENINFO=NONE
DMGROUP GRPNO=200
GWGROUP2 GRPNO=220
WSL_GRP GRPNO=800
JSLGRP GRPNO=95
JREPGRP GRPNO=94
*SERVERS
DEFAULT: GRACE=0 MAXGEN=10 RESTART=Y
DMADM SRVGRP=DMGROUP SRVID=10
#GWADM SRVGRP=GWGROUP2 SRVID=20
#GWTDOMAIN SRVGRP=GWGROUP2 SRVID=30 RQADDR="gwtdom2"
JSL SRVGRP=JSLGRP SRVID=31 CLOPT= " -- -n //GVC3ZA65:3052 -m10 -M50 -x10"
JREPSVR SRVGRP=JREPGRP SRVID=98 RESTART=Y GRACE=0 CLOPT="-A -- -W -P E:\bea\tuxedo\udataobj\jolt\repository\jrepository"
#JREPSVR SRVGRP=JREPGRP SRVID=97 RESTART=Y RQADDR=JREPQ REPLYQ=Y GRACE=0 CLOPT="-A -- -P E:\bea\tuxedo\udataobj\jolt\repository\jrepository"
#JREPSVR SRVGRP=JREPGRP SRVID=96 RESTART=Y RQADDR=JREPQ REPLYQ=Y GRACE=0 CLOPT="-A -- -P E:\bea\tuxedo\udataobj\jolt\repository\jrepository"
WSL SRVGRP=WSL_GRP SRVID=10
CLOPT="-A -e E:\bea\logs\stderr -o E:\bea\logs\stdout -- -n //GVC3ZA65:3051 -m 2 -M 10 -x 10"
#simpserv SRVGRP=GROUP1 SRVID=1
*SERVICES
TOUPPERAjay,
Either you have forgotten to execute tmloadcf on your UBBCONFIG file or the
value of the TUXCONFIG environment variable is set to something different
than the value specified in the UBBCONFIG file.
In tmboot, the TUXCONFIG environment variable is set to
D:\bea\tuxedo9.1\samples\jot\ToUpper\tuxconfig , and tmboot cannot open this
file.
Ed
<Ajay Kumandan> wrote in message news:[email protected]...
Hi Todd,
Now Iam able to start the JSL process but JREPSVR process
is still not starting.I have the following snippet in my
UBBConfig file.
JSL SRVGRP=JSLGRP SRVID=31
CLOPT= "-A -- -n //GVC3ZA03TESTING:3052 -m1 -M1 -x5"
JREPSVR SRVGRP=JREPGRP SRVID=98 #RESTART=Y GRACE=0
CLOPT="-A -- -W -P D:\bea\tuxedo\udataobj\jolt\repository\jrepository"
#JREPSVR SRVGRP=JREPGRP SRVID=97 RESTART=Y RQADDR=JREPQ REPLYQ=Y GRACE=0
CLOPT="-A -- -P D:\bea\tuxedo\udataobj\jolt\repository\jrepository"
#JREPSVR SRVGRP=JREPGRP SRVID=96 RESTART=Y RQADDR=JREPQ REPLYQ=Y GRACE=0
CLOPT="-A -- -P D:\bea\tuxedo\udataobj\jolt\repository\jrepository"
Please find the ULOG file for reference
122101.GVC3ZA03TESTING!slisten.exe.6776.7476.-2: 01-31-2007: Tuxedo Version
9.1, 32-bit
122101.GVC3ZA03TESTING!slisten.exe.6776.7476.-2: CMDTUX_CAT:4323: INFO:
Listener Process Started
125326.GVC3ZA03TESTING!tlisten.9820.6620.-2: 01-31-2007: Tuxedo Version 9.1,
32-bit
125326.GVC3ZA03TESTING!tlisten.9820.6620.-2: CMDTUX_CAT:1468: INFO: Listener
Process Started
125530.GVC3ZA03TESTING!tmboot.2444.6484.-2: 01-31-2007: Tuxedo Version 9.1,
32-bit
125530.GVC3ZA03TESTING!tmboot.2444.6484.-2: LIBTUX_CAT:603: ERROR: TUXCONFIG
file D:\bea\tuxedo9.1\samples\jolt\ToUpper\tuxconfig does not exist
125530.GVC3ZA03TESTING!tmboot.2444.6484.-2: LIBTUX_CAT:588: ERROR: Unable to
open TUXCONFIG file
125530.GVC3ZA03TESTING!tmboot.2444.6484.-2: FATAL: internal error:
CMDTUX_CAT:754: ERROR: error processing configuration file
125530.GVC3ZA03TESTING!tmboot.2444.6484.-2: FATAL: internal error:
CMDTUX_CAT:1360: ERROR: configuration file not found
125549.GVC3ZA03TESTING!tmboot.5388.6568.-2: 01-31-2007: Tuxedo Version 9.1,
32-bit
125549.GVC3ZA03TESTING!tmboot.5388.6568.-2: LIBTUX_CAT:603: ERROR: TUXCONFIG
file D:\bea\tuxedo9.1\samples\jolt\ToUpper\tuxconfig does not exist
125549.GVC3ZA03TESTING!tmboot.5388.6568.-2: LIBTUX_CAT:588: ERROR: Unable to
open TUXCONFIG file
125549.GVC3ZA03TESTING!tmboot.5388.6568.-2: FATAL: internal error:
CMDTUX_CAT:754: ERROR: error processing configuration file
125549.GVC3ZA03TESTING!tmboot.5388.6568.-2: FATAL: internal error:
CMDTUX_CAT:1360: ERROR: configuration file not found
131834.GVC3ZA03TESTING!tmboot.9840.5780.-2: 01-31-2007: Tuxedo Version 9.1,
32-bit
131834.GVC3ZA03TESTING!tmboot.9840.5780.-2: LIBTUX_CAT:603: ERROR: TUXCONFIG
file D:\bea\tuxedo9.1\samples\jolt\ToUpper\tuxconfig does not exist
131834.GVC3ZA03TESTING!tmboot.9840.5780.-2: LIBTUX_CAT:588: ERROR: Unable to
open TUXCONFIG file
131834.GVC3ZA03TESTING!tmboot.9840.5780.-2: FATAL: internal error:
CMDTUX_CAT:754: ERROR: error processing configuration file
131834.GVC3ZA03TESTING!tmboot.9840.5780.-2: FATAL: internal error:
CMDTUX_CAT:1360: ERROR: configuration file not found
132154.GVC3ZA03TESTING!tmboot.8724.10076.-2: 01-31-2007: Tuxedo Version 9.1,
32-bit
132154.GVC3ZA03TESTING!tmboot.8724.10076.-2: LIBTUX_CAT:603: ERROR:
TUXCONFIG file D:\bea\tuxedo9.1\samples\jolt\ToUpper\tuxconfig does not
exist
132154.GVC3ZA03TESTING!tmboot.8724.10076.-2: LIBTUX_CAT:588: ERROR: Unable
to open TUXCONFIG file
132154.GVC3ZA03TESTING!tmboot.8724.10076.-2: FATAL: internal error:
CMDTUX_CAT:754: ERROR: error processing configuration file
132154.GVC3ZA03TESTING!tmboot.8724.10076.-2: FATAL: internal error:
CMDTUX_CAT:1360: ERROR: configuration file not found
132234.GVC3ZA03TESTING!tmboot.7108.8460.-2: 01-31-2007: Tuxedo Version 9.1,
32-bit
132234.GVC3ZA03TESTING!tmboot.7108.8460.-2: LIBTUX_CAT:603: ERROR: TUXCONFIG
file D:\bea\tuxedo9.1\samples\jolt\ToUpper\tuxconfig does not exist
132234.GVC3ZA03TESTING!tmboot.7108.8460.-2: LIBTUX_CAT:588: ERROR: Unable to
open TUXCONFIG file
132234.GVC3ZA03TESTING!tmboot.7108.8460.-2: FATAL: internal error:
CMDTUX_CAT:754: ERROR: error processing configuration file
132234.GVC3ZA03TESTING!tmboot.7108.8460.-2: FATAL: internal error:
CMDTUX_CAT:1360: ERROR: configuration file not found
132331.GVC3ZA03TESTING!tmboot.6160.2752.-2: 01-31-2007: Tuxedo Version 9.1,
32-bit
132331.GVC3ZA03TESTING!tmboot.6160.2752.-2: LIBTUX_CAT:603: ERROR: TUXCONFIG
file D:\bea\tuxedo9.1\samples\jolt\ToUpper\tuxconfig does not exist
132331.GVC3ZA03TESTING!tmboot.6160.2752.-2: LIBTUX_CAT:588: ERROR: Unable to
open TUXCONFIG file
132331.GVC3ZA03TESTING!tmboot.6160.2752.-2: FATAL: internal error:
CMDTUX_CAT:754: ERROR: error processing configuration file
132331.GVC3ZA03TESTING!tmboot.6160.2752.-2: FATAL: internal error:
CMDTUX_CAT:1360: ERROR: configuration file not found
152528.GVC3ZA03TESTING!tlisten.9820.6620.-2: CMDTUX_CAT:4209: INFO: Accepted
request from //127.0.0.1:4553, seq # 1
152655.GVC3ZA03TESTING!slisten.exe.6776.7476.-2: CMDTUX_CAT:4209: INFO:
Accepted request from //10.226.65.102:4554, seq # 1
153804.GVC3ZA03TESTING!slisten.exe.6776.7476.-2: CMDTUX_CAT:4209: INFO:
Accepted request from //10.226.65.102:4580, seq # 2
164453.GVC3ZA03TESTING!slisten.exe.6776.7476.-2: CMDTUX_CAT:4209: INFO:
Accepted request from //10.226.65.102:4959, seq # 3
164758.GVC3ZA03TESTING!jsh.4900.7868.-2: 01-31-2007: Tuxedo Version 9.1,
32-bit
164758.GVC3ZA03TESTING!jsh.4900.7868.-2: JOLT_CAT:1034: "ERROR: Failed to
attach to shared memory for listener table, errno = 22"
164831.GVC3ZA03TESTING!JSH.exe.5084.2480.-2: 01-31-2007: Tuxedo Version 9.1,
32-bit
164831.GVC3ZA03TESTING!JSH.exe.5084.2480.-2: JOLT_CAT:1034: "ERROR: Failed
to attach to shared memory for listener table, errno = 22"
Thanks and Regards,
Ajay -
BPM for Weblogic configuration is failed
1, I install BPM for Weblogic.
2, I create a domain for weblogic using config tool and start it.
3, I create a new directory.
However, the configuration is failed.
The BPM for weblogic is installed in XP and the window of selecting JDK is not pop out.
The log is as follows:
For more help, use help(edit) Starting an edit session ... Started edit session, please be sure to save and activate your
changes once you are done. creating mbean of type JMSServer ... creating mbean of type JMSSystemResource ... creating mbean of type SubDeployment ... creating mbean of type Queue ... creating mbean of type Topic ... creating mbean of type ConnectionFactory ... creating mbean of type ConnectionFactory ... creating mbean of type JDBCSystemResource ... creating mbean of type Property ... creating mbean of type Property ... creating mbean of type Property ... creating mbean of type Property ... creating mbean of type JDBCSystemResource ... creating mbean of type Property ... creating mbean of type Property ... creating mbean of type Property ... creating mbean of type Property ... setting attributes for mbean type JMSServer setting attributes for mbean type JMSSystemResource setting attributes for mbean type SubDeployment setting attributes for mbean type Queue setting attributes for mbean type Topic setting attributes for mbean type JMSConnectionFactory setting attributes for mbean type JMSConnectionFactory setting attributes for mbean type JDBCSystemResource setting attributes for mbean type JDBCProperty setting attributes for mbean type JDBCProperty setting attributes for mbean type JDBCProperty setting attributes for mbean type JDBCProperty setting attributes for mbean type JDBCConnectionPoolParams setting attributes for mbean type JDBCDriverParams setting attributes for mbean type JDBCDataSource setting attributes for mbean type JDBCDataSource setting attributes for mbean type JDBCXAParams setting attributes for mbean type JDBCDataSourceParams setting attributes for mbean type JDBCConnectionPoolParams setting attributes for mbean type JDBCDriverParams setting attributes for mbean type JDBCDataSourceParams setting attributes for mbean type JDBCSystemResource setting attributes for mbean type JDBCProperty setting attributes for mbean type JDBCProperty setting attributes for mbean type JDBCProperty setting attributes for mbean type JDBCProperty Saving all your changes ... Saved all your changes successfully. Your edit session is not stopped, you can continue your edits. Activating all your changes, this may take a while ...
The edit lock associated with this edit session is released
once the activation is completed. Activation completed Creating a user ... Created user successfully Deploying application from E:\OraBPMwlHome20090715WebLogic\j2ee\weblogic\deployer\wlj2eedeployer.ear to targets examplesServer (upload=true) ... <Jul 15, 2009 12:11:44 PM CST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, wlj2eedeployer archive: E:\OraBPMwlHome20090715WebLogic\j2ee\weblogic\deployer\wlj2eedeployer.ear, to examplesServer .> .Completed the deployment of Application with status completed Current Status of your Deployment: Deployment command type: deploy Deployment State : completed Deployment Message : no message Deploying application from E:\OraBPMwlHome20090715WebLogic\ears\engine\01-eng-bpmengine3.ear to targets examplesServer (upload=true) ... <Jul 15, 2009 12:11:54 PM CST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, 01-eng-bpmengine3 archive: E:\OraBPMwlHome20090715WebLogic\ears\engine\01-eng-bpmengine3.ear, to examplesServer .> Failed to deploy the application with status failed Current Status of your Deployment: Deployment command type: deploy Deployment State : failed Deployment Message : java.lang.OutOfMemoryError: Java heap space No stack trace available. This Exception occurred at Wed Jul 15 12:12:17 CST 2009. weblogic.management.scripting.ScriptException: Error occured while performing deploy : Deployment Failed. at weblogic.management.scripting.ExceptionHandler.handleException(ExceptionHandler.java:48) at weblogic.management.scripting.WLSTUtils.throwWLSTException(WLSTUtils.java:185) at weblogic.management.scripting.JSR88DeployHandler.deploy(JSR88DeployHandler.java:536) at weblogic.management.scripting.WLScriptContext.deploy(WLScriptContext.java:429) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160) at org.python.core.PyMethod.__call__(PyMethod.java:96) at org.python.core.PyObject.__call__(PyObject.java:248) at org.python.core.PyObject.invoke(PyObject.java:2016) at org.python.pycode._pyx17.deploy$8(<iostream>:223) at org.python.pycode._pyx17.call_function(<iostream>) at org.python.core.PyTableCode.call(PyTableCode.java:208) at org.python.core.PyTableCode.call(PyTableCode.java:404) at org.python.core.PyFunction.__call__(PyFunction.java:184) at org.python.pycode._pyx16.deploy_Applications$61(C:\Documents and Settings\Administrator\.configWizard\tmp\config.py:623) at org.python.pycode._pyx16.call_function(C:\Documents and Settings\Administrator\.configWizard\tmp\config.py) at org.python.core.PyTableCode.call(PyTableCode.java:208) at org.python.core.PyTableCode.call(PyTableCode.java:256) at org.python.core.PyFunction.__call__(PyFunction.java:169) at org.python.pycode._pyx16.f$0(C:\Documents and Settings\Administrator\.configWizard\tmp\config.py:738) at org.python.pycode._pyx16.call_function(C:\Documents and Settings\Administrator\.configWizard\tmp\config.py) at org.python.core.PyTableCode.call(PyTableCode.java:208) at org.python.core.PyCode.call(PyCode.java:14) at org.python.core.Py.runCode(Py.java:1135) at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167) at weblogic.management.scripting.WLST.main(WLST.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at weblogic.WLST.main(WLST.java:29)
Exiting WebLogic Scripting Tool.
<Jul 15, 2009 12:12:17 PM CST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.> QuestionConfirm Action
Do you want to cancel this wizard?Hi,
Thanks for your reply. I change the file and reconfigure the BPM for weblogic. However, it is still failed in 70-72%.
-------------------log message-------------------------------
TO_MSG PATH=/root/bea/wlserver_10.3/server/bin:/root/bea/modules/org.apache.ant_1.6.5/bin:/root/bea/jrockit_160_05/jre/bin:/root/bea/jrockit_160_05/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
TO_MSG
TO_MSG Your environment has been set.
TO_MSG
TO_MSG CLASSPATH=/root/bea/patch_wlw1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/root/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/root/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/root/bea/jrockit_160_05/lib/tools.jar:/root/bea/wlserver_10.3/server/lib/weblogic_sp.jar:/root/bea/wlserver_10.3/server/lib/weblogic.jar:/root/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/root/bea/wlserver_10.3/server/lib/webservices.jar:/root/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/root/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:/root/OraBPMwlHome/lib/fuego.boot.jar:/root/OraBPMwlHome/bin/./:/root/OraBPMwlHome/bin/./lax.jar::/root/bea/wlserver_10.3/common/eval/pointbase/lib/pbembedded57.jar:/root/bea/wlserver_10.3/common/eval/pointbase/lib/pbtools57.jar:/root/bea/wlserver_10.3/common/eval/pointbase/lib/pbclient57.jar
TO_MSG
TO_MSG Initializing WebLogic Scripting Tool (WLST) ...
TO_MSG
TO_MSG Welcome to WebLogic Server Administration Scripting Shell
TO_MSG
TO_MSG Type help() for help on available commands
TO_MSG
TO_MSG Starting server BPMServer
TO_MSG Please see the server log files for startup messages available at /root/weblogic3/bpm
TO_MSG Starting weblogic server ...
TO_MSG WLST-WLS-1249792014056: [WARN ] -XX:MaxPermSize=256m is not a valid VM option. Ignoring
TO_MSG .WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ26¥ネニ58ᄃメ CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with BEA JRockit(R) Version R27.6.0-50_o-100423-1.6.0_05-20080626-2104-linux-ia32 from BEA Systems, Inc.>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ00ᄃメ CST> <Info> <Management> <BEA-140013> </root/weblogic3/bpm/config/config.xml not found>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ00ᄃメ CST> <Info> <Management> <BEA-141254> <Generating new domain directory in /root/weblogic3/bpm>
TO_MSG .....WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ12ᄃメ CST> <Info> <Management> <BEA-141255> <Domain generation completed in 12,326 milliseconds.>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ13ᄃメ CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 >
TO_MSG .WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ15ᄃメ CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ15ᄃメ CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ16ᄃメ CST> <Notice> <Log Management> <BEA-170019> <The server log file /root/weblogic3/bpm/servers/BPMServer/logs/BPMServer.log is opened. All server side log events will be written to this file.>
TO_MSG ...WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ24ᄃメ CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
TO_MSG ....WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ34ᄃメ CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ34ᄃメ CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ34ᄃメ CST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
TO_MSG .WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ35ᄃメ CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ35ᄃメ CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ35ᄃメ CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ35ᄃメ CST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "BPMServer" for domain "bpm" running in Development Mode>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ36ᄃメ CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ36ᄃメ CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
TO_MSG Server started successfully.
TO_MSG Started Server. Trying to connect to the server ...
TO_MSG Connecting to t3://localhost.localdomain:7001 with userid weblogic ...
TO_MSG Successfully connected to Admin Server 'BPMServer' that belongs to domain 'bpm'.
TO_MSG
TO_MSG Warning: An insecure protocol was used to connect to the
TO_MSG server. To ensure on-the-wire security, the SSL port or
TO_MSG Admin port should be used instead.
TO_MSG
TO_MSG Location changed to edit tree. This is a writable tree with
TO_MSG DomainMBean as the root. To make changes you will need to start
TO_MSG an edit session via startEdit().
TO_MSG
TO_MSG For more help, use help(edit)
TO_MSG
TO_MSG Starting an edit session ...
TO_MSG Started edit session, please be sure to save and activate your
TO_MSG changes once you are done.
TO_MSG creating mbean of type JMSServer ...
TO_MSG creating mbean of type JMSSystemResource ...
TO_MSG creating mbean of type SubDeployment ...
TO_MSG creating mbean of type Queue ...
TO_MSG creating mbean of type Topic ...
TO_MSG creating mbean of type ConnectionFactory ...
TO_MSG creating mbean of type ConnectionFactory ...
TO_MSG creating mbean of type Server ...
TO_MSG creating mbean of type JDBCSystemResource ...
TO_MSG creating mbean of type Property ...
TO_MSG creating mbean of type Property ...
TO_MSG creating mbean of type Property ...
TO_MSG creating mbean of type Property ...
TO_MSG creating mbean of type JDBCSystemResource ...
TO_MSG creating mbean of type Property ...
TO_MSG creating mbean of type Property ...
TO_MSG creating mbean of type Property ...
TO_MSG creating mbean of type Property ...
TO_MSG creating mbean of type Realm ...
TO_MSG creating mbean of type RoleMapper ...
TO_MSG creating mbean of type CredentialMapper ...
TO_MSG creating mbean of type CertPathProvider ...
TO_MSG creating mbean of type Authorizer ...
TO_MSG creating mbean of type Adjudicator ...
TO_MSG creating mbean of type AuthenticationProvider ...
TO_MSG creating mbean of type AuthenticationProvider ...
TO_MSG setting attributes for mbean type JMSServer
TO_MSG setting attributes for mbean type JMSSystemResource
TO_MSG setting attributes for mbean type SubDeployment
TO_MSG setting attributes for mbean type Queue
TO_MSG setting attributes for mbean type Topic
TO_MSG setting attributes for mbean type JMSConnectionFactory
TO_MSG setting attributes for mbean type JMSConnectionFactory
TO_MSG setting attributes for mbean type Server
TO_MSG setting attributes for mbean type JDBCSystemResource
TO_MSG setting attributes for mbean type JDBCProperty
TO_MSG setting attributes for mbean type JDBCProperty
TO_MSG setting attributes for mbean type JDBCProperty
TO_MSG setting attributes for mbean type JDBCProperty
TO_MSG setting attributes for mbean type JDBCConnectionPoolParams
TO_MSG setting attributes for mbean type JDBCDriverParams
TO_MSG setting attributes for mbean type JDBCDataSource
TO_MSG setting attributes for mbean type DefaultIdentityAsserter
TO_MSG setting attributes for mbean type SecurityConfiguration
TO_MSG setting attributes for mbean type SecurityParams
TO_MSG setting attributes for mbean type EmbeddedLDAP
TO_MSG setting attributes for mbean type SecurityParams
TO_MSG setting attributes for mbean type Domain
TO_MSG setting attributes for mbean type JDBCDataSource
TO_MSG setting attributes for mbean type JDBCXAParams
TO_MSG setting attributes for mbean type JDBCDataSourceParams
TO_MSG setting attributes for mbean type JDBCConnectionPoolParams
TO_MSG setting attributes for mbean type JDBCDriverParams
TO_MSG setting attributes for mbean type JDBCDataSourceParams
TO_MSG setting attributes for mbean type JDBCSystemResource
TO_MSG setting attributes for mbean type JDBCProperty
TO_MSG setting attributes for mbean type JDBCProperty
TO_MSG setting attributes for mbean type JDBCProperty
TO_MSG setting attributes for mbean type JDBCProperty
TO_MSG Saving all your changes ...
TO_MSG Saved all your changes successfully.
TO_MSG Your edit session is not stopped, you can continue your edits.
TO_MSG Activating all your changes, this may take a while ...
TO_MSG The edit lock associated with this edit session is released
TO_MSG once the activation is completed.
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ53ᄃメ CST> <Warning> <Management> <BEA-141239> <The non-dynamic attribute InternalAppsDeployOnDemandEnabled on weblogic.management.configuration.DomainMBeanImpl@fffe8220([bpm]) has been changed. This may require redeploying or rebooting configured entities>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ53ᄃメ CST> <Warning> <Management> <BEA-141238> <A non-dynamic change has been made which affects the server BPMServer. This server must be rebooted in order to consume this change.>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ53ᄃメ CST> <Warning> <Management> <BEA-141239> <The non-dynamic attribute RotateLogOnStartup on weblogic.management.configuration.LogMBeanImpl@1759a12([bpm]/Log[bpm]) has been changed. This may require redeploying or rebooting configured entities>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ53ᄃメ CST> <Warning> <Management> <BEA-141238> <A non-dynamic change has been made which affects the server BPMServer. This server must be rebooted in order to consume this change.>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ53ᄃメ CST> <Warning> <Management> <BEA-141239> <The non-dynamic attribute ListenAddress on weblogic.management.configuration.ServerMBeanImpl@2ddd7637([bpm]/Servers[BPMServer]) has been changed. This may require redeploying or rebooting configured entities>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ53ᄃメ CST> <Warning> <Management> <BEA-141238> <A non-dynamic change has been made which affects the server BPMServer. This server must be rebooted in order to consume this change.>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ53ᄃメ CST> <Warning> <Management> <BEA-141239> <The non-dynamic attribute RotateLogOnStartup on weblogic.management.configuration.LogMBeanImpl@2df105fa([bpm]/Servers[BPMServer]/Log[BPMServer]) has been changed. This may require redeploying or rebooting configured entities>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ53ᄃメ CST> <Warning> <Management> <BEA-141238> <A non-dynamic change has been made which affects the server BPMServer. This server must be rebooted in order to consume this change.>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ53ᄃメ CST> <Warning> <Management> <BEA-141239> <The non-dynamic attribute RotateLogOnStartup on weblogic.management.configuration.WebServerLogMBeanImpl@2df106e5([bpm]/Servers[BPMServer]/WebServer[BPMServer]/WebServerLog[BPMServer]) has been changed. This may require redeploying or rebooting configured entities>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ27¥ネニ53ᄃメ CST> <Warning> <Management> <BEA-141238> <A non-dynamic change has been made which affects the server BPMServer. This server must be rebooted in order to consume this change.>
TO_MSG
TO_MSG The following non-dynamic attribute(s) have been changed on MBeans
TO_MSG that require server re-start:
TO_MSG MBean Changed : com.bea:Name=BPMServer,Type=Log,Server=BPMServer
TO_MSG Attributes changed : RotateLogOnStartup
TO_MSG
TO_MSG MBean Changed : com.bea:Name=BPMServer,Type=Server
TO_MSG Attributes changed : ListenAddress
TO_MSG
TO_MSG MBean Changed : com.bea:Name=bpm,Type=Log
TO_MSG Attributes changed : RotateLogOnStartup
TO_MSG
TO_MSG MBean Changed : com.bea:Name=bpm,Type=Domain
TO_MSG Attributes changed : InternalAppsDeployOnDemandEnabled, ProductionModeEnabled
TO_MSG
TO_MSG MBean Changed : com.bea:Name=BPMServer,Type=WebServerLog,Server=BPMServer,WebServer=BPMServer
TO_MSG Attributes changed : RotateLogOnStartup
TO_MSG
TO_MSG Activation completed
TO_MSG Creating a user ...
TO_MSG
TO_MSG Created user successfully
TO_MSG Deploying application from /root/OraBPMwlHome/j2ee/weblogic/deployer/wlj2eedeployer.ear to targets BPMServer (upload=true) ...
TO_MSG <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ28¥ネニ01ᄃメ CST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, wlj2eedeployer [archive: /root/OraBPMwlHome/j2ee/weblogic/deployer/wlj2eedeployer.ear], to BPMServer .>
TO_MSG .Completed the deployment of Application with status completed
TO_MSG Current Status of your Deployment:
TO_MSG Deployment command type: deploy
TO_MSG Deployment State : completed
TO_MSG Deployment Message : no message
TO_MSG Deploying application from /root/OraBPMwlHome/ears/engine/01-eng-bpmengine.ear to targets BPMServer (upload=true) ...
TO_MSG <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ28¥ネニ08ᄃメ CST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, 01-eng-bpmengine [archive: /root/OraBPMwlHome/ears/engine/01-eng-bpmengine.ear], to BPMServer .>
TO_MSG .................Completed the deployment of Application with status completed
TO_MSG Current Status of your Deployment:
TO_MSG Deployment command type: deploy
TO_MSG Deployment State : completed
TO_MSG Deployment Message : no message
TO_MSG Deploying application from /root/OraBPMwlHome/ears/webapps/webapps_expanded/08-workspace-XAFDIDS.ear to targets BPMServer (upload=true) ...
TO_MSG <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ29¥ネニ48ᄃメ CST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, 08-workspace-XAFDIDS.ear [archive: /root/OraBPMwlHome/ears/webapps/webapps_expanded/08-workspace-XAFDIDS.ear], to BPMServer .>
TO_MSG .Completed the deployment of Application with status completed
TO_MSG Current Status of your Deployment:
TO_MSG Deployment command type: deploy
TO_MSG Deployment State : completed
TO_MSG Deployment Message : no message
TO_MSG Deploying application from /root/OraBPMwlHome/ears/webapps/webapps_expanded/09-feeds-XAFDIDS.ear to targets BPMServer (upload=true) ...
TO_MSG <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ30¥ネニ45ᄃメ CST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, 09-feeds-XAFDIDS.ear [archive: /root/OraBPMwlHome/ears/webapps/webapps_expanded/09-feeds-XAFDIDS.ear], to BPMServer .>
TO_MSG .Completed the deployment of Application with status completed
TO_MSG Current Status of your Deployment:
TO_MSG Deployment command type: deploy
TO_MSG Deployment State : completed
TO_MSG Deployment Message : no message
TO_MSG Deploying application from /root/OraBPMwlHome/ears/webapps/webapps_expanded/06-workspaceadmin-XAFDIDS.ear to targets BPMServer (upload=true) ...
TO_MSG <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ31¥ネニ00ᄃメ CST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, 06-workspaceadmin-XAFDIDS.ear [archive: /root/OraBPMwlHome/ears/webapps/webapps_expanded/06-workspaceadmin-XAFDIDS.ear], to BPMServer .>
TO_MSG .Completed the deployment of Application with status completed
TO_MSG Current Status of your Deployment:
TO_MSG Deployment command type: deploy
TO_MSG Deployment State : completed
TO_MSG Deployment Message : no message
TO_MSG Deploying application from /root/OraBPMwlHome/ears/webapps/07-papiws-wls103-XAFDIDS.ear to targets BPMServer (upload=true) ...
TO_MSG <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ31¥ネニ31ᄃメ CST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, 07-papiws-wls103-XAFDIDS.ear [archive: /root/OraBPMwlHome/ears/webapps/07-papiws-wls103-XAFDIDS.ear], to BPMServer .>
TO_MSG ..WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ31¥ネニ48ᄃメ CST> <Error> <HTTP> <BEA-101220> <Error occurred while setting document root for "weblogic.servlet.internal.WebAppServletContext@30302d0 - appName: '07-papiws-wls103-XAFDIDS.ear', name: 'papiws', context-path: '/papiws', spec-version: '2.5'" to "/root/weblogic3/bpm/servers/BPMServer/tmp/_WL_user/07-papiws-wls103-XAFDIDS.ear/f0r1c0/papiws.war".>
TO_MSG WLST-WLS-1249792014056: <2009-8-9 ¦ᄌヒ¥ヘネ12₩ラᄊ31¥ネニ48ᄃメ CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1249792304208' for task '5'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'papiws''
TO_MSG WLST-WLS-1249792014056: weblogic.application.ModuleException: Failed to load webapp: 'papiws'
TO_MSG WLST-WLS-1249792014056: at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
TO_MSG WLST-WLS-1249792014056: at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
TO_MSG WLST-WLS-1249792014056: at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
TO_MSG WLST-WLS-1249792014056: at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
TO_MSG WLST-WLS-1249792014056: at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
TO_MSG WLST-WLS-1249792014056: Truncated. see log file for complete stacktrace
TO_MSG WLST-WLS-1249792014056: java.io.IOException: Error opening file
TO_MSG WLST-WLS-1249792014056: at java.util.zip.ZipFile.open(Native Method)
TO_MSG WLST-WLS-1249792014056: at java.util.zip.ZipFile.<init>(ZipFile.java:117)
TO_MSG WLST-WLS-1249792014056: at java.util.zip.ZipFile.<init>(ZipFile.java:133)
TO_MSG WLST-WLS-1249792014056: at weblogic.utils.classloaders.ZipClassFinder.<init>(ZipClassFinder.java:23)
TO_MSG WLST-WLS-1249792014056: at weblogic.application.io.ArchivedWar$WebInfClassesFinder.<init>(ArchivedWar.java:290)
TO_MSG WLST-WLS-1249792014056: Truncated. see log file for complete stacktrace
TO_MSG WLST-WLS-1249792014056: >
TO_MSG WLST-WLS-1249792014056: java.io.FileNotFoundException: /root/weblogic3/bpm/config/config.xml (Too many open files)
TO_MSG WLST-WLS-1249792014056: at java.io.FileOutputStream.open(Native Method)
TO_MSG WLST-WLS-1249792014056: at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
TO_MSG WLST-WLS-1249792014056: at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
TO_MSG WLST-WLS-1249792014056: at weblogic.utils.FileUtils.writeToFile(FileUtils.java:115)
TO_MSG WLST-WLS-1249792014056: at weblogic.utils.Fil -
How to use the same keypair for both encrypt/decryprt-SunPKCS#11
Dear All,
Subject: To access iKey 2032 token, to retrieve public/private key from iKey 2032 token using pkcs#11 in sdk1.5, to encrypt/decrypt files.
When I separate the encrypt and decrypt part of java program, encryption program works well, whereas decryption program does not decrypt anything in the decrypt file (But there is no error). I printed out the public and private key in both encrypt and decrypt part of java program, its displayed differently::
Encrypt program:
SunPKCS11-rainbow_token RSA public key, 1024 bits (id 10, session object)
modulus: 114338469922835728259534620463489934081917342509275191892563243582065
74380495029336519036972702864998634664269499641616889325482699399559620370181624
72068116957594402738459932902481604823224406859575930392708524033619120886256353
58738237376491107769961041015109436347533548940674900728805627968145581222172729
public exponent: 65537
SunPKCS11-rainbow_token RSA private key, 1024 bits (id 11, session object, sensi
tive, unextractable)
Decrypt Program::
SunPKCS11-rainbow_token RSA public key, 1024 bits (id 12, session object)
modulus: 138556361758970660122782926386849783732271581948935425587968692317930
09262429353977097956605140384961825974398004270547046620971835394362397699233738
54481804748731546655197744692886754946373745924825650876065903334173666990347814
83727290962956934521650035029131176614982652900659797194703065074407857754883163
public exponent: 65537
SunPKCS11-rainbow_token RSA private key, 1024 bits (id 13, session object, sensi
tive, unextractable)
I suspect that every time program generates different set of key, therefore we need to store the generated key during encryption part (i believe it is to be in the keystore) and to use the same for decryption part. Could you please give me a tips how to do this?
Encrypt Program ::
import java.io.*;
import java.util.*;
import java.lang.*;
import java.sql.*;
import java.text.*;
import java.math.*;
import java.security.*;
import java.security.cert.*;
import java.security.interfaces.*;
import javax.crypto.interfaces.*;
import javax.net.ssl.*;
import javax.crypto.*;
import javax.crypto.spec.DESKeySpec;
import java.security.KeyStore.*;
* A class of Encrypt.
public class Encrypt
public Encrypt(){}
public void loginToken() {
Provider p = new sun.security.pkcs11.SunPKCS11(MQConfig.getvalue("SecurityPropertyPath"));
Security.addProvider(p);
KeyStore ks = null;
try{
String password = General.ReadFiles(MQConfig.getvalue("logFilePath"),"Simple");
password = password.trim();
char pin[] = password.toCharArray();
ks = KeyStore.getInstance("pkcs11");
ks.load(null,pin);
KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA",p);
KeyPair kp = kpg.genKeyPair();
kpg.initialize(1024, new java.security.SecureRandom());
FileInputStream in = new FileInputStream("C:\\ReportDBBE.properties");
FileOutputStream out = new FileOutputStream("C:\\ReportDBAE.properties");
Cipher cp=Cipher.getInstance("RSA/ECB/PKCS1Padding", p);
cp.init(cp.ENCRYPT_MODE,kp.getPublic());
CipherOutputStream cout=new CipherOutputStream(out,cp);
byte[] input=new byte[8];
int byteread=in.read(input);
while(byteread!=-1){
cout.write(input,0,byteread);
byteread=in.read(input);
cout.flush();
in.close();
cout.close();
catch(NoSuchAlgorithmException nsae)
System.out.println("No Such Algorithm Exception " + nsae.getMessage());
catch(NoSuchPaddingException nspe)
System.out.println("No Such Padding Exception " + nspe.getMessage());
catch(InvalidKeyException ike)
System.out.println("Invalid Key Exception " + ike.getMessage());
catch(IllegalStateException ise)
System.out.println("Illegal State Exception " + ise.getMessage());
catch(KeyStoreException kse)
System.out.println("Key Store Exception " + kse.getMessage());
catch(CertificateException ce)
System.out.println("Certificate Exception " + ce.getMessage());
catch(IOException ioe)
System.out.println("IO Exception " + ioe.getMessage());
public static void main (String args[]) throws Exception {
try{
Encrypt tl = new Encrypt();
tl.loginToken();
}catch(Exception e){
e.printStackTrace();
Decrypt Program ::
import java.io.*;
import java.util.*;
import java.lang.*;
import java.sql.*;
import java.text.*;
import java.math.*;
import java.security.*;
import java.security.cert.*;
import java.security.interfaces.*;
import javax.crypto.interfaces.*;
import javax.net.ssl.*;
import javax.crypto.*;
import javax.crypto.spec.DESKeySpec;
import java.security.KeyStore.*;
* A class of Decrypt.
public class Decrypt
public Decrypt(){}
public void loginToken() {
Provider p = new sun.security.pkcs11.SunPKCS11(MQConfig.getvalue("SecurityPropertyPath"));
Security.addProvider(p);
KeyStore ks = null;
try{
String password = General.ReadFiles(MQConfig.getvalue("logFilePath"),"Simple");
password = password.trim();
char pin[] = password.toCharArray();
ks = KeyStore.getInstance("pkcs11");
ks.load(null,pin);
KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA",p);
KeyPair kp = kpg.genKeyPair();
kpg.initialize(1024, new java.security.SecureRandom());
FileInputStream in1 = new FileInputStream("C:\\ReportDBAE.properties");
FileOutputStream out1 = new FileOutputStream("C:\\ReportDBAD.properties");
Cipher cipher=Cipher.getInstance("RSA/ECB/PKCS1Padding", p);
AlgorithmParameters algParams = cipher.getParameters();
cipher.init(Cipher.DECRYPT_MODE,kp.getPrivate(),algParams);
CipherInputStream cin1=new CipherInputStream(in1,cipher);
byte[] input1=new byte[8];
int byteread1=cin1.read(input1);
while(byteread1!=-1){
out1.write(input1,0,byteread1);
byteread1=cin1.read(input1);
out1.flush();
in1.close();
out1.close();
cin1.close();
catch(NoSuchAlgorithmException nsae)
System.out.println("No Such Algorithm Exception " + nsae.getMessage());
catch(NoSuchPaddingException nspe)
System.out.println("No Such Padding Exception " + nspe.getMessage());
catch(InvalidKeyException ike)
System.out.println("Invalid Key Exception " + ike.getMessage());
catch(IllegalStateException ise)
System.out.println("Illegal State Exception " + ise.getMessage());
catch(InvalidAlgorithmParameterException iape)
System.out.println("Invalid Algorithm ParameterException " + iape.getMessage());
catch(KeyStoreException kse)
System.out.println("Key Store Exception " + kse.getMessage());
catch(CertificateException ce)
System.out.println("Certificate Exception " + ce.getMessage());
catch(IOException ioe)
System.out.println("IO Exception " + ioe.getMessage());
public static void main (String args[]) throws Exception {
try{
Decrypt tl = new Decrypt();
tl.loginToken();
}catch(Exception e){
e.printStackTrace();
Configuration file::
name = rainbow_token
library = c:\winnt\system32\dkck201.dll
attributes(*,CKO_PRIVATE_KEY,*) = {
CKA_SIGN = true
attributes(*,CKO_PRIVATE_KEY,CKK_DH) = {
CKA_SIGN = null
attributes(*,CKO_PRIVATE_KEY,CKK_RSA) = {
CKA_DECRYPT = true
}Hi all,
Now i manage to use the same keypair for both encrypt/decryprt-SunPKCS#11. Below is my code woks well. In my code i hard coded alias name of certificate, did anyone knows how to read alias name of certificate from iKey token 2032??
import java.io.*;
import java.util.*;
import java.lang.*;
import java.sql.*;
import java.text.*;
import java.math.*;
import java.security.*;
import java.security.cert.*;
import java.security.interfaces.*;
import javax.crypto.interfaces.*;
import javax.net.ssl.*;
import javax.crypto.*;
import javax.crypto.spec.DESKeySpec;
import java.security.KeyStore.*;
* A class of Encrypt.
public class Encrypt
public Encrypt(){}
public void loginToken() {
Provider p = new sun.security.pkcs11.SunPKCS11(MQConfig.getvalue("SecurityPropertyPath"));
String myAlias = "349eefd1-845b-4ba4-9f88-06e9f5cb82f6";
/** to view alias name
keytool -list -v -keystore NONE -storetype PKCS11 -storepass PASSWORD
Security.addProvider(p);
KeyStore ks = null;
PrivateKey privKey = null;
PublicKey pubKey = null;
try{
String password = General.ReadFiles(MQConfig.getvalue("logFilePath"),"Simple");
password = password.trim();
char pin[] = password.toCharArray();
ks = KeyStore.getInstance("pkcs11");
ks.load(null,pin);
java.security.cert.Certificate cert = ks.getCertificate(myAlias);
Key key = ks.getKey(myAlias, pin);
if(key != null) {
System.out.println("key class: " + key.getClass().getName()); // -> sun.security.pkcs11.P11Key$P11PrivateKey
System.out.println("key bytes: " + key.getEncoded()); // -> null!!!!!!!
if(PrivateKey.class.isInstance(key)) {
privKey = (PrivateKey)key;
System.out.println("algo: " + privKey.getAlgorithm()); // -> RSA
//Signature rsasig = Signature.getInstance("SHA1withRSA");
//rsasig.initSign(privKey);
//rsasig.update(data.getBytes());
//byte[] sigBytes = rsasig.sign();
pubKey = cert.getPublicKey();
//System.out.println("signed bytes: " +sigBytes);
//return sigBytes;
//KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA",p);
//KeyPair kp = kpg.genKeyPair();
//KeyPair kp = kpg.generateKeyPair();
//kpg.initialize(1024, new java.security.SecureRandom());
FileInputStream in = new FileInputStream("C:\\ReportDBBE.properties");
FileOutputStream out = new FileOutputStream("C:\\ReportDBAE.properties");
Cipher cp=Cipher.getInstance("RSA/ECB/PKCS1Padding", p);
//cp.init(cp.ENCRYPT_MODE,kp.getPublic());
cp.init(cp.ENCRYPT_MODE,pubKey);
CipherOutputStream cout=new CipherOutputStream(out,cp);
byte[] input=new byte[8];
int byteread=in.read(input);
while(byteread!=-1){
cout.write(input,0,byteread);
byteread=in.read(input);
cout.flush();
in.close();
cout.close();
catch(NoSuchAlgorithmException nsae)
System.out.println("No Such Algorithm Exception " + nsae.getMessage());
catch(NoSuchPaddingException nspe)
System.out.println("No Such Padding Exception " + nspe.getMessage());
catch(InvalidKeyException ike)
System.out.println("Invalid Key Exception " + ike.getMessage());
ike.printStackTrace();
catch(IllegalStateException ise)
System.out.println("Illegal State Exception " + ise.getMessage());
catch(KeyStoreException kse)
System.out.println("Key Store Exception " + kse.getMessage());
catch(CertificateException ce)
System.out.println("Certificate Exception " + ce.getMessage());
catch(IOException ioe)
System.out.println("IO Exception " + ioe.getMessage());
catch(UnrecoverableKeyException unrke)
System.out.println("Unrecoverable Key Exception " + unrke.getMessage());
public static void main (String args[]) throws Exception {
try{
Encrypt tl = new Encrypt();
tl.loginToken();
}catch(Exception e){
e.printStackTrace();
Your help is very much appreciated!!!! -
Unable to start admin server service for weblogic (startWebLogic.sh) Linux
I installed ECM 11g on Linux 64-bit , installed weblogic 12
so when I try to start admin server service for weblogic (startWebLogic.sh) and following error its showing
I found solution to give full access permeation for the user , but it's still same issue
and i am triyng to start services from the users how installed the Weblogic and ECM
bash-4.1$ '/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/startWebLogic.sh' .
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
WLS Start Mode=Development
CLASSPATH=/home/ecm/Oracle/Middleware/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/home/ecm/Oracle/Middleware/patch_wls1211/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/ecm/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/jdk1.6.0_33/lib/tools.jar:/home/ecm/Oracle/Middleware/wlserver_12.1/server/lib/weblogic_sp.jar:/home/ecm/Oracle/Middleware/wlserver_12.1/server/lib/weblogic.jar:/home/ecm/Oracle/Middleware/modules/features/weblogic.server.modules_12.1.1.0.jar:/home/ecm/Oracle/Middleware/wlserver_12.1/server/lib/webservices.jar:/home/ecm/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/ecm/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/ecm/Oracle/Middleware/oracle_common/soa/modules/commons-cli-1.1.jar:/home/ecm/Oracle/Middleware/oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/home/ecm/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/home/ecm/Oracle/Middleware/wlserver_12.1/common/derby/lib/derbyclient.jar:/home/ecm/Oracle/Middleware/wlserver_12.1/server/lib/xqrl.jar:/home/ecm/Oracle/Middleware/Oracle_ECM1/ucm/idc/jlib/idcloader.jar:/home/ecm/Oracle/Middleware/Oracle_ECM1/ucm/idc/components/NativeOsUtils/classes-NativeOsUtils.jar
PATH=/home/ecm/Oracle/Middleware/wlserver_12.1/server/bin:/home/ecm/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/lib/jvm/jdk1.6.0_33/jre/bin:/usr/lib/jvm/jdk1.6.0_33/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ecm/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:
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)
Starting WLS with line:
/usr/lib/jvm/jdk1.6.0_33/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer -Djava.security.policy=/home/ecm/Oracle/Middleware/wlserver_12.1/server/lib/weblogic.policy -Xverify:none -Djava.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_33/jre/lib/endorsed:/home/ecm/Oracle/Middleware/wlserver_12.1/endorsed -da -Dplatform.home=/home/ecm/Oracle/Middleware/wlserver_12.1 -Dwls.home=/home/ecm/Oracle/Middleware/wlserver_12.1/server -Dweblogic.home=/home/ecm/Oracle/Middleware/wlserver_12.1/server -Dcommon.components.home=/home/ecm/Oracle/Middleware/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain -Djrockit.optfile=/home/ecm/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/config/fmwconfig/servers/AdminServer -Doracle.domain.config.dir=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/config/fmwconfig -Digf.arisidbeans.carmlloc=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/config/fmwconfig/carml -Digf.arisidstack.home=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/servers/AdminServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/home/ecm/Oracle/Middleware/oracle_common/modules/oracle.ossoiap_11.1.1,/home/ecm/Oracle/Middleware/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dipm.oracle.home=/home/ecm/Oracle/Middleware/Oracle_ECM1 -Ducm.oracle.home=/home/ecm/Oracle/Middleware/Oracle_ECM1 -Dem.oracle.home=/home/ecm/Oracle/Middleware/oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home/ecm/Oracle/Middleware/patch_wls1211/profiles/default/sysext_manifest_classpath:/home/ecm/Oracle/Middleware/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server
<Sep 12, 2012 12:08:02 PM EEST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Sep 12, 2012 12:08:03 PM EEST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<Sep 12, 2012 12:08:03 PM EEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.8-b03 from Sun Microsystems Inc..>
<Sep 12, 2012 12:08:04 PM EEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for 13340309 Thu Feb 16 18:30:21 IST 2012
WebLogic Server Temporary Patch for 13019800 Mon Jan 16 16:53:54 IST 2012
WebLogic Server Temporary Patch for BUG13391585 Thu Feb 02 10:18:36 IST 2012
WebLogic Server Temporary Patch for 13516712 Mon Jan 30 15:09:33 IST 2012
WebLogic Server Temporary Patch for BUG13641115 Tue Jan 31 11:19:13 IST 2012
WebLogic Server Temporary Patch for BUG13603813 Wed Feb 15 19:34:13 IST 2012
WebLogic Server Temporary Patch for 13424251 Mon Jan 30 14:32:34 IST 2012
WebLogic Server Temporary Patch for 13361720 Mon Jan 30 15:24:05 IST 2012
WebLogic Server Temporary Patch for BUG13421471 Wed Feb 01 11:24:18 IST 2012
WebLogic Server Temporary Patch for BUG13657792 Thu Feb 23 12:57:33 IST 2012
WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491 >
<Sep 12, 2012 12:08:06 PM EEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
<Sep 12, 2012 12:08:06 PM EEST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>
<Sep 12, 2012 12:08:06 PM EEST> <Notice> <LoggingService> <BEA-320400> <The log file /home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms, such as Windows.>
<Sep 12, 2012 12:08:06 PM EEST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/servers/AdminServer/logs/AdminServer.log00009. Log messages will continue to be logged in /home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/servers/AdminServer/logs/AdminServer.log.>
<Sep 12, 2012 12:08:06 PM EEST> <Notice> <Log Management> <BEA-170019> <The server log file /home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
Sep 12, 2012 12:08:09 PM oracle.security.jps.internal.keystore.file.FileKeyStoreManager openKeyStore
WARNING: Opening of file based keystore failed.
<Sep 12, 2012 12:08:09 PM EEST> <Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-06514: Opening of file based keystore failed.>
<Sep 12, 2012 12:08:09 PM EEST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-06514: Opening of file based keystore failed.
weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-06514: Opening of file based keystore failed.
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:148)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.JpsRuntimeException: JPS-06514: Opening of file based keystore failed.
at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:167)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:369)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.JpsException: JPS-06514: Opening of file based keystore failed.
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPDPService(PolicyUtil.java:2855)
at oracle.security.jps.internal.policystore.PolicyUtil.getPDPService(PolicyUtil.java:3097)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:164)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:369)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06514: Opening of file based keystore failed.
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKeyStore(FileKeyStoreManager.java:374)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:104)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:76)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:66)
at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:157)
Truncated. see log file for complete stacktrace
>
<Sep 12, 2012 12:08:09 PM EEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
<Sep 12, 2012 12:08:09 PM EEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>
<Sep 12, 2012 12:08:09 PM EEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
bash-4.1$Looks to be a cert or keystore issue. How do you have that setup?
-
Help me to add some libraries for WebLogic Portal project
My Web portal project (10.3.2) that was created with Oracle Enterprise pack for Eclipse with some custom configurations:
- Beehive controls
- Beehive netUI
- Struts 1.2
- WebLogic Control Extension 10.2
- full feature for "WebLogic portal"
- "Portal application controld 10.3.2" and "Portal framework beehive adapter" support in WebLogic Portal (optional)
I need these packages to process some user and group informations:
- com.bea.p13n.controls.ejb.usermgmt
- com.bea.p13n.controls.userInfoQuery
- com.bea.portal.tools.security.group
- com.bea.portal.tools.security.user
My problem is impossible to import these package (except: com.bea.p13n.controls.ejb.usermgmt). I've read carefully API Javadoc for these package informations but it cannot help anymore.
Anybody can tell me what libraries should be added to project to solve my problem ?
Thank in advance.
Ps:
This is my screenshot for project configuration:
http://i284.photobucket.com/albums/ll10/docphongm41/screenshot/screenshot.pngThank Kevin.
I've fix my problem by adding some jar files, such as war-classes.jar which can be found in workspace/.metadata/.plugin/oracle.eclipse.tools.weblogic/libraries/wlp-tools-ugm-web-lib_10.3.2_10.3.2/1/WEB-INF/lib
So, I can use UserID class in my source code without any error notification on Eclipse. Everything sound to be okay, but it isnt. When I initialize an UserID object in my pageflow controller class like this:
UserID uid = new UserID("::security:user");
String uname = uid.getUserName();I'll get an exception:
com.bea.netuix.nf.UIControlException: com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: java.lang.NoClassDefFoundError: com/bea/portal/tools/security/user/UserIDI don't know why JVM cannot found my imported class though I've already added library and imported this class to the source. -
AS2 adapter failure: Initialization failure
Hi experts,
We had a message in RWB with this error:
Unable to forward message to JCA adapter. Reason: Fatal exception: com.sap.aii.af.ra.cci.XIDeliveryException: SEEBURGER AS2: AS2 Adapter failure # com.seeburger.dt.security.smime.SMIMEHelper (initialization failure), SEEBURGER AS2: AS2 Adapter failure # com.seeburger.dt.security.smime.SMIMEHelper (initialization failure)
Exception caught by adapter framework: Fatal exception: com.sap.aii.af.ra.cci.XIDeliveryException: SEEBURGER AS2: AS2 Adapter failure # com.seeburger.dt.security.smime.SMIMEHelper (initialization failure), SEEBURGER AS2: AS2 Adapter failure # com.seeburger.dt.security.smime.SMIMEHelper (initialization failure)
Delivery of the message to the application using connection AS2_http://seeburger.com/xi failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Fatal exception: com.sap.aii.af.ra.cci.XIDeliveryException: SEEBURGER AS2: AS2 Adapter failure # com.seeburger.dt.security.smime.SMIMEHelper (initialization failure), SEEBURGER AS2: AS2 Adapter failure # com.seeburger.dt.security.smime.SMIMEHelper (initialization failure): javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIDeliveryException: SEEBURGER AS2: AS2 Adapter failure # com.seeburger.dt.security.smime.SMIMEHelper (initialization failure), SEEBURGER AS2: AS2 Adapter failure # com.seeburger.dt.security.smime.SMIMEHelp
There weren't any errors from sxmb_moni, tried checking the com channels and they seem to be working fine. Any help would be appreciated, thanks in advance.
Regards,
DonnieHi Doonie
Please check your system cache
Please go through this blog
Seeburger AS2 Adapter No binding found for: AS2, http://seeburger.com/xi
Thanks
Abhishek
**Reward points if helpful** -
Error NO_RESOURCES when using Apache Plug-in for Weblogic
Hi all,
LoadModule weblogic_module modules/mod_wl.so
OS.....: OEL 6.3 64 bits
Weblogic Server: 12.1.0.2 (192.168.0.123)
Apache: Apache/2.2.15 (Unix) (192.168.0.149)
I am trying to configure the Apache Plug-in to forward the requests to the Weblogic Server. I already did all the configuration, but when i try to access a page, i get the following error in Apache's error.log:
[Wed Dec 03 18:25:42 2014] [error] [client 192.168.0.149] <649114176419322> weblogic: *******Exception type [NO_RESOURCES] (apr_socket_connect call failed with error=13, host=192.168.0.123, port=7006 ) raised at line 1682 of URL.cpp
[Wed Dec 03 18:25:42 2014] [error] [client 192.168.0.149] weblogic: Trying GET /benefits/ at backend host '192.168.0.123/7006; got exception 'NO_RESOURCES: [os error=13, line 1682 of URL.cpp]: apr_socket_connect call failed with error=13, host=192.168.0.123, port=7006 '
[Wed Dec 03 18:25:44 2014] [error] [client 192.168.0.149] <649114176419322> weblogic: request [/benefits/] did NOT process successfully..................
My httpd.conf if configured as follows:
Listen 8080
LoadModule weblogic_module modules/mod_wl.so
<IfModule mod_weblogic.c>
WeblogicHost 192.168.0.123
WeblogicPort 7006
</IfModule>
<Location /benefits>
SetHandler weblogic-handler
</Location>
When i try to access the app deployed in Weblogic with the following address: "http://192.168.0.149:8080/benefits/" , i get the error mentioned above and the following error is displayed in my browser:
Failure of Web Server bridge:
No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent.
What am i doing wrong?
Thanks in advance.Hi all,
I had some progress... i disabled the firewall (SELinux) on the Apache server. Before, i had just disabled the firewall from the Weblogic Server. Now, when i access the apache server, it redirects (sometimes, actually) the request to my Weblogic Cluster. Let's say that 50% of the time it works and the other 50% i get the error informed previously.
I am using the apache user and the ulimit of this user is:
[apache@vm-apache conf]$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 15915
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 1024
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
From the Apache server (192.168.0.149), when i execute the "culr" command, i get the following message:
[apache@vm-apache conf]$ curl http://192.168.0.123:7006/benefits
<html><head><title>302 Moved Temporarily</title></head>
<body bgcolor="#FFFFFF">
<p>This document you requested has moved temporarily.</p>
<p>It's now at <a href="http://192.168.0.123:7006/benefits/">http://192.168.0.123:7006/benefits/</a>.</p>
</body></html>
The message above represents a OK situation or a problematic one?
Below you can see the last few lines of my Error Log and Access Log:
### error log ###
[Thu Dec 18 20:54:16 2014] [error] [client 192.168.0.123] <340514189468553> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID
[Thu Dec 18 20:54:16 2014] [error] [client 192.168.0.123] <340314189468563> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID
[Thu Dec 18 20:54:17 2014] [error] [client 192.168.0.123] File does not exist: /var/www/html/favicon.ico
[Thu Dec 18 20:54:17 2014] [error] [client 192.168.0.123] File does not exist: /var/www/html/favicon.ico
[Thu Dec 18 20:54:21 2014] [error] [client 192.168.0.123] <340114189468603> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID, referer: http://192.168.0.149:8080/benefits/
[Thu Dec 18 20:54:44 2014] [error] [client 192.168.0.149] <339814189468792> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID
[Thu Dec 18 20:54:44 2014] [error] [client 192.168.0.149] <339814189468792> weblogic: initJVMID: parseClusterServerList failure
[Thu Dec 18 20:54:45 2014] [error] [client 192.168.0.123] <339914189468844> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID, referer: http://192.168.0.149:8080/benefits/servlet
[Thu Dec 18 20:54:45 2014] [error] [client 192.168.0.123] <339914189468844> weblogic: initJVMID: parseClusterServerList failure, referer: http://192.168.0.149:8080/benefits/servlet
[Thu Dec 18 20:54:56 2014] [error] [client 192.168.0.149] <339814189468792> weblogic: request [/benefits/welcome.html] did NOT process successfully..................
[Thu Dec 18 20:54:57 2014] [error] [client 192.168.0.123] <339914189468844> weblogic: request [/benefits/welcome.html] did NOT process successfully.................., referer:http://192.168.0.149:8080/benefits/servlet
### access log ###
192.168.0.123 - - [18/Dec/2014:20:54:15 -0300] "GET /benefits HTTP/1.1" 302 267 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.123 - - [18/Dec/2014:20:54:16 -0300] "GET /benefits/ HTTP/1.1" 200 5832 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.123 - - [18/Dec/2014:20:54:17 -0300] "GET /favicon.ico HTTP/1.1" 404 290 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.123 - - [18/Dec/2014:20:54:17 -0300] "GET /favicon.ico HTTP/1.1" 404 290 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.123 - - [18/Dec/2014:20:54:20 -0300] "POST /benefits/servlet HTTP/1.1" 200 492 "http://192.168.0.149:8080/benefits/" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.149 - - [18/Dec/2014:20:54:39 -0300] "GET /benefits/welcome.html HTTP/1.1" 503 250 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.123 - - [18/Dec/2014:20:54:44 -0300] "GET /benefits/welcome.html HTTP/1.1" 503 250 "http://192.168.0.149:8080/benefits/servlet" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
Is there any additional or recommended configuration for this solution to work properly?
Thanks again for the attention and pacience. -
Possible to create a JAX-WS, session-bean-based webservice for WebLogic 10?
All,
sorry - but I'm going a bit crazy here. I have been unable to figure out the secret hand-shakes for developing a session-bean-based web service that will run properly under Weblogic 10.0. There are examples out there on how to create webservices that exists within a war file - but none that I can find that reside within a session bean (an ear file).
I can't even figure out how to do with this Bea Workshop for WebLogic Platform 10.0! Is this possible? I can't find any examples anywhere on how to do this. I must be missing something...
Does WebLogic 10.0 support web services within session beans? I've figured out how to do this with JBoss, Sun App Server, and Glassfish - but no luck so far with WebLogic.
If anyone can please point me in the proper direction it would be very appreciated. My company likes WebLogic, but we have to be able to do this in order to continue using it.
Thanks,
-johnYeah - I've tried that. Everything builds fine - but when I deploy to WebLogic 10, I get the stack below. It looks like it is looking for the class examples.webservices.jaxws.jaxws.SayHello - but there isn't such a class in the example...
Any thoughts? I'm completely stuck!
<Apr 16, 2007 4:15:45 PM PDT> <Error> <HTTP> <BEA-101216> <Servlet: "WSEE_SERVLET" failed to preload on startup in Web application: "/SimpleEjbImpl".
class: examples.webservices.jaxws.jaxws.SayHello could not be found
at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)
at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)
at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)
at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)
Truncated. see log file for complete stacktrace
>
<Apr 16, 2007 4:15:45 PM PDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1176765341457' for task '0'. Error is: 'weblogic.application.ModuleException: Exception activating module: EJBModule(WL6-ejb.jar)
Unable to deploy EJB: SimpleEjbImpl from WL6-ejb.jar:
Unable to deploy EJB: WL6-ejb.jar from WL6-ejb.jar:
[HTTP:101216]Servlet: "WSEE_SERVLET" failed to preload on startup in Web application: "/SimpleEjbImpl".
class: examples.webservices.jaxws.jaxws.SayHello could not be found
at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)
at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)
at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)
at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)
at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315)
at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125)
at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)
at weblogic.wsee.deploy.WseeWebappModule.activate(WseeWebappModule.java:139)
at weblogic.wsee.deploy.WSEEEjbModule.activate(WSEEEjbModule.java:371)
at weblogic.wsee.deploy.WsEJBDeployListener.activate(WsEJBDeployListener.java:52)
at weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1414)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:423)
at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:381)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:71)
at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:63)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:816)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1223)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:434)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
weblogic.application.ModuleException: Exception activating module: EJBModule(WL6-ejb.jar)
Unable to deploy EJB: SimpleEjbImpl from WL6-ejb.jar:
Unable to deploy EJB: WL6-ejb.jar from WL6-ejb.jar:
[HTTP:101216]Servlet: "WSEE_SERVLET" failed to preload on startup in Web application: "/SimpleEjbImpl".
class: examples.webservices.jaxws.jaxws.SayHello could not be found
at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)
at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)
at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)
at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)
at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315)
at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125)
at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)
at weblogic.wsee.deploy.WseeWebappModule.activate(WseeWebappModule.java:139)
at weblogic.wsee.deploy.WSEEEjbModule.activate(WSEEEjbModule.java:371)
at weblogic.wsee.deploy.WsEJBDeployListener.activate(WsEJBDeployListener.java:52)
at weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1414)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:423)
at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:381)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:71)
at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:63)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:816)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1223)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:434)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:440)
at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:381)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:71)
Truncated. see log file for complete stacktrace
class: examples.webservices.jaxws.jaxws.SayHello could not be found
at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)
at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)
at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)
at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)
Truncated. see log file for complete stacktrace
>
<Apr 16, 2007 4:15:46 PM PDT> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application '_appsdir_WL6_ear'.>
<Apr 16, 2007 4:15:46 PM PDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application '_appsdir_WL6_ear'.>
<Apr 16, 2007 4:15:46 PM PDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: Exception activating module: EJBModule(WL6-ejb.jar)
Unable to deploy EJB: SimpleEjbImpl from WL6-ejb.jar:
Unable to deploy EJB: WL6-ejb.jar from WL6-ejb.jar:
[HTTP:101216]Servlet: "WSEE_SERVLET" failed to preload on startup in Web application: "/SimpleEjbImpl".
class: examples.webservices.jaxws.jaxws.SayHello could not be found
at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)
at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)
at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)
at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)
at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315)
at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125)
at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)
at weblogic.wsee.deploy.WseeWebappModule.activate(WseeWebappModule.java:139)
at weblogic.wsee.deploy.WSEEEjbModule.activate(WSEEEjbModule.java:371)
at weblogic.wsee.deploy.WsEJBDeployListener.activate(WsEJBDeployListener.java:52)
at weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1414)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:423)
at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:381)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:71)
at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:63)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:816)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1223)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:434)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:440)
at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:381)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:71)
Truncated. see log file for complete stacktrace
class: examples.webservices.jaxws.jaxws.SayHello could not be found
at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)
at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)
at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)
at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)
Truncated. see log file for complete stacktrace
> -
CMP support for Weblogic 8 in Oracle 10g?
Is the CMP support for Weblogic 8 included in Oracle Toplink 10g?
I am using 10g and have problem compiling CMP EJB for WL 8.1. I got the following exception:
Exception in thread "main" java.lang.NoSuchMethodError: weblogic.ejb20.persistence.spi.RoleSource.getName()Ljava/lang/String;
at oracle.toplink.internal.ejb.cmp.wls.WlsDescriptorBuilder.getEjbNameForRoleSource(WlsDescriptorBuilder.java:219)
at oracle.toplink.internal.ejb.cmp.wls.WlsDescriptorBuilder.buildRelationshipRoleDescriptor(WlsDescriptorBuilder.java:206)
at oracle.toplink.internal.ejb.cmp.wls.WlsDescriptorBuilder.buildRelationshipDescriptors(WlsDescriptorBuilder.java:177)
at oracle.toplink.internal.ejb.cmp.wls.WlsDescriptorBuilder.buildRelationships(WlsDescriptorBuilder.java:157)
at oracle.toplink.internal.ejb.cmp.api.impl.DescriptorBuilder.buildDescriptor(DescriptorBuilder.java:153)
at oracle.toplink.internal.ejb.cmp.wls.WlsDescriptorBuilder.addOldDescriptors(WlsDescriptorBuilder.java:33)
at oracle.toplink.internal.ejb.cmp.wls.WlsProjectDeployment.convertOldEntityDescriptors(WlsProjectDeployment.java:65)
at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.initialize(PersistenceManagerBase.java:72)
at oracle.toplink.internal.ejb.cmp.wls.WlsCMPDeployer.initializePersistenceManager(WlsCMPDeployer.java:135)
at weblogic.ejb20.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:112)
at weblogic.ejb20.ejbc.EJB20CMPCompiler.generatePersistenceSources(EJB20CMPCompiler.java:64)
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:245)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
at weblogic.ejbc20.runBody(ejbc20.java:519)
at weblogic.utils.compiler.Tool.run(Tool.java:146)
at weblogic.utils.compiler.Tool.run(Tool.java:103)
at weblogic.ejbc.main(ejbc.java:29)
I looked in the weblogic.ejb20.persistence.spi.RoleSource class and see the method getEjbName, but no method getName found. What am I missing ? Thanks
-Tuan
Maybe you are looking for
-
When I look at the task manager it is not listed at all. It will work if I restart my computer.
-
Edit mode causing screen trouble/computer freeze
When I am in iPhoto edit mode, inevitably at some point one or both of these will happen - the monitor screen will begin "mosaicing", starting with small color blocks in random places, and spreading over the entire screen. Sometimes everything freeze
-
What is the hash code of an object? What does hash code mean?
-
Score editor: beamed grace notes
Hi, I usually do this in order to create beamed grace notes: "If you want to create beamed grace notes, try using a polyphonic staff style (see "Adding Staffs to a Staff Style" on page 747) with no rests displayed for the second voice. Assign the des
-
When I plot multiple waveforms, or multiple traces on an XY plot, the final plot is "underneath" the ones that came before. In LV 12.x, can I change the plot order, other than by changing the order of the elements in array used to make the plot? (C