Sporadic issues while starting SOA suite
Hi All,
I Installed successfully the SOA suite and am able to do all the development in ESB and able to registered the services in ESB. some time while starting the SOA suite am seeing randomly the ESBconssle,Application server console and BPEL console are not coming up.
Am getting the following error in Log.
<2008-02-18 13:52:44,650> <ERROR> <collaxa> <ProcessJob::execute> Timed out reading http://localhost:8889/orabpel
<2008-02-18 13:52:44,650> <ERROR> <collaxa> <ProcessJob::execute> Attempt (1/15) ... failed to connect ... retrying in 5 seconds ...
<2008-02-18 13:53:08,794> <ERROR> <collaxa> <ProcessJob::execute> Timed out reading http://USHYDASAHAYARA2:8889
<2008-02-18 13:53:47,380> <ERROR> <collaxa> <ProcessJob::execute> Timed out reading http://USHYDASAHAYARA2:8889/orabpel
<2008-02-18 13:54:26,817> <ERROR> <collaxa> <ProcessJob::execute> Timed out reading http://172.21.48.196:8889/orabpel
<2008-02-18 13:54:43,391> <ERROR> <collaxa> <ProcessJob::execute> Timed out reading http://USHYDASAHAYARA2.us.deloitte.com:8889/orabpel
<2008-02-18 13:55:00,085> <ERROR> <collaxa> <ProcessJob::execute> Timed out reading http://localhost:8889/orabpel
This is not happening always.. Some time it's working fine This is happening randomly. When ever it happens am able to connect to Application sever through JDdeveloper but am able to open in IE.
Can you guys throw light on this..
Regards
Antony.
In your error-stack you can notice that different host-names are used for your environment, sometimes localhsost, sometimes the ip-address and sometimes the computer-name with our without domain-specification.
Depending on your proxy settings in Jdeveloper and your build.xml files of your esb- and bpel-processes your host-name is filled in automatically.
Maybe it's best practice to check your configuration settings in your EM on application server level and check that all your components make use of the same hostname.
Kind regards,
Nathalie
Similar Messages
-
Errors while Starting SOA Suite and Unable to login to BPEL Control
Hi,
I installed SOA Suite 10g Release 3 on my laptop and I have Windows XP operating system on my laptop.
I am trying to login to BPEL control.
I did following steps.
a) started SOA Suite (Mid tier status is showing as 100%) but OC4JGroup:default_group status is showing as Init and ASG status as Down.
b) I tried to login to BPEL control by entering user id: oc4jadmin and password I entered while installing SOA Suite, BPEL control is giving me error message invalid user name or password.
I tried to build CreditRatingService using BPEL developer prompt.
Select Start > All Programs > Oracle - Oracle_Home > Oracle BPEL Process Manager > Developer Prompt to open up a command prompt at the SOA_Oracle_Home\bpel\samples directory.
Changed directories to the utils\CreditRatingService subdirectory:
cd utils\CreditRatingService
Entered the following command: ant
I got message:BUILD FAILED and Authentication failed for user oc4jadmin on host.
Regards,
Shanti Nagulapalli.OPMN Log
08/11/10 15:14:16 [ons-internal] ONS server initiated
08/11/10 15:14:16 [pm-internal] Create pm state directory: D:\product\10.1.3.1\OracleAS_1\opmn\logs\states
08/11/10 15:14:16 [pm-internal] PM state file does not exist: D:\product\10.1.3.1\OracleAS_1\opmn\logs\states\.opmndat
08/11/10 15:14:16 [pm-internal] OPMN server ready. Request handling enabled.
08/11/10 15:14:21 [pm-requests] Request 2 Started. Command: /start
08/11/10 15:14:21 [pm-process] Starting Process: default_group~home~default_group~1 (370676281:0)
08/11/10 15:14:50 [pm-process] Process Alive: default_group~home~default_group~1 (370676281:5528)
08/11/10 15:14:50 [pm-requests] Request 2 Completed. Command: /start
08/11/10 15:17:27 [pm-requests] Request 17 Started. Command: /stop?process-type=home
08/11/10 15:17:27 [pm-process] Stopping Process: default_group~home~default_group~1 (370676281:5528)
08/11/10 15:17:33 [pm-requests] Request 17 Completed. Command: /stop?process-type=home
08/11/10 15:17:33 [pm-process] Process Stopped: default_group~home~default_group~1 (370676281:5528)
08/11/10 15:17:34 [pm-requests] Request 19 Started. Command: /start?process-type=home
08/11/10 15:17:34 [pm-process] Starting Process: default_group~home~default_group~1 (370676282:0)
08/11/10 15:17:34 [libopmnoc4j] Attempt to obtain port of type: default-web-site failed for an OC4J process
08/11/10 15:17:34 [libopmnoc4j] Attempt to get ports for proc: 370676282 failed
08/11/10 15:17:34 [libopmnoc4j] Process Start Error: default_group~home~default_group~1 (370676282:0)
08/11/10 15:17:34 [libopmnoc4j] An error occurred while building the start command
08/11/10 15:17:34 [pm-process] Starting Process: default_group~home~default_group~1 (370676282:0)
08/11/10 15:17:43 [pm-process] Process Alive: default_group~home~default_group~1 (370676282:6052)
08/11/10 15:17:43 [pm-requests] Request 19 Completed. Command: /start?process-type=home
08/11/10 15:19:52 [pm-requests] Request 32 Started. Command: /stop?process-type=home
08/11/10 15:19:52 [pm-process] Stopping Process: default_group~home~default_group~1 (370676282:6052)
08/11/10 15:19:58 [pm-requests] Request 32 Completed. Command: /stop?process-type=home
08/11/10 15:19:58 [pm-process] Process Stopped: default_group~home~default_group~1 (370676282:6052)
08/11/10 15:19:59 [pm-requests] Request 34 Started. Command: /start?process-type=home
08/11/10 15:19:59 [pm-process] Starting Process: default_group~home~default_group~1 (370676283:0)
08/11/10 15:19:59 [libopmnoc4j] Attempt to obtain port of type: default-web-site failed for an OC4J process
08/11/10 15:19:59 [libopmnoc4j] Attempt to get ports for proc: 370676283 failed
08/11/10 15:19:59 [libopmnoc4j] Process Start Error: default_group~home~default_group~1 (370676283:0)
08/11/10 15:19:59 [libopmnoc4j] An error occurred while building the start command
08/11/10 15:19:59 [pm-process] Starting Process: default_group~home~default_group~1 (370676283:0)
08/11/10 15:20:13 [pm-process] Process Alive: default_group~home~default_group~1 (370676283:5388)
08/11/10 15:20:13 [pm-requests] Request 34 Completed. Command: /start?process-type=home
08/11/10 15:22:36 [pm-requests] Request 66 Started. Command: /stop
08/11/10 15:22:36 [pm-process] Stopping Process: default_group~home~default_group~1 (370676283:5388)
08/11/10 15:22:52 [pm-requests] Request 66 Completed. Command: /stop
08/11/10 15:22:52 [pm-process] Process Stopped: default_group~home~default_group~1 (370676283:5388)
08/11/10 15:22:53 [pm-internal] OPMN server stopped. Request handling disabled.
08/11/10 15:22:53 [pm-requests] Request 68 Started. Command: /reload
08/11/10 15:22:54 [internal] Logging disabled
08/11/10 15:22:54 [ons-internal] ONS server initiated
08/11/10 15:22:54 [pm-internal] PM state directory exists: D:\product\10.1.3.1\OracleAS_1\opmn\logs\states
08/11/10 15:22:54 [pm-internal] OPMN server ready. Request handling enabled.
08/11/10 15:22:55 [pm-requests] Request 3 Started. Command: /start
08/11/10 15:22:55 [pm-process] Starting Process: default_group~home~default_group~1 (370676284:0)
08/11/10 15:24:15 [pm-process] Process Alive: default_group~home~default_group~1 (370676284:592)
08/11/10 15:24:15 [pm-requests] Request 3 Completed. Command: /start
08/11/10 16:50:47 [libopmnoc4j] Process Ping Failed: default_group~home~default_group~1 (370676284:592)
08/11/10 22:56:05 [ons-internal] ONS server initiated
08/11/10 22:56:05 [pm-internal] PM state directory exists: D:\product\10.1.3.1\OracleAS_1\opmn\logs\states
08/11/10 22:56:05 [pm-internal] OPMN server ready. Request handling enabled.
08/11/10 22:56:05 [pm-process] Starting Process: default_group~home~default_group~1 (370676285:0)
08/11/10 22:56:08 [pm-requests] Request 5 Started. Command: /start
08/11/10 22:56:08 [pm-requests] Request 5 Completed. Command: /start
08/11/10 22:57:56 [pm-process] Process Alive: default_group~home~default_group~1 (370676285:3464)
08/11/11 13:53:16 [ons-internal] ONS server initiated
08/11/11 13:53:16 [pm-internal] PM state directory exists: D:\product\10.1.3.1\OracleAS_1\opmn\logs\states
08/11/11 13:53:16 [pm-internal] OPMN server ready. Request handling enabled.
08/11/11 13:53:16 [pm-process] Starting Process: default_group~home~default_group~1 (370676286:0)
08/11/11 13:53:20 [pm-requests] Request 5 Started. Command: /start
08/11/11 13:53:20 [pm-requests] Request 5 Completed. Command: /start
08/11/11 13:55:00 [pm-process] Process Alive: default_group~home~default_group~1 (370676286:920)
08/11/11 22:48:08 [ons-internal] ONS server initiated
08/11/11 22:48:08 [pm-internal] PM state directory exists: D:\product\10.1.3.1\OracleAS_1\opmn\logs\states
08/11/11 22:48:08 [pm-internal] OPMN server ready. Request handling enabled.
08/11/11 22:48:08 [pm-process] Starting Process: default_group~home~default_group~1 (370676287:0)
08/11/11 22:48:12 [pm-requests] Request 5 Started. Command: /start
08/11/11 22:48:12 [pm-requests] Request 5 Completed. Command: /start
08/11/11 22:50:35 [pm-process] Process Alive: default_group~home~default_group~1 (370676287:3512)
08/11/12 09:27:40 [libopmnoc4j] Process Ping Failed: default_group~home~default_group~1 (370676287:3512)
Regards,
Shanti Nagulapalli. -
Error while starting SOA suite
Hi All,
i am unable to start SOA suite it is giving a error saying OPMN error
how to come out of this
Configuration information
Running in C:\product\10.1.3.1\OracleAS_2
Operation mode:Startup, App Server, No Enterprise Manager, Single Instance
Oracle home:C:\product\10.1.3.1\OracleAS_2
Oracle home name:Unnamed
Instance name:ciscoSOA1.tarlagad-wxp
Instance type:allProducts
Version:10.1.3.1.0
Uses infrastructure:false
Not an infrastructure instance, no infrastructure information available
Components:[j2ee, orabpel, oraesb, owsm, Wsil]
2007-05-02 02:02:21.973--Begin log output for Mid-tier services (ciscoSOA1.tarlagad-wxp)
2007-05-02 02:02:21.973--Processing Step: starting OPMN
2007-05-02 02:02:33.648--End log output for Mid-tier services (ciscoSOA1.tarlagad-wxp)
OPMN has thrown an unknown exception
oracle.appserver.startupconsole.model.ConsoleException: OPMN has thrown an unknown exception
at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:108)
at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:30)
at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
at oracle.appserver.startupconsole.view.Runner.main(Runner.java:39)
Caused by: oracle.ias.opmn.optic.OpticBadRequestException: Error starting opmn server: 2
at oracle.ias.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:147)
at oracle.ias.opmn.optic.OpmnAdmin.startOpmnServer(OpmnAdmin.java:77)
at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:90)
... 6 more
Exception caused by
Error starting opmn server: 2
oracle.ias.opmn.optic.OpticBadRequestException: Error starting opmn server: 2
at oracle.ias.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:147)
at oracle.ias.opmn.optic.OpmnAdmin.startOpmnServer(OpmnAdmin.java:77)
at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:90)
at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:30)
at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
at oracle.appserver.startupconsole.view.Runner.main(Runner.java:39)Hi,
do you use DHCP on your server? -
Issue in starting soa suite 10g server in win 7
Hi All,
I recently upgraded my personal laptop to a new laptop with win 7 and hence trying to install all my oracle software from my old laptop to new one.
So far I have installed the following software - Oracle Developer Suite 10g, Oracle XE 11g, Oracle jDev Studio 11g ADF, Oracle Soa Suite 10g
All installation are working fine except the "Oracle Soa Suite 10g".
After installation, the server is starting fine and I am able to log into the Oracle Application Server 10g EM console.
But when I restart my system, I am not able to start the soa suite 10g.
If I run the "opmnctl start" from command line, a new command window is opening and closing immediately.
I am not able to find out the issue.
Can somebody please help me to identify the issue?
While installing the soa suite 10g, I had set the compatibility settings to "Win XP Service Pack 3", which was there in my old laptop.
Kindly help.
Thanks and Regards,
JannyHi All,
I recently upgraded my personal laptop to a new laptop with win 7 and hence trying to install all my oracle software from my old laptop to new one.
So far I have installed the following software - Oracle Developer Suite 10g, Oracle XE 11g, Oracle jDev Studio 11g ADF, Oracle Soa Suite 10g
All installation are working fine except the "Oracle Soa Suite 10g".
After installation, the server is starting fine and I am able to log into the Oracle Application Server 10g EM console.
But when I restart my system, I am not able to start the soa suite 10g.
If I run the "opmnctl start" from command line, a new command window is opening and closing immediately.
I am not able to find out the issue.
Can somebody please help me to identify the issue?
While installing the soa suite 10g, I had set the compatibility settings to "Win XP Service Pack 3", which was there in my old laptop.
Kindly help.
Thanks and Regards,
Janny -
Issue while starting SOA 11G BAM server
Hi ,
I have installed SOA 11G( 11.1.1.5.0 ) . I am trying to start BAM server . It is waiting for longer time while coming to the below mentioned log location
<Dec 23, 2011 2:09:13 PM IST> <Warning> <oracle.sdp.messaging.driver.base> <SDP-26024> <Registration of driver Email-Driver did not complete; will retry periodically until messaging server responds.>
Please anyone help me to start the BAM Server quickly.
Thanks in Advance,
SabaI am also getting the same issue. Can someone let me know why is this issue happening.
-
Issue while installing SOA Suite
Hi,
I am trying to install SOA 11.1.1.4 in my machine. I already installed webllogic 10.3.4 in my system and when I am running through the GUI , the installer is not
allowing me to select "Weblogic Server " in Application Server section. Websphere is selected my default and I am not able to change it to weblogic server.
Is there any file where I can make changes to stop it from taking websphere as default option.
Regards,
Vikas ManchandaHi Vikas,
I believe it has been set correctly coz unless it points to the right home, it won't allow me to go the next screenThis is not the case.
If the installer detects a Middleware home with Oracle WebLogic Server installed, then this is the application server that will be used. All other fields in this screen will be inactive.
If the installer detects a Middleware home without an Oracle WebLogic Server installed, you must select one of the application server options and then provide its location in the Application Server Location field.
If the installer does not detect a Middleware home directory, the "WebLogic Server" option will be inactive. You must select "WebSphere" and then provide the location of your IBM WebSphere in the Application Server Location field.
Please refer -
http://download.oracle.com/docs/cd/E17904_01/doc.1111/e13925/install_screens.htm#BABEDFHH
Regards,
Anuj -
Hi,
I am facing a problem while starting SOA Suite. I have it installed on top of a 10gR2 database. Whenever i start it , its component start in init mode. I have to shut it down and restrt to bring them to alive status. This behaviour is consistent.
Earlier i thought its because of my DB install, but recently came to know my other colleagues with a basic install (Olite) are also facing the same issue.
Is this a bug or is there a patch for it ?
Thanks in advanceDid you install the SOA suite against the 'localhost' on your workstation. It could that i tries to resolve the hostname of your machine that is not in the DNS. Add your hostname in your local hosts file.
-
'Start SOA Suite' fails after laptop restart.
Hi I have an issue starting SOA Suite on a laptop running vista.
I installed SOA Suite 10.1.3.1 this completed successfully including config assistants.
Have added JDK1.5.15, (added new JDK to C:\product\10.1.3.1\OracleAS_1)
From the start menu select 'Start SOA suite'..
This originally worked fine and I could see all the correct BPEL Console windows etc..
I then restarted my machine and I get the following when attempting to 'Start SOA Suite'..
A box pops up 'Starting Oracle application server'.. However when we get to 67% started, we get the following
There are some errors while stopping the following components. Refer to the generated error report for more details.
==================================================
ias-component: default_group
process-type: home
process-set: default_group
Error Message:failed to start a managed process after the maximum retry limit
==================================================
when I view the log file in \opmn\logs\ we see the error
08/06/03 13:33:44 Start process
Error occurred during initialization of VM
Could not reserve enough space for object heap
08/06/03 13:33:46 Start process
Error occurred during initialization of VM
Could not reserve enough space for object heap
08/06/03 13:33:48 Start process
Error occurred during initialization of VM
Could not reserve enough space for object heap
Does anyone have an idea about this error
BTW: I am running DHCP also which may be an issue..
Cheers
WillI have tried the installation again having done the follwoing as recommended:
1.Disabled IPv6 on the loopback adapter by going to control panel -> network and sharing centre -> view status on loopback network-> Click on properties in status window - > uncheck the ipv4 item
2. Removed the ::1 localhost entry from the hosts file
3. Restarted
4. Tried advanced installation onto XE DB
This still does not work !!
I now get the Oracle application server config assistant failing with:
================================================================================================================
Output generated from configuration assistant "Oracle Application Server Configuration Assistant":
java.lang.NoClassDefFoundError: oracle/sysman/ias/studio/installer/ASControlConfigAssistant
Exception in thread "main"
Configuration assistant "Oracle Application Server Configuration Assistant" failed
================================================================================================================
.. As this is optional the config assistant moves onto the following assistants however it STILL fails on the BPEL Process manager Config assistant with the same
Failed at "Could not get DeploymentManager".
This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
Configuration assistant "Oracle BPEL Process Manager Configuration Assistant" was canceled.
Why is this not working I seem to have do all steps recommended any ideas would be appreciated
Thanks again
Will -
Error while starting Soa Managed server on weblogic11g
Hi All,
I am facing one issue while starting the soa managed server on weblogic11g.
it gives error like :
"<Error> <Socket> <BEA-000405> <Uncaught Throwable in processSockets
java.lang.NoClassDefFoundError: java/lang/IOException.
java.lang.NoClassDefFoundError: java/lang/IOException
What can be done to get over this issue & start the soa server ???
Thanks & Regards,
NupurHi,
Full stack trace of log is :
<Apr 12, 2011 7:04:19 AM IST> <Error> <Socket> <BEA-000405> <Uncaught Throwable in processSockets
java.lang.NoClassDefFoundError: java/lang/IOException.
java.lang.NoClassDefFoundError: java/lang/IOException
at jrockit.ext.epoll.EPoll.epollCtl0(Native Method)
at jrockit.ext.epoll.EPoll.epollEnableOneshot(EPoll.java:87)
at weblogic.socket.EPollSocketMuxer.read(EPollSocketMuxer.java:84)
at weblogic.socket.BaseAbstractMuxableSocket.dispatch(BaseAbstractMuxableSocket.java:302)
at weblogic.socket.MuxableSocketDiscriminator.dispatch(MuxableSocketDiscriminator.java:177)
Truncated. see log file for complete stacktrace
>
<Apr 12, 2011 7:04:41 AM IST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'soademoDatabase1' due to error weblogic.application.ModuleException: .
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:508)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
Truncated. see log file for complete stacktrace
Caused By: weblogic.common.ResourceException: ORA-28001: the password has expired
at weblogic.jdbc.common.internal.XAConnectionEnvFactory.makeConnection(XAConnectionEnvFactory.java:479)
at weblogic.jdbc.common.internal.XAConnectionEnvFactory.createResource(XAConnectionEnvFactory.java:173)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1193)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1117)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:244)
Truncated. see log file for complete stacktrace
Apr 12, 2011 7:05:49 AM IST> <Error> <Socket> <BEA-000405> <Uncaught Throwable in processSockets
java.lang.NoClassDefFoundError: java/lang/IOException.
java.lang.NoClassDefFoundError: java/lang/IOException
at jrockit.ext.epoll.EPoll.epollCtl0(Native Method)
at jrockit.ext.epoll.EPoll.epollEnableOneshot(EPoll.java:87)
at weblogic.socket.EPollSocketMuxer.read(EPollSocketMuxer.java:84)
at weblogic.socket.BaseAbstractMuxableSocket.dispatch(BaseAbstractMuxableSocket.java:302)
at weblogic.socket.MuxableSocketDiscriminator.dispatch(MuxableSocketDiscriminator.java:177)
Truncated. see log file for complete stacktrace
<Apr 12, 2011 7:05:53 AM IST> <Warning> <oracle.sdp.messaging.driver.base> <SDP-26024> <Registration of driver Email-Driver did not complete; will retry periodically until messaging server responds.>
<Apr 12, 2011 7:05:56 AM IST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'FtpAdapter' due to error weblogic.application.ModuleException: weblogic.connector.exception.RAException: Jndi Name is null or empty..
weblogic.application.ModuleException: weblogic.connector.exception.RAException: Jndi Name is null or empty.
at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:224)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:508)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
Truncated. see log file for complete stacktrace
No this is not a clustered environment.
yeah but under domains there are two domains we have created.
i.e. domains/ domain1 domain2
both are having soa servers as managed server.
in one domain soa is up but in domain2 it is not getting up causing above errors while starting.
FYI : It is causing problem now only.. before this , soa server on both the server have been up & running simultaneously.
Regards,
Nupur -
Facing Issue With Oracle SOA Suite 11.1.1.3.0
Hi All,
I am facing some issues with ORACLE SOA SUITE 11.1.1.3.0.
Hope you people can help us out.
Please find the issue details below along with all the relevant information’s
I have following SOA suite installation at my server:
Oracle 10g Express Edition Universal 10.2.0.1
RCU 11.1.1.3.3
Web Logic Server 10.3.3.0
SOA suite 11.1.1.3.0
JDeveloper 11.1.1.3.0
The first thing what I have done is created a web service and deployed it to server without any issue.
After that I created proxy client for that service and accessed it successfully from the client end.
Till here no issue occurs.
After that I applied few policies on top of web service and deployed it to server.
The policy I had chosen was “oracle/wss_username_token_service_policy” [coming under OWSM policies list]
While deploying there was no issue, all went well.
2nd step I had created client using “oracle/wss_username_token_client_policy” policy which is counter part of above policy and tried to access the web service but failed.
I have followed this blog:
[http://biemond.blogspot.com/2010/08/things-you-need-to-do-for-owsm-11g.html ]
Please have a look on service and client code:
Service Code:
package Demo_ScoreCard;
import javax.jws.WebService;
import weblogic.wsee.jws.jaxws.owsm.SecurityPolicy;
@WebService
@SecurityPolicy(uri = "oracle/wss_username_token_service_policy")
public class ScoreCardWithPolicy {
public double getPercentageWithPolicy(double markEng,double markMath,double markHindi,double markScience,double markSsc)
double result;
result= ((markEng+markHindi+markMath+markScience+markSsc)/500)*100;
return result;
Client Code:
package com.tec.proxy.client;
import java.util.Map;
import javax.xml.ws.BindingProvider;
import javax.xml.ws.WebServiceRef;
import weblogic.wsee.jws.jaxws.owsm.SecurityPolicyFeature;
public class ScoreCardWithPolicyPortClient {
@WebServiceRef
private static ScoreCardWithPolicyService scoreCardWithPolicyService;
public static void main(String[] args) {
scoreCardWithPolicyService = new ScoreCardWithPolicyService();
SecurityPolicyFeature[] securityFeatures =new SecurityPolicyFeature[] { new SecurityPolicyFeature("oracle/wss_http_token_client_policy") };
ScoreCardWithPolicy scoreCardWithPolicy =scoreCardWithPolicyService.getScoreCardWithPolicyPort(securityFeatures);
Map<String, Object> reqContext =((BindingProvider)scoreCardWithPolicy).getRequestContext();
reqContext.put(BindingProvider.USERNAME_PROPERTY, "testclient");
reqContext.put(BindingProvider.PASSWORD_PROPERTY, "test12345"); // I have added this to the myrealm from console under security realms
double arg1 = 77.2;
double arg2 = 79.2;
double arg3 = 77.2;
double arg4 = 76.2;
double arg5 = 67.2;
double clientResult =scoreCardWithPolicy.getPercentageWithPolicy(arg1, arg2, arg3, arg4,arg5);
System.out.println("clientResult with policy =====> " + clientResult);
Error Log:
SEVERE: WSM-07617 Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
SEVERE: WSMAgentHook: An Exception is thrown: WSM-07617 Policy Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
Exception in thread "main" javax.xml.rpc.JAXRPCException: oracle.wsm.common.sdk.WSMException: WSM-07617 Policy Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
at oracle.wsm.agent.handler.wls.WSMAgentHook.handleException(WSMAgentHook.java:395)
at oracle.wsm.agent.handler.wls.WSMAgentHook.init(WSMAgentHook.java:206)
at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.newHandler(TubeFactory.java:105)
at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.createClient(TubeFactory.java:68)
at weblogic.wsee.jaxws.WLSTubelineAssemblerFactory$TubelineAssemblerImpl.createClient(WLSTubelineAssemblerFactory.java:148)
at com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.java:467)
at com.sun.xml.ws.client.WSServiceDelegate.getStubHandler(WSServiceDelegate.java:689)
at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:667)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:362)
at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.internalGetPort(WLSProvider.java:855)
at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate$PortClientInstanceFactory.createClientInstance(WLSProvider.java:967)
at weblogic.wsee.jaxws.spi.ClientInstancePool.takeSimpleClientInstance(ClientInstancePool.java:621)
at weblogic.wsee.jaxws.spi.ClientInstancePool.take(ClientInstancePool.java:486)
at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:782)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:344)
at javax.xml.ws.Service.getPort(Service.java:133)
at com.tec.proxy.client.ScoreCardWithPolicyService.getScoreCardWithPolicyPort(ScoreCardWithPolicyService.java:86)
at com.tec.proxy.client.ScoreCardWithPolicyPortClient.main(ScoreCardWithPolicyPortClient.java:23)
Process exited with exit code 1.
Not getting any help from any blog. Just wondering why this error is coming. I would be glad if you can help us in this regard.
Apart from above issue I have few queries like:
1.What is difference between OWSM policies and WLS policies?
2.Are these the only policies we can apply on top of services?
3.If some one wants to configure his own custom policies than what need to be done
4.Could anyone please provide some useful links to implement ENCYPTION and SIGNATURE on top of web services?
5.And If I am not wrong, I guess Oracle Service BUS OSB 11.1.1.3 has been removed from the main download link and version 11.1.1.4 has been provided. Is it
compatible with SOA suite 11.1.1.3.0? If not where can I get OSB 11.1.1.3?
Looking forward to hear from you people.
Thanks
Arvind
Edited by: user8490871 on Apr 15, 2011 12:53 AM
Edited by: user8490871 on Apr 15, 2011 12:53 AMHi,
I don't know why u get an error. Here are answers for additional questions:
1. OWSM policies are for web services. WLS policies are based on Java EE security. They are used to protect resources e.g. URL, EJB
2. I don't know about other policies
3. See http://download.oracle.com/docs/cd/E14571_01/web.1111/e13713/owsm_appendix.htm#CHDCHFBH
4. See http://download.oracle.com/docs/cd/E14571_01/security.1111/e10037/toc.htm
5. I can see OSB 11.1.1.3 download link here
http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html
Regards,
Milan -
hi
when i start soa suite, this error show and in 67% stoped.
There are some errors while stopping the following components. Refer to the generated error report for more details.
==================================================
ias-component: default_group
process-type: home
process-set: default_group
Error Message:failed to start a managed process after the maximum retry limit
================================================
please help me.
thanksHi,
Check the default island log. It would be available in the following location.
$oracle_home\opmn\logs
Name of the log file will be similar to the following:
default_group~home~xxxxxxxxxxxxxxx1.log
-Siva -
Hi
i install basic soa suite.when i start soa suite see init in opmn status and soa suite not work and my browser show can not display page.
i should stop soa suite and start again for more one. and then see alive and soa suite work.
can you help me?Hello Dietrich,
I am having similar issue with Windows SOA suite. Nothing special in opmn log.
Here is something to add: it shows init status and opmnctl startall directly return to the command prompt. If I really wait long enough e.g. 10 min or so, then it does really start. user636779, can you confirm if you are also getting such behaviour?
But if I do opmnctl shutdown, and then opmnctl startall, this commands doesn't return till entire soasuite is up.
- I have seen this in windows in pretty much every single installation, and quite a few times in Linux.
Let me know if you have any thought.
Regards.,
Chintan -
DHCP cofiguration error while installing SOA suit 10.1.3
Hi can any one suggest how to resolve DHCP cofiguration error while installing SOA suit 10.1.3. I have win7 but getting this error . Please sort out................
platGroup = WINDOWS
Query Returned: true
Calling Query soaNetQueries1.0 isDhcp
Query Returned: true
Calling Query soaNetQueries1.0 isLoopback
Query Returned: false
A DHCP configuration was detected on this host. The installer also detected that the local hostname and the network hostname differ. Please resolve the networking issues by referring the "Installing on DHCP Computers" section in the installation guide.
Calling Query generalQueries10.1.0.3.0 getInstallType
Query Returned: allProducts
Calling Query generalQueries10.1.0.3.0 getInstallType
Query Returned: allProducts
Calling Query generalQueries10.1.0.3.0 getInstallType
Query Returned: allProducts
Calling Query generalQueries10.1.0.3.0 getInstallType
Query Returned: allProducts
*** Specify Database Connect Information Page***
Warning:*** Alert: Do you really want to exit? ***
User Selected: Yes/OK
User Exit
This is the error i am getting i have gone through docs also but did not able to resolve it i have window-7 platform can we install on this 10.1.3.........or i have to follow some other method as i am getting this error........ -
OIM 11gR2: Error while starting SOA and OIM Server
I have configured 2 OIM Applications hosted on 2 different linux hosts but connecting to one Oracle DB.
Done OIM installation and configuration on HOST1 and it is successful.
now while performing on HOST2,all similar steps have been followed as same on HOST1 except the Database keystore step (copied files while configuring OIM), I am encountering an error while starting SOA server and OIM server.
Error :
2012-10-19T11:49:07.172-07:00] [soa_server2] [NOTIFICATION] [JPS-04093] [oracle.jps.deployment] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 1350dfc6c17c1b80:336be4f6:13a7a59774c:-8000-0000000000000004,0] [APP: soa-infra] Application policy migration for application soa-infra is completed successfully.
[2012-10-19T11:49:16.901-07:00] [soa_server2] [ERROR] [] [oracle.mds] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 1350dfc6c17c1b80:336be4f6:13a7a59774c:-8000-0000000000000004,0] [APP: soa-infra] [[
oracle.mds.lcm.exception.MDSLCMException: MDS-01330: unable to load MDS configuration document
MDS-01329: unable to load element "persistence-config"
MDS-01370: MetadataStore configuration for metadata-store-usage "soa-infra-store" is invalid.
MDS-00929: unable to look up name "jdbc/mds/MDS_LocalTxDataSource" in JNDI context
Unable to resolve 'jdbc.mds.MDS_LocalTxDataSource'. Resolved 'jdbc.mds'
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document
MDS-01329: unable to load element "persistence-config"
MDS-01370: MetadataStore configuration for metadata-store-usage "soa-infra-store" is invalid.
MDS-00929: unable to look up name "jdbc/mds/MDS_LocalTxDataSource" in JNDI context
Unable to resolve 'jdbc.mds.MDS_LocalTxDataSource'. Resolved 'jdbc.mds'
Please help, thanksHi
Did you use pack and unpack command for configuration?
Creating and Starting a Managed Server on a Remote Machine - 11g Release 1 (10.3.6)
Regards
Shashank k -
Starting SOA Suite server in debug mode
Hello,
anyone knows how to start soa suite server on debug mode?
it basically oc4j server started from opmn. is there anyway i can pass the "-ojvm -XXdebug,port4000,detached,quiet" to opmn?
Rudisolved..!!!
http://download.oracle.com/docs/cd/B31017_01/web.1013/b28950/sysprops.htm#CHDCFADJ
Maybe you are looking for
-
Batch Input with transaction ME58
Hello SAP: We are trying to do a Batch Input Session with transaction ME58 (Creating Service Entry Sheets) by using a FrameWork Order. After the batch input selects the purchase order and mark all the requisitions related with that order and confirms
-
To define a Header condition in pricing !!!
Hi guys , I would like to know,how do we set the condition type as header . Does marking the header condition checkbox in Changes which can be made screen , sets the condition type as header condition ? Or do we need to make any other settings ? Than
-
Charge to BB Card that no one can find receipt for
On September 10th I purchased a PS4 for by brother through express lane which he picked up in GA. Store refunded purchase to my BBCC on 9/12 and then recharged my BBCC even though I have it in FL. I have been trying to obtain a copy of that receipt s
-
Flash9B.ocx error problem
I run Norton System Doctor regularly as well as RegistryBooster2. Just recently (this week) WinDoctor gives me the unfixable message: "CLSID\{1171A62F-05D2-11D1-83FC-00A0C9089C5A}\InprocServer32," refers to a missing file, "C:\WINDOWS\system32\Macrom
-
Brother P-Touch PT-1500PC and Mountain Lion
Installed Mountain Lion two days ago. Just opened up the P-Touch software and my Brother PT-1500PC label printer is no longer listed. At my other office I use the Brother 2730 label printer, which is still listed. Apple, please don't tell me that