Deploy via Jdeveloper, error when role is "ascontrol_appadmin"
Hi,
We would like developers to deploy their work (BPEL) via JDeveloper, but
given the role of "ascontrol_appadmin" they are unable to make a
connection to the application/integration server?.
Thank you for any comments/suggestions.
Mark
I've been meaning to ask that, I bet you've found they can upload a BPEL suitcase file through BPEL console but cannot make the link from JDev ?
My system admin gave my user more privs than bpeladmin as a test and it still doesn't work, here is what I see in App Server Control :
Me:
BPMWorkflowSuspend, BPMSystemAdmin, BPMWorkflowReassign, ascontrol_appadmin, oc4j-administrators, ascontrol_monitor, BPMAnalyst, BPMDefaultDomainAdmin, rule-administrators, BPMWorkflowViewHistory, ascontrol_admin, BPMWorkflowAdmin
bpeladmin:
BPMWorkflowSuspend, BPMSystemAdmin, BPMWorkflowReassign, BPMDefaultDomainAdmin, BPMAnalyst, BPMWorkflowViewHistory, rule-administrators, BPMWorkflowAdmin
Note: bpeladmin does not have ascontrol_appadmin role.
Similar Messages
-
JDeveloper - Error when try to run application
Hello all I am trying to build simple app using JDeveloper following this tutorial http://www.youtube.com/watch?v=O9FXJu2fl28
the version that I am using is 11g Release 2. The main difference is that I am using mySQL database which is successfully set up thanks to this thread Re: mySQL and JDeveloper
basically the rest is copy of the above mentioned tutorial. However when I try to run the application I get this error:
[Running application 10mindemo on Server Instance IntegratedWebLogicServer...]
[02:05:51 PM] Web Module ViewControllerWebApp.war recognized in project ViewController.jpr
[02:05:51 PM] ---- Deployment started. ----
[02:05:51 PM] Target platform is (Weblogic 10.3).
[02:05:52 PM] Retrieving existing application information
[02:05:52 PM] Running dependency analysis...
[02:05:52 PM] Deploying 2 profiles...
[02:05:52 PM] Wrote Web Application Module to /home/marek/.jdeveloper/system11.1.2.3.39.62.76.1/o.j2ee/drs/10mindemo/ViewControllerWebApp.war
[02:05:53 PM] Wrote Enterprise Application Module to /home/marek/.jdeveloper/system11.1.2.3.39.62.76.1/o.j2ee/drs/10mindemo
[02:05:53 PM] Deploying Application...
<Feb 19, 2013 2:05:55 PM CET> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1361279153312' for task '4'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:302)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
Truncated. see log file for complete stacktrace
Caused By: weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class: com.mysql.jdbc.Driver
at weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:301)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(ConnectionEnvFactory.java:75)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.<init>(ConnectionEnvFactory.java:131)
at weblogic.jdbc.common.internal.ConnectionPool.initPooledResourceFactory(ConnectionPool.java:712)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:235)
Truncated. see log file for complete stacktrace
>
<Feb 19, 2013 2:05:55 PM CET> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application '10mindemo'.>
<Feb 19, 2013 2:05:55 PM CET> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:302)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
Truncated. see log file for complete stacktrace
Caused By: weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class: com.mysql.jdbc.Driver
at weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:301)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(ConnectionEnvFactory.java:75)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.<init>(ConnectionEnvFactory.java:131)
at weblogic.jdbc.common.internal.ConnectionPool.initPooledResourceFactory(ConnectionPool.java:712)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:235)
Truncated. see log file for complete stacktrace
>
[02:05:55 PM] Deployment cancelled.
[02:05:55 PM] ---- Deployment incomplete ----.
[02:05:55 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
#### Cannot run application 10mindemo due to error deploying to IntegratedWebLogicServer.
[Application 10mindemo stopped and undeployed from Server Instance IntegratedWebLogicServer]The steps which I followed is also on this pictures: http://www1.picturepush.com/photo/a/12224689/img/12224689.png
also it seems that web server is running on localhost address http://127.0.0.1:7101/console/login/LoginForm.jsp (please refer to pictures). Tried also this sugesstion http://adf-linux-learning.blogspot.sk/2012/07/remote-deployment-failed.html but did not helped. What is wrong ? many thanks.
Edited by: 984519 on Feb 19, 2013 6:16 AMHello guys, I am back on Windows (home) from Linux (work). The directory mentioned in second tutorial C:\Oracle\Middleware\user_projects\domains\mysql_domain\lib I have not found.
There are another directories which I have found:
# Probably the place where are stored projects
C:\JDeveloper\mywork\Application1\
# Probably some temp data
C:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.2.3.39.62.76.1
# Installation directory
C:\Oracle\Middleware
Then I have copied the mysql-connector-java-5.1.23-bin.jar into following directories:
C:\Oracle\Middleware\wlserver_10.3\server\lib
C:\Oracle\Middleware\jdk160_24\lib
C:\Oracle\Middleware\jdk160_24\jre\lib
C:\Oracle\Middleware\jdeveloper\jdev\lib
Also in C:\Oracle\Middleware\wlserver_10.3\common\bin\commEnv.cmd I set the following:
set WL_HOME=C:\Oracle\Middleware\wlserver_10.3
@rem ############################################## FOLLOWING LINE WAS WAS ADDED RIGHT BEHIND PREVIOUS ##############################################
set MYSQL_CLASSPATH=%WL_HOME%\server\lib\mysql-connector-java-5.1.18-bin.jar
@rem ############################################## THOSE LINES WERE COMMENTED OUT ##############################################
@rem set up WebLogic Server's class path and config tools classpath
@rem set WEBLOGIC_CLASSPATH=%JAVA_HOME%\lib\tools.jar;%WL_HOME%\server\lib\weblogic_sp.jar;%WL_HOME%\server\lib\weblogic.jar;%FEATURES_DIR%\weblogic.server.modules_10.3.5.0.jar;%WL_HOME%\server\lib\webservices.jar;%ANT_HOME%/lib/ant-all.jar;%ANT_CONTRIB%/lib/ant-contrib.jar
@rem set FMWCONFIG_CLASSPATH=%JAVA_HOME%\lib\tools.jar;%BEA_HOME%\utils\config\10.3\config-launch.jar;%WL_HOME%\server\lib\weblogic_sp.jar;%WL_HOME%\server\lib\weblogic.jar;%FEATURES_DIR%\weblogic.server.modules_10.3.5.0.jar;%WL_HOME%\server\lib\webservices.jar;%ANT_HOME%/lib/ant-all.jar;%ANT_CONTRIB%/lib/ant-contrib.jar
@rem ############################################## PREVIOUS TWO LINES WERE REPLACED BY FOLLOWING LINES (%MYSQL_CLASSPATH% WAS ADDED TO THE %WEBLOGIC_CLASSPATH% AND TO THE %FMWCONFIG_CLASSPATH%) ##############################################
@rem set up WebLogic Server's class path and config tools classpath
set WEBLOGIC_CLASSPATH=%JAVA_HOME%\lib\tools.jar;%WL_HOME%\server\lib\weblogic_sp.jar;%WL_HOME%\server\lib\weblogic.jar;%FEATURES_DIR%\weblogic.server.modules_10.3.5.0.jar;%WL_HOME%\server\lib\webservices.jar;%ANT_HOME%/lib/ant-all.jar;%ANT_CONTRIB%/lib/ant-contrib.jar;%MYSQL_CLASSPATH%
set FMWCONFIG_CLASSPATH=%JAVA_HOME%\lib\tools.jar;%BEA_HOME%\utils\config\10.3\config-launch.jar;%WL_HOME%\server\lib\weblogic_sp.jar;%WL_HOME%\server\lib\weblogic.jar;%FEATURES_DIR%\weblogic.server.modules_10.3.5.0.jar;%WL_HOME%\server\lib\webservices.jar;%ANT_HOME%/lib/ant-all.jar;%ANT_CONTRIB%/lib/ant-contrib.jar;%MYSQL_CLASSPATH%But this did not help :(
PS: I noticed resources drain when runnign WebLogic Server, are there some tunning setting which can solve this ? -
Jdeveloper error when testing a web service
Hi,
I keep getting the error below when testing a webservice, I have unistalled and reinstalled jdeveloper but still getting this error, help would be gratefully appreciated?
[Waiting for the domain to finish building...]
[10:58:59 AM] Creating Integrated Weblogic domain...
[10:59:54 AM] Extending Integrated Weblogic domain...
[11:00:39 AM] Integrated Weblogic domain processing completed successfully.
*** Using port 7101 ***
C:\Users\claire\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
\Java\jre6\lib\ext\QTJava.zip was unexpected at this time.
Process exited.http://forums.oracle.com/forums/search.jspa?objID=f83&q=QTJava.zip
-
JDeveloper - Error when trying to create an application server connection
Hello everyone,
I am trying to use JDeveloper to create a connection an Oracle WebLogic Server configured for Oracle SOA Suite. When I navigate to Connections and click on Application Server Connection, JDeveloper produces and error with the diagnostics shown below. I'm new to using JDeveloper so any help or advice on how to start to resolve this issue would be greatly appreciated. Fore the record I'm using JDeveloper 11G R2 (11.1.2.1.0) running on a Linux Red Hat 5 64 bit server.
Performing action (39) Close All [ from ] [ for ( <none>, MasterBuildScript.jpr, Infrastructure.jws ) ]
Performing action (272) New Application... [ from ExplorerWindowImpl ] [ for ( <none>, MasterBuildScript.jpr, Infrastructure.jws ) ]
Invoking command: [ from ExplorerWindowImpl ] [ for ( <none>, MasterBuildScript.jpr, Infrastructure.jws ) ]
18-Oct-2011 10:37:02 oracle.adfinternal.rc.connection.AdfConnectionContextProvider getConnectionContext()
SEVERE:
oracle.adf.rc.exception.CatalogRuntimeException: error while obtaining a connection context using connection context provider [oracle.adfinternal.rc.connection.AdfConnectionContextProvider] Root Cause=[]
at oracle.adfinternal.rc.connection.AdfConnectionContextProvider.getConnectionContext(AdfConnectionContextProvider.java:92)
at oracle.adfinternal.rc.connection.ConnectionManagerImpl.getConnections(ConnectionManagerImpl.java:385)
at oracle.jdeveloper.rescat2.model.registry.RescatContext.getConnectionContext(RescatContext.java:220)
at oracle.jdeveloper.rcasadapter.rescat2.RescatContextStore.<init>(RescatContextStore.java:56)
at oracle.jdeveloper.asnav.wizard.RescatAppServerWizard.setResourcePaletteStore(RescatAppServerWizard.java:99)
at oracle.jdeveloper.asnav.wizard.RescatAppServerWizard.createWizardControl(RescatAppServerWizard.java:87)
at oracle.jdeveloper.rcasadapter.wizard.AppServerProviderWizard.invoke(AppServerProviderWizard.java:93)
at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:446)
at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:530)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.NullPointerException
at oracle.adfinternal.rc.connection.UncloseableContextWrapper.wrapContext(UncloseableContextWrapper.java:59)
at oracle.adfinternal.rc.connection.AdfConnectionContextProvider.getConnectionContext(AdfConnectionContextProvider.java:79)
... 24 more
oracle.adf.rc.exception.CatalogRuntimeException: error while obtaining a connection context using connection context provider [oracle.adfinternal.rc.connection.AdfConnectionContextProvider] Root Cause=[]
o.adfinternal.rc.connection.AdfConnectionContextProvider.getConnectionContext(AdfConnectionContextProvider.java:92)
o.adfinternal.rc.connection.ConnectionManagerImpl.getConnections(ConnectionManagerImpl.java:385)
o.j.rescat2.model.registry.RescatContext.getConnectionContext(RescatContext.java:220)
o.j.rcasadapter.rescat2.RescatContextStore.<init>(RescatContextStore.java:56)
o.j.asnav.wizard.RescatAppServerWizard.setResourcePaletteStore(RescatAppServerWizard.java:99)
o.j.asnav.wizard.RescatAppServerWizard.createWizardControl(RescatAppServerWizard.java:87)
o.j.rcasadapter.wizard.AppServerProviderWizard.invoke(AppServerProviderWizard.java:93)
o.i.wizard.WizardManager.invokeWizard(WizardManager.java:446)
o.i.wizard.WizardManager$1.run(WizardManager.java:530)
j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:642)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:603)
j.a.EventQueue$1.run(EventQueue.java:601)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:612)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by:
java.lang.NullPointerException
o.adfinternal.rc.connection.UncloseableContextWrapper.wrapContext(UncloseableContextWrapper.java:59)
o.adfinternal.rc.connection.AdfConnectionContextProvider.getConnectionContext(AdfConnectionContextProvider.java:79)
o.adfinternal.rc.connection.ConnectionManagerImpl.getConnections(ConnectionManagerImpl.java:385)
o.j.rescat2.model.registry.RescatContext.getConnectionContext(RescatContext.java:220)
o.j.rcasadapter.rescat2.RescatContextStore.<init>(RescatContextStore.java:56)
o.j.asnav.wizard.RescatAppServerWizard.setResourcePaletteStore(RescatAppServerWizard.java:99)
o.j.asnav.wizard.RescatAppServerWizard.createWizardControl(RescatAppServerWizard.java:87)
o.j.rcasadapter.wizard.AppServerProviderWizard.invoke(AppServerProviderWizard.java:93)
o.i.wizard.WizardManager.invokeWizard(WizardManager.java:446)
o.i.wizard.WizardManager$1.run(WizardManager.java:530)
j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:642)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:603)
j.a.EventQueue$1.run(EventQueue.java:601)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:612)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)
Thanks,
Shaun.Not sure if this is a cause for your error, but JDev11.1.2.1.0 doesn't work with SOA right now. For SOA you need to use jdev11.1.1.5.0 or lower.
Timo -
Jdeveloper error when showing the BPEL diag
I am getting the below error in Jdeveloper when looking at the BPEL visual diag and cannot able to view the diagrams properly. The source code looks fine
Uncaught exception
java.lang.NoClassDefFoundError: oracle/tip/tools/ide/bpel/v2/plugins/plugins/monitor/xbean/model/MonitorModelDocument$Factory
o.tip.tools.ide.bpel.v2.plugins.plugins.monitor.model.MonitorModel.load(MonitorModel.java:113)
o.tip.tools.ide.bpel.v2.plugins.plugins.monitor.plugin.perspective.MonitorPerspective.loadMonitorModel(MonitorPerspective.java:112)
o.tip.tools.ide.bpel.v2.plugins.plugins.monitor.plugin.perspective.MonitorPerspective.loadModel(MonitorPerspective.java:62)
o.tip.tools.ide.bpel.v2.designer.addin.view.PerspectivesPanel$1.run(PerspectivesPanel.java:204)
j.lang.Thread.run(Thread.java:662)
Caused by:
oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: oracle.tip.tools.ide.bpel.v2.plugins.plugins.monitor.xbean.model.MonitorModelDocument$Factory
Dependent class: oracle.tip.tools.ide.bpel.v2.plugins.plugins.monitor.model.MonitorModel
Loader: ide-global:11.1.1.0.0
Code-Source: /C:/Users/u25341/Documents/JdevMiddle/jdeveloper/jdev/extensions/oracle.bpel.v2.designer.plugins.jar
Configuration: extension jar in C:\Users\u25341\Documents\JdevMiddle\jdeveloper\jdev\extensions
This load was initiated at ide-global:11.1.1.0.0 using the loadClass() method.Hi,
close Jdev, remove all bar one of the lruFiles item nodes in preferences.xml in \JDevHome10.1.3.1\system\oracle.ide.10.1.3.39.84
(note i am using 10.1.3.1)
when you are finished it should look something like this:
<lruFiles>
<Item class="oracle.ide.editor.RecentFile">
<editor>oracle.jdevimpl.help.HelpSystemAddin</editor>
<explicit>false</explicit>
<nodeURL path="../../../jdevstudio10131/jdev/doc/ohj/bc4jjavadoc.jar" jar-entry="oracle/jbo/server/ViewObjectImpl.html.help"/>
<projectURL/>
<workspaceURL/>
</Item>
</lruFiles>restard Jdev
this has worked for me for this specific error a few times.
Brenden -
JDeveloper error when extending VO
I have had problems yesterday and today attempting to create an extending VO with the "mandated" RowImpl class. When I click on the Finish button in the wizard, I get the following error:
Error in updating the java files for component: AbcMyReqsVO
Exception: java.lang.NullPointerException
Exception stack trace:
java.lang.NullPointerException
at oracle.jbo.dt.objects.JboAttribute.getSuperAttr(JboAttribute.java:1147)
at oracle.jbo.dt.objects.JboView.doGenerateAttributeGetCode(JboView.java:2375)
at oracle.jbo.dt.objects.JboView.generateCalculatedAttributeGetBody(JboView.java:2577)
at oracle.jbo.dt.objects.JboView.generateAttributeMethods(JboView.java:2673)
at oracle.jbo.dt.objects.JboView.createViewRowFile(JboView.java:1909)
at oracle.jbo.dt.objects.JboView.saveToJavaFile(JboView.java:1813)
at oracle.jbo.dt.objects.JboBaseObject.saveObject(JboBaseObject.java:2084)
at oracle.jbo.dt.objects.JboView.saveObject(JboView.java:1719)
at oracle.jbo.dt.ui.main.DtuSaveThread.doSaveObject(DtuUtil.java:1538)
at oracle.jbo.dt.ui.main.DtuSaveThread.run(DtuUtil.java:1528)
If I uncheck the "Generate Accessors" checkbox (as the stack talks about doGenerateAttributeGetCode), the error does not occur.
Can anyone explain this and provide an alternative workaround that allows me to generate by accessor methods?The problem is in the AllReqsVO.xml. All of the view attributes have the following:
<DesignTime>
<Attr Name="_OverrideAttr" Value="true" />
</DesignTime>
This VO doesn’t extend another VO, therefore the _OverrideAttr shouldn’t be in the ViewAttribute definitions. If you manually edit the AllReqsVO.xml file and remove each of those references, then you will be able to Generate Accessors without getting the nullpointerexception. This will also fix the problem with the other VOs that extend this one, like MyReqsGlanceVO. You don’t have to change the MyReqsGlanceVO.xml, just fix AllReqsVO.xml and then you will be able to Generate Accessors when extending MyReqsGlanceVO. -
Problems deploying app to WebSphere in EAR, fine via JDeveloper
JDeveloper 11.1.1.4.0, WebSphere 7.0.0.17, Windows 2008 server
We have developed some applications that use ADF and are trying to port them to WebSphere. We've done the adding of ADF to WebSphere, and set up WebSphere application connectors in JDeveloper.
When we build our apps in JDeveloper, then deploy to WebSphere directly, they run in WebSphere.
When we take the same applications and deploy them to an EAR file, then install the EAR file in WebSphere, they're not running.
The applications run fine both ways when deployed to WebLogic 10.3.5.
After the EAR deployment when running our application in WebSphere we get
Error 500: javax.servlet.ServletException: Filter [ADFLibraryFilter]: Could not find required filter class - oracle.adf.library.webapp.LibraryFilter.class
I found that that class is in adflibfilter.jar, I manually add that as a test, deploy from the EAR, I get
Error 500: javax.servlet.ServletException: Filter [trinidad]: Could not find required filter class - org.apache.myfaces.trinidad.webapp.TrinidadFilter.class
So I'm thinking that the EAR deployments aren't finding any of the ADF and if I continue I'll be manually adding all of ADF.
Also, this may be a clue, when deploying via an EAR, WebSphere wants us to manually wire up the JDBC references to JDBC resources, but when deploying via JDeveloper that step is handled automatically.
Where should I start?Hi
I have a few doubts in the deployment. I am using Standalone OC4J as my target App Server. My first doubt is that, do i need to install ADF Runtime Libs. If yes, what will be the location of the ADF libs/jars in the server location.
I am srill getting the error :
2009-09-18 12:25:03.325 WARNING The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
2009-09-18 12:25:24.340 NOTIFICATION oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
Can somebody help me out.
Thanks -
ERROR when installing PDK-JAVA V2 Framework and Sample Providers
After installation, deployment tests show Errors when accessing provider's test page at folliwing urls:
http://jp:7778/jpdk/providers/externalApp
dbPreferenceStore
partnerAPP
webservices
I tried to reinstall on new application name jdpk1
but even deployment coulnt succedwith a compilation error
What is wrong and Thanks for HELP
messages are like:
500 Internal Server Error
oracle.webdb.provider.v2.utils.soap.SOAPException: Can't read deployment properties for service: externalApp
at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.locateService(Unknown Source)
at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)
at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
in case of deploying I got:
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Erreurs de compilation :F:\ORACLE\PORTALBI\j2ee\OC4J_Portal\application-deployments\jpdk1\jpdk\persistence\_pages\_htdocs\_testpage\_TestPage.java
Line # Error
67
[jsp src:line #:25]
cannot resolve symbol symbol : variable VALIDATION_ERRORS location: class oracle.portal.provider.v2.http.HttpCommonConstants ValidationError errors = (ValidationError)request.getAttribute(HttpCommonConstants.VALIDATION_ERRORS);
68
[jsp src:line #:26]
cannot resolve symbol symbol : variable COMPONENT_VERSIONS location: class oracle.portal.provider.v2.http.HttpCommonConstants Map componentVersions = (Map)request.getAttribute(HttpCommonConstants.COMPONENT_VERSIONS);thanks Harsha
In the same logic(?!?) i found out it worked with
partner instead of partnerApp
but I couldnt get it fixed for webservice(s) where i still get the following
500 Internal Server Error
oracle.webdb.provider.v2.utils.soap.SOAPException: Can't read deployment properties for service: webservice
at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.locateService(Unknown Source)
at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)
at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534) -
Hi,
Would appreciate if anyone can help me for the following issue:-
After installed JDeveloper 11g v.11.1.1.2.0 on Mac OSX by following:-
http://blogs.oracle.com/shay/2009/04/installing_jdeveloper_11g_on_m.html
http://www.oracle.com/technology/products/jdev/htdocs/11/knownissues.html#install4
I have no problem when I start and run WLS + application at the first time. However, I got the following error when I "RE-DEPLOY" the application by pressing run button again.
<Aug 3, 2010 3:35:35 PM GMT+00:00> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Aug 3, 2010 3:35:35 PM GMT+00:00. Notification details:
WatchRuleType: Log
WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
WatchData: DATE = Aug 3, 2010 3:35:35 PM GMT+00:00 SERVER = DefaultServer MESSAGE = [ServletContext@971160771[app:Receivable module:Receivable-ViewController-context-root path:/Receivable-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -2
at java.lang.String.substring(String.java:1937)
at java.lang.String.substring(String.java:1904)
at org.apache.myfaces.trinidadinternal.style.util.CSSGenerationUtils._getNSComponentSelector(CSSGenerationUtils.java:632)
at org.apache.myfaces.trinidadinternal.style.util.CSSGenerationUtils.getNamespacedSelectors(CSSGenerationUtils.java:525)
at org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache._getShortStyleClassMap(FileSystemStyleCache.java:1086)
at org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache._getStyleSheetDocument(FileSystemStyleCache.java:652)
at org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache._getEntry(FileSystemStyleCache.java:421)
at org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache.getStyleSheetURIs(FileSystemStyleCache.java:177)
at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.StyleSheetRenderer.encodeAll(StyleSheetRenderer.java:97)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1501)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer._renderSkinStylesheet(DocumentRenderer.java:1835)
at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:781)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1501)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = jackp-mac.perfitcomputer.com TXID = CONTEXTID = TIMESTAMP = 1280849735294
WatchAlarmType: AutomaticReset
WatchAlarmResetPeriod: 30000After following "known issue" from this link http://crmondemand.oracle.com/technetwork/developer-tools/jdev/knownissues-096030.html
the problem has been fixed. -
Error when deploying to local instance of jdeveloper
Hello,
I had an application that has been working for quite a while now. Suddenly, I'm getting the following errors when I try to run the application:
[Starting OC4J using the following ports: HTTP=8989, RMI=23892, JMS=9228.]
/home/tester/jdevhome/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config>
/usr/java/jdk1.5.0_15/bin/java -server -classpath /opt/jdev10.1.3.3/j2ee/home/oc4j.jar:/opt/jdev10.1.3.3/jdev/lib/jdev-oc4j-embedded.jar -Xms512M -Xmx512M -Djbo.debugoutput=console -Djava.security.auth.login.config=file:/home/barber2/jdevhome/mywork/rasdb/ViewController/config/rasdb/java.login.config -Dllnl.environment=dev -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Xrs -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config /home/tester/jdevhome/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/server.xml
[waiting for the server to complete its initialization...]
Nov 13, 2008 2:25:50 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
INFO: Legacy datasource detected...attempting to convert to new syntax.
Nov 13, 2008 2:25:52 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
Nov 13, 2008 2:25:52 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
08/11/13 14:29:09 java.net.ConnectException: Connection timed out
08/11/13 14:29:09 at java.net.PlainSocketImpl.socketConnect(Native Method)
08/11/13 14:29:09 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
08/11/13 14:29:09 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
08/11/13 14:29:09 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
08/11/13 14:29:09 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
08/11/13 14:29:09 at java.net.Socket.connect(Socket.java:520)
08/11/13 14:29:09 at java.net.Socket.connect(Socket.java:470)
08/11/13 14:29:09 at java.net.Socket.<init>(Socket.java:367)
08/11/13 14:29:09 at java.net.Socket.<init>(Socket.java:209)
08/11/13 14:29:09 at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:98)
08/11/13 14:29:09 at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postInitApplicationServer(Oc4jNotifier.java:55)
08/11/13 14:29:09 at com.evermind.server.ApplicationServer.serverExtensionPostInit(ApplicationServer.java:1202)
08/11/13 14:29:09 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1049)
08/11/13 14:29:09 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
08/11/13 14:29:09 at java.lang.Thread.run(Thread.java:595)
08/11/13 14:29:09 Oracle Containers for J2EE 10g (10.1.3.3.0) initialize
Can someone point me in the right direction?
Thanks in advance!hi,
Even i'm having the same problem when i try to run the sample loan demo process on my local server.Did you manage to figure out what the problem is??would really appreciate if you can send some advice to me regarding this error.
Thanks and regards,
Hari -
Error when deploying a mapping to Staging in OWB 11gr2
Hi,
I recieve the following error when I try to deploy a simple Source to Stage mapping:
RPE-01012: Cannot deploy PL/SQL maps to this target schema. The target schema must be in the same instance as the Control Center and have the OWB_USER role granted.
I have spent few hours researching it, but have not yet found a solution.
My environment:
DB 11gr2 on Red Hat Linux. (OWB Server is on linux and the same machine as its Repository and the 11gr2 db).
Source is on an Oracle 10.2 DB server in Texas;
Target (Staging env) is in California, also on Oracle 10.2.
I can validate the mapping and the Staging table was deployed sucessfully to the Staging DB.
Do I need to create a repository and workspace on the Target DB (Oracle 10.2) using Repository Assistant? (If that's the case, then would one also need to create OWBSYS?)
Please help.This is an urgent request. Would appreciate it if someone could point out what I may be doing wrong.
To summarize, my target DB is on Oracle 10.2 in a remote location, so I ran the 3 scripts that OWB Install documents require: Section: Configuring OWB Installed as a Standalone Instance.
Cat_web.sql, reset_owbcc_home.sql, and remote_owb_install.sql.
But, when I run the Repository assistant, I get the error above (asking me to install compatible OWB version.)
Here are the detailed steps:
1. Ran clean_owbsys.sql
2. Ran cat_owb.sql (Against USERS Tablespace)
3. reset_owbcc_home.sql (?? Ora home for Target???)
4. Ran remote_owb_install.sql (??Ora Home for Target???) -- I have tried different combinations, but no difference.
For Repository Assistant, here are the detailed steps:
1. Provide connect info for the remote db (host:Port:Service)
2. Selected "Managed Warehouse Build Workspaces"
3. Selected "Create a new Warehouse Builder Workspace"
4. Select "Create a workspace with an existing user as workspace owner" (Since we have user already defined for this role. Should I create a new one??)
5. Entered Workspace Owner's User Name, Password and created WKS1 as the Workspace.
6. Entered System / and Password to logon
7. Provided Owbsys user id and Password and clicked on Next
8. As soon as I hit Next on the OWBSYS Information screen, I get the error:
"OWB software with the compatible version must be installed locally on the database server machine". If it is installed, acquire the DBA user credentials,
and run the remote_owb_install.sql script on the Oracle Database server machine..."
(I have tried with different paths for the reset_owbcc_home and remote_owb_install scripts) -
Error deploying a Jdeveloper 10.1.3 adf application on oracleAS 10.1.2
Hi,
i have created an application on Jdeveloper 10.1.3 and when i am trying to deploy it on oracleAS 10.1.2 i get the following error:-
java.rmi.RemoteException deploy failed!: ; nested exception is: oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: xmlns:xsi. deploy failed!: ; nested exception is: oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: xmlns:xs
I searched the forum for a similar kind of error. I got the solution for it.
It mentions about jdk and j2ee versions.I changed my project and jdeveloper libraries and jdk's. But still am getting the same error.
i also tried to change the default OC4J of the jdeveloper 10.1.3. But i get the same error when i run the application on the embedded OC4J in Jdeveloper.
Please could anyone guide me as to how to approach to this particular scenario.
Thanks in advance.
MadhurHi,
i tried changing the web.xml of my application by adding
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
But i got another error as shown below
Failed to deploy web application "pax". Failed to deploy web application "pax". . The evaluate phase failed. The Adapter used in the evaluate may have thrown an exception.
Resolution:
Please call Oracle support.
Base Exception:
java.lang.NoSuchMethodError
oracle.jbo.uicli.mom.JUMetaObjectManager.registerDefinitionFactory(Ljava/lang/String;Loracle/adf/model/binding/DefinitionFactory;)V. oracle.jbo.uicli.mom.JUMetaObjectManager.registerDefinitionFactory(Ljava/lang/String;Loracle/adf/model/binding/DefinitionFactory;)V
I am not able to comprehend as to what this error means
Please guide me on this.
Thanks & regards,
Madhur -
Error when I deployed the java EAR application in NWDS 7.1
HI All,
I got the error when I deployed the java EAR application in NWDS 7.1 version..help me out...........................................
com.sap.ide.eclipse.deployer.api.APIException: DeployException,cause=[ERROR CODE DPL.DCAPI.1023] AuthorizationException.
Reason: , An error occurred during the deployer retrieval. Cause =[ERROR CODE DPL.DC.3151] The user LJ4PJW could not be authorized, because doesn't own the (com.sap.engine.interfaces.security.ServiceAccessPermission dc) permission for deploy controller. at com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl.java:62)
Thanks
CostaThe user LJ4PJW could not be authorized, *because doesn't own the* (com.sap.engine.interfaces.security.ServiceAccessPermission dc) *permission for deploy controller. a*t com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl.java:62)
The user is not have proper authorizations. Use some other administrators user id which has all admin roles and authorizations assigned and try to deploy.
Regards,
Ravi -
BEPL Error While Deploying from Jdeveloper
Hi We are getting the below error while deploying BPEL process using JDeveloper. Login account is OC4JADMIN.I checked the notes/forums and checked the files. Everything seems OK.
Why we are getting read error when we login as oc4jadmin.
Connection says success.
Application Server: OK
BPEL Process Manager Server: OK
ESB Server: OK
Error is
BUILD FAILED
H:\jdevstudio10134\HelloWorld\HelloWorld\build.xml:48: A problem occured while connecting to server "soaapnx" using port "7777": java.security.AccessControlException: Access denied (com.collaxa.security.*DomainPermission default read)*
at java.security.AccessController.checkPermission(AccessController.java:108)
at com.collaxa.security.OC4JSecurityService.checkAccess(OC4JSecurityService.java:16)
at com.collaxa.security.SecurityService.checkDomainAccess(SecurityService.java:26)
at com.collaxa.cube.fe.util.ServletUtils.getLocatorWithoutUrlRewrite(ServletUtils.java:76)
at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:332)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:810)
Total time: 5 seconds
Thanks in advance for your help.
SreeHi Anirudh,
Thanks for th help.
I did not change any security settings in web.xml.
Pls let me know configuration files/log files that i need to look into.
Following is the error messages in access.log.
10.48.158.41 - - [15/Jun/2009:20:34:58 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 404 364
10.48.158.41 - - [15/Jun/2009:20:35:09 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:35:11 -0700] "GET /esb/ESBConsoleMain.html HTTP/1.1" 200 817
10.48.158.41 - - [15/Jun/2009:20:35:11 -0700] "GET /esb/ESBConsoleMain.html HTTP/1.1" 200 817
10.48.158.41 - - [15/Jun/2009:20:35:14 -0700] "GET /orabpel/xmllib/ws-addressing.xsd HTTP/1.1" 200 5263
10.32.18.185 - - [15/Jun/2009:20:35:14 -0700] "GET /integration/services/testconnection/BPELConnection?operationType=getServerMode HTTP/1.1" 200 80
10.32.18.185 - - [15/Jun/2009:20:35:14 -0700] "GET /integration/services/testconnection/BPELConnection?domainPasswd=null&operationType=getVersions&domainId=default&processName=HelloWorld HTTP/1.1" 200 45
10.32.18.185 - - [15/Jun/2009:20:35:14 -0700] "GET /integration/services/testconnection/BPELConnection?operationType=getServerMode HTTP/1.1" 200 80
10.48.158.41 - - [15/Jun/2009:20:35:19 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.32.18.185 - - [15/Jun/2009:20:35:20 -0700] "POST /integration/services/deploy/deployHttpClientProcess.jsp HTTP/1.1" 403 89
10.32.18.185 - - [15/Jun/2009:20:35:21 -0700] "POST /integration/services/deploy/deployHttpClientProcess.jsp HTTP/1.1" 403 89
10.48.158.41 - - [15/Jun/2009:20:35:29 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:35:39 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:35:49 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:35:59 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:09 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:19 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:29 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:39 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:49 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:59 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:37:09 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:37:20 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:37:30 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
gateway.log shows
2009-06-15 20:54:34,039 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:54:44,069 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:54:54,124 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:55:04,161 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:55:14,191 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:55:24,219 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:55:34,266 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
Sree -
Getting Error when trying to deploy Portlet Application on WebLogic Server
Hi,
We have a WebLogic server installed on a Windows machine. We created a new Domain, extended it with ADF Runtime and with Web Center Framework. It created three servers for us along with the already existing AdminServer, WLS_Portlet, WLS_Spaces, WLS_Service.
We created a portlet Application on our development machine using JDeveloper. When we run it from JDeveloper it runs as expected without any errors.
We created a Deployment profile for the application as an EAR file. Then we copied this EAR file over to the machine on which WebLogic server is installed (deployment machine).
On the Deployments screen of the WebLogic Server Console, we selected "Install", selected the EAR file we had created above, selected "Install as Application" and then selected the WLS_Portlet server on which to install it. Then we just kept clicking Next and Finish.
The first time we tried it, we got a NoClassDefFound exception for some class like JAXRPCServer. We did some research and found that to fix this issue we can put the containing .jar files of the classes not found into the public_html\WEB-INF\lib folder. We tried this for the above error by placing "wsserver.jar" file into the lib folder. Then we got anothe NoClassDefFound error. We again searched for the containing .jar file and put it into the lib folder. This continued for around ten to twenty errors and now we are stuck at a point where we are not able to find a way out.
The current error that we are getting is NoClassDefFound: oracle/security/jps/internal/policystore/GranteeFactory. We searched for the containing jar of this class and found it to be jps-internal.jar which is already present in our lib folder. The stack trace of the exception is:
<Jul 2, 2010 11:23:13 AM GMT+05:30> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException: oracle/security/jps/internal/policystore/GranteeFactory
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1516)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1269)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.NoClassDefFoundError: oracle/security/jps/internal/policystore/GranteeFactory
at oracle.security.jps.internal.policystore.JavaPolicyProvider.getPermissions(JavaPolicyProvider.java:216)
at java.security.Policy.initPolicy(Policy.java:299)
at java.security.Policy.setPolicy(Policy.java:243)
at oracle.security.jps.internal.jaas.JaasUtil.setPolicyProvider(JaasUtil.java:54)
at oracle.security.jps.wls.JpsWeblogicFilter.<clinit>(JpsWeblogicFilter.java:47)
at oracle.security.jps.wls.JpsWlsPlatformFactory.getJpsFilter(JpsWlsPlatformFactory.java:87)
at oracle.security.jps.ee.http.JpsFilter.<init>(JpsFilter.java:59)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at weblogic.servlet.internal.WebComponentContributor.getNewInstance(WebComponentContributor.java:225)
at weblogic.servlet.internal.WebComponentContributor.createFilterInstance(WebComponentContributor.java:257)
at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:94)
at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:59)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1867)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
Any help would be appreciated on this since we are stuck at this point and have no idea to get across this hurdle.
One more thing, this is the first time that we are trying to play with WebLogic or even Java. So, some of our questions or steps performed might seem irrelevant here.
Thanks,
GauravHi,
Another update on this issue.
To remove the error that we were getting (java.lang.LinkageError: Class javax/xml/transform/Source violates loader constraints), we tried some searching around and found out that the way to fix it is to provide correct versions of xalan.jar, xml-apis.jar and xercesImpl.jar. We downloaded the required version from the apache site and added it to our WEB-INF/lib folder in the WAR file.
Now, we are getting this error:
XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom
What else we might be missing in our libs or do we need to check some other configurations?
Any help on this would be much appreciated.
Thanks,
Gaurav
Maybe you are looking for
-
Error while releasing transport request - Special character "_" in generic
Hi all, we're receiving the error Special character "_" in generic key when releasing a best practice transport. Note 1304725 describes my error, but the solution cannot be implemented. The reason for this is that we do not have an individual entry
-
What's the best way to connect the audio out of my Mac to my stereo receiver?
I want to listen to my mp3 collection through my home theatre stero receiver. I have 2 audio interfaces that I connect to my mac through USB and Firewire: Digi Design Mbox mini and Maudio ProFire 610. I've tried going from a headphone 1/8'' connector
-
XI sender and PI 7.1 receiver
I have a strange scenario..where the client would sent data from XI 3.0 which is there in their landscape... It has to come to PI 7.1 (our system )and be sent to a ftp location... file-> XI -> PI -> File... In XI.. I will use sender file adapter and
-
I have the latest 2.26 13" macbook pro before i purchase, can i confirm that i need the micro NOT mini dvi to VGA? I want to connect to a VGA monitor, everything read says micro is for the Mac Air. I'm sure the new macbook pro's use micro, but I want
-
Where does Web Dynpro Abap run?
Hey, I have a question concerning Web Dynpro Abap: The Portal runs on the AS Java. Web Dynpro Abap is encapsulated in iviews and integrated to the portal. The Abap Backend is linked to the portal via a system specification. As a Developer I do not ha