Deploying JSC projects in Tomcat
If we deploy JSC projects in Tomcat we have to access the server.xml and tomcat-install-directory/shared/lib. Many web hosting providers do not allow access to these. This makes JSC project deployment in Tomcat very challenging.
Are there sny alternative ways to deploy JSC projects without accessing Tomcat locations (server.xml and shared/lib folder) except the webapps folder. For example, can I put the jstl.jar and standard.jar someware inside my JSC project? Can I do some changes in my web.xml instead of modifying server.xml?
Any advice is very much appreciated.
Thank you very much.
You can get around the server.xml changes. You will have to create a context.xml
look at
<br>
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
http://tomcat.apache.org/tomcat-5.0-doc/deployer-howto.html#Context%20descriptors
<br>
for instance. I believe that context.xml has to go into <webapp>/META-INF directory. But I did not find a reference right now.
The only question I have, would be if Tomcat would share DataSources from different webapps when they are configured in the context.xml, instead of the global context.
I hope that helps a bit.
Thanks,
-- Marco
Similar Messages
-
Hi,
I have developed a Flex project with Web Services. Can anbody
tell me how should I deploy the project into Tomcat...hi Ciro,
You have not created the context of your database in context.xml of your tomat (path for context.xml tomcat folder/conf/context.xml)
Unless and until you don't create context you will get same error.
regards,
Joshmachine
Edited by: joshmachine on Mar 27, 2008 3:46 PM -
Deploying two projects on tomcat
Hello every one,
I want to ask how can I put more than one project in tomcat6 directory. /var/lib/tomcat6/webapps/ROOT/
When I put one project in it, it is OK, everything is working perfectly. But when I create the folder in ROOT directory, and put other project in that folder it is not working.
I get exception like this:
type Status report
message /SM-WAR/XMLUpload
description The requested resource (/SM-WAR/XMLUpload) is not available.The requested resource is not available because it is in that folder SM-WAR. But when I put it directly to ROOT directory. it is working fine.
What could it be?You can't. ROOT is a place to deploy one application. Use another diectory. You can make up your own name you know.
-
It´s possible deploy ADF Demo in Tomcat 6 ???
Hi.
I deploy the ADF Demo (http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html), in Weblogic 10.3.3.
But I´m triying to deploy the war demo, in tomcat. But i can´t.
It´s possible deploy this application??. I Think that is possible because it´s a war proyect.
ThanksIt may be possible, but it's not supported. If you have a search of the forums, you can find people who have, with varying degrees of success, managed to deploy ADF projects to Tomcat.
John -
Getting error while deploying woodstock project in jdeveloper
Hi All,
At last I deployed woodstock project in tomcat server and it is working fine but when I am trying to deploy it in jdeveloper I am getting lot of errors like
Error: Unable to instantiate tag: webuijsf:page (class: null) Make sure that the tag class is available and that the tag library containing the class is not excluded from this application.
Can any one tell me do I need to copy jar files some where else??or do I need to change any thing,
I am using oc4j app server...
Thanks.Assuming you are using the Sun RI, you may want to ask on the users mailing list (or search through the archives). I don't recall the specifics but there have been threads specifically addressing OC4J.
-
Please Help with Deploying of a Simple Tomcat Project
Hi all,
I hope this is the right forum to post this question.I have a Tomcat folder named "TomcatProject", it has the proper directory structure as the Tomcat Project.
I want to deploy it into a Windows Server 2000 OS, so i will be deploying it in the {Tomcat Installation} / webapps/ my directory ..... Is this right?... (TC 5.0.28, Java 1.4.2)
But I keep getting the resource not availabe error.Error 404.Kindly let me know what the problem is .....
Any Help would be greatly appreciated
ASClose enough forum :-)
Ok Quick checklist.
Tomcat is running?
You can access the Tomcat home page
http://localhost:8080 ?
In [myDirectory] you have a folder called WEB-INF,
with a valid web.xml file?
Your website should be:
http://localhost:8080/[myDirectory]/myJspPage.jsp
where [myDirectory] is the name of the directory
under webapps.
I will you point you in the direction of a tutorial.
This should be installed on your machine as well:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev
/index.html
specifically
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev
/deployment.html
cheers,
evnafetsThanks for the prompt reply.Will follow the tutorial.
AS -
Adding Project to tomcat in eclipse
Can any body help me how to add my Project to Tomcat in Eclipse and deploy/run my project.
thanks
balaLegendsofCode wrote:
I right clicked the Tomcat instance and tried to add project by clicking on AddandRemove Projects.I got an error saying "There are no Projects to add or remove from the Server".Well, obviously you don't have any valid web projects in your project map.
You should create at least a web project. The 'Dynamic web project' option is sufficient.
Not fully what you need, you may ignore the JSF part, but this article might give clear understanding and insights: http://balusc.blogspot.com/2008/01/jsf-tutorial-with-eclipse-and-tomcat.html -
Cannot deploy webdynpro project from SP11 of developer studio
Hi All,
I have recently upgraded was java from SP09 to SP11 of netweaver 2004s. I have also upgraded developer studio to SP11. Now I cannot deploy webdynpro project from upgraded developer studio. SP09 developer studio can still deploy webdynpro projects.
Please help.
Thanks in advance .
RaktimHi,
R u trying to deploy an old DC in the upgraded studio? Is the same happening for deploying any newly created local webdynpro project? Create a simple local project and check if same problem occurs.
Regards,
Vijai -
Unable to deploy BPM projects with human tasks from BPC
I’m trying to edit and deploy a BPM process from Business Process Composer (web based tool). To do it, I followed the steps below:
1. I created I project in JDeveloper
2. I created the Human task from using the “Auto-generate task form” option
3. I converted it to a template
4. I published it to BPM MDS
5. On Business Process Composer I created I new project based on my published template
6. And I finally I deployed it with no errors.
When I ran the BPM it creates I human task but I’m not able to access its form on Business Process Workspace.
On Business Process Workspace I can see the task created by my BPM process, but when I click on it to access its form I get a 404 message (message below).
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
I think this error occur because my Task form project was not deployed. To fix it I undeployed all the applications and then I deployed the BPM application with all its tasks forms from JDeveloper. It worked fine (I can actually access the task form on Business Process Workspace), but now I’m not able to edit the BPM process on Business Process Composer anymore.
Then I finally repeated the steps 3 to 6 on top of this post in order to make the BMP process editable on Business Process Workspace but this time I receive the error at the end of this post taken from server log.
No matters if I publish the project on MDS BMP repository as a template project or as non template project. I always have the same problem.
So, how can I use a BPM project that contains Human Tasks forms on Business Process Composer?
I’m using:
• JDevelopper: 11.1.1.5
• Oracle Soa Suite 11.1.1.5
Error:
<Error> <ServletContext-/soa-infra> <AUSDCCMTPRF03> <soa_server1> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <daba687c30fc2ae1:5f5821e2:131915bbc92:-8000-000000000001c442> <1312478914395> <BEA-000000> <Error during deployment
oracle.fabric.common.FabricException: Deployment Failed: Error occurred during deployment of component: AssignVendorETATask to service engine: implementation.workflow, for composite: AlertBPMProject: ORABPEL-30123
Error while deploying task metadata.
The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
: Error while deploying task metadata.
The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.coordinateCompositeDeployment(StandaloneCompositeDeploymentCoordinatorImpl.java:62)
at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deployNewComposite(BaseDeployProcessor.java:378)
at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:226)
Caused By: oracle.fabric.common.FabricException: Error occurred during deployment of component: AssignVendorETATask to service engine: implementation.workflow, for composite: AlertBPMProject: ORABPEL-30123
Error while deploying task metadata.
The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
: Error while deploying task metadata.
The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:244)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:93)
Caused By: oracle.fabric.common.FabricDeploymentException: ORABPEL-30123
Error while deploying task metadata.
The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
: Error while deploying task metadata.
The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
{rootCauses=[]}
at oracle.bpel.services.workflow.fabric.WorkflowServiceEngine.deploy(WorkflowServiceEngine.java:908)
at oracle.bpel.services.workflow.fabric.WorkflowServiceEngine.deploy(WorkflowServiceEngine.java:368)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:239)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: ORABPEL-30123
Error while deploying task metadata.
The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.I came across the same issue, and now resolved it like this.
Firstly, you shouldn't deploy QuoteProcessLab with other UILabs like ApproveDealUILab and so on. So, if you already did it, then go to Weblogic EM and undeploy it.
Secondly, you should deploy each of UILab separately as standalone application. So, deploy EnterQuiteUILab, BUsinessPracticesUILab, and so on each. These will run independently behind and when your project created based on template in the Composer runs, it will link each of these on human task.
Thirdly, publish you QuoteProcessLab. And follow the book about how to create a project based on template in the Composer.
Just one thing you should be careful with is, when you do auto-generation for human task, it sometimes doesn't work fully, unfinished halfway through. So, make sure that the icon 'go to existing business form taskflow' in .task file takes you to the human taskflow.
If it fails, do another auto-generation. Sometimes DataBindings.cpx can get corrupted by JDev, but let's not go too far for now.
Mostly, it will work.
Sung -
Problem to deploy ADF application on tomcat server
Hi all,
i 'm using this tutorial link to deploy adf application on tomcat server.
https://blogs.oracle.com/dana/entry/how_to_deploy_a_11g_adf_applic_1
but when i have run my application i have got following error
java.sql.SQLException: invalid arguments in call
log-
Jul 29, 2013 11:35:16 AM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b07-FCS) for context '/TestApacheApp_ViewController_webapp1'
Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack contextInitialized
SEVERE: ADFConnection mbean not registered for defaultApplicationName.
Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack contextInitialized
SEVERE:
oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:82)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1471)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:243)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Thread.java:662)
Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack contextInitialized
SEVERE: Failed to register config mbean for defaultApplicationName.
Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack contextInitialized
SEVERE:
oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextInitialized(ADFConfigLifeCycleCallBack.java:79)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1471)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:243)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Thread.java:662)
Jul 29, 2013 11:35:19 AM oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack contextInitialized
SEVERE: Not able to get Deployment Name
Jul 29, 2013 11:35:28 AM oracle.adfinternal.controller.state.ControllerState initializeRequest
WARNING: ADFc: Deserialization of session state detected but ADF scope HA support is not enabled. Please enable ADF scope HA support in the adf-config.xml file to ensure correct functioning of your applicaiton.
Jul 29, 2013 11:35:28 AM oracle.adf.share.http.ServletADFContext initialize
WARNING: Found wrong applictionScope sticking to oldContext for oldApplication defaultApplicationName, while the current one is null
Jul 29, 2013 11:35:28 AM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
INFO: jndi:/localhost/TestApacheApp_ViewController_webapp1/WEB-INF/classes/com/in/jagran/view/DataBindings.cpx
Jul 29, 2013 11:35:28 AM oracle.adf.share.jndi.MDSBackingStore documentExists
INFO: MDS-00013: no metadata found for metadata object "/META-INF/connections.xml"
Jul 29, 2013 11:35:32 AM oracle.adf.share.http.ServletADFContext initialize
WARNING: Found wrong applictionScope sticking to oldContext for oldApplication defaultApplicationName, while the current one is null
Jul 29, 2013 11:35:33 AM oracle.adf.share.http.ServletADFContext initialize
WARNING: Found wrong applictionScope sticking to oldContext for oldApplication defaultApplicationName, while the current one is null
Jul 29, 2013 11:35:47 AM org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8086
Jul 29, 2013 11:35:47 AM org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
Jul 29, 2013 11:35:48 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jul 29, 2013 11:35:48 AM org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8086
Jul 29, 2013 11:35:48 AM org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009There is no guideline I know of as this depends on the app itself.
What you should do is to deploy the application onto a test server and check the metrics of the app over a defined period of time with a defined amount of traffic.
Timo -
Error while deploying import project
I am getting the following error while deploying the import project.
I dont get any error while importing assets from the xls sheet. it successfully imports all the assets.
It only gives error when i try to deploy this project.
I have checked all the assets and i dont see any id as null in the data that i m importing.
09:28:31,978 ERROR [DeploymentManager] item = repositoryMarker:mark5621005 cause = CONTAINER:atg.deployment.DistributedDeploymentException; SOURCE:atg.repository.Repos
itoryException: Ids cannot be null
at atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:274)
at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
message = Deployment Failed time = Wed Jul 24 09:28:31 PDT 2013 atg.deployment.DeploymentFailure@13738c4f
CAUGHT AT:
CONTAINER:atg.deployment.DistributedDeploymentException; SOURCE:atg.repository.RepositoryException: Ids cannot be null
at atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:274)
at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
Caused by: atg.repository.RepositoryException: Ids cannot be null
at atg.adapter.version.VersionRepository.getItem(VersionRepository.java:903)
at atg.deployment.repository.RepositoryWorkerThread.getSourceItem(RepositoryWorkerThread.java:995)
at atg.deployment.repository.RepositoryWorkerThread.deployItem(RepositoryWorkerThread.java:1024)
at atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:262)
... 2 moreHi,
It looks like the mapping is either wrong or some conflicts between pub and target database. What is the id-column-name for this item? Can you also turn on the debugs for that repository while deploying and get the insert statement that is throwing the error? It would be helpful if you can also share the item definition. -
Error while deploying the project to ESB and deleting the services in ESB
Hi,
I am tiring to deploy a project to ESB, but I am getting this exception.
error code: 0 : 10
summary: An unhandled exception has been thrown in the ESB system. The exception reported is: "javax.transaction.RollbackException: Timed out
at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit(ApplicationServerTransaction.java:582)
at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:244)
at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:130)
at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:433)
at oracle.tip.esb.console.XMLConsoleManagerImpl.commit(Unknown Source)
at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.deploy(Unknown Source)
at oracle.tip.esb.configuration.deployment.DeploymentServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Fix: -
In the earlier thread
Error while deploying the project to ESB
I was told to do some corrections. I did that and also I have bounced the OPMN. It worked for me.
But again I am getting the same error, and I did this for the second time. But it didn’t work now.
And I also have one more problem. I am not able to delete the existing services in the ESB console. When I try to delete the services I am getting the same error.
I even checked the LOGS. The last three error payloads I see are
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2007-04-03T13:15:30.846-04:00</TSTZ_ORIGINATING>
<COMPONENT_ID>tip</COMPONENT_ID>
<MSG_TYPE TYPE="WARNING"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>usmlrh37.arrow.com</HOST_ID>
<HOST_NWADDR>192.168.226.25</HOST_NWADDR>
<MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
<THREAD_ID>26</THREAD_ID>
<USER_ID>soauser</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>192.168.226.25:62472:1175620406177:7</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>JCA: ORABPEL-11207
IO Failure in translator.
IO failure because the Inbound XSD translator failed to DOM Parse InputStream .
Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[ORABPEL-11207
IO Failure in translator.
IO failure because the Inbound XSD translator failed to DOM Parse InputStream .
Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
at oracle.tip.pc.services.translation.xlators.xsd.XSDTranslator.translateFromNative(XSDTranslator.java:136)
at oracle.tip.adapter.mq.inbound.MessageProcessor.translateMessage(MessageProcessor.java:377)
at oracle.tip.adapter.mq.inbound.MessageProcessor.processMessage(MessageProcessor.java:217)
at oracle.tip.adapter.mq.inbound.MessageProcessor.run(MessageProcessor.java:165)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.UTFDataFormatException: Invalid UTF8 encoding.
at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:160)
at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:187)
at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:120)
at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450)
at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2488)
at oracle.xml.parser.v2.XMLReader.tryRead(XMLReader.java:1089)
at oracle.xml.parser.v2.XMLReader.scanXMLDecl(XMLReader.java:3047)
at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:521)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:287)
at oracle.tip.pc.services.translation.xlators.xsd.XSDTranslator.translateFromNative(XSDTranslator.java:134)
... 8 more
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2007-04-03T13:15:30.850-04:00</TSTZ_ORIGINATING>
<COMPONENT_ID>tip</COMPONENT_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>usmlrh37.arrow.com</HOST_ID>
<HOST_NWADDR>192.168.226.25</HOST_NWADDR>
<MODULE_ID>esb.monitor.manager</MODULE_ID>
<THREAD_ID>29</THREAD_ID>
<USER_ID>soauser</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>192.168.226.25:62472:1175620406325:10</UNIQUE_ID><SEQ>87</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Activity monitor manager received an unexpected exception while processing the activity messages. Due to the error "ORA-01653: unable to extend table ORAESB.ESB_FAULTED_INSTANCE by 8 in tablespace USERS
", the activity message could not be stored.
</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[oracle.tip.esb.monitor.MonitorException: Due to the error "ORA-01653: unable to extend table ORAESB.ESB_FAULTED_INSTANCE by 8 in tablespace USERS
", the activity message could not be stored.
at oracle.tip.esb.monitor.manager.database.AbstractFaultPersister.persist(Unknown Source)
at oracle.tip.esb.monitor.manager.database.DBActivityMessageStore.persistMessage(Unknown Source)
at oracle.tip.esb.monitor.manager.database.DBActivityMessageStore.store(Unknown Source)
at oracle.tip.esb.monitor.manager.ActivityMessageManager.handleMessage(Unknown Source)
at oracle.tip.esb.server.dispatch.agent.ESBWork.process(Unknown Source)
at oracle.tip.esb.server.dispatch.agent.ESBWork.run(Unknown Source)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.sql.SQLException: ORA-01653: unable to extend table ORAESB.ESB_FAULTED_INSTANCE by 8 in tablespace USERS
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3074)
at oracle.oc4j.sql.proxy.PreparedStatementBCELProxy.executeUpdate(PreparedStatementBCELProxy.java:37)
at oracle.tip.esb.monitor.manager.database.oracle.OracleFaultPersister.persist(Unknown Source)
... 11 more
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2007-04-03T13:15:30.853-04:00</TSTZ_ORIGINATING>
<COMPONENT_ID>tip</COMPONENT_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>usmlrh37.arrow.com</HOST_ID>
<HOST_NWADDR>192.168.226.25</HOST_NWADDR>
<MODULE_ID>esb.server.dispatch.agent</MODULE_ID>
<THREAD_ID>29</THREAD_ID>
<USER_ID>soauser</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>192.168.226.25:62472:1175620406325:10</UNIQUE_ID><SEQ>87</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Failed to process deferred message</MSG_TEXT>
<SUPPL_DETAIL>oracle.tip.esb.server.common.exceptions.BusinessEventRejectionException: Error occured while handling monitor message dequeued from monitor topic. Message text is "<activityMessages><activityMessage order='0' type='2'><flowId>ECA97010E20611DBBFEBA191573C68FA</flowId><subFlowId>1175620530577</subFlowId><source>379D02F0DD5F11DBBF92D52E11DE817E</source><sourceQName>Demo_Inbound_Queue_to_DB.Demo_Inbound_Queue_to_DB_From_Queue</sourceQName><timestamp>1175620530577</timestamp><operationGUID>379E8990DD5F11DBBF92D52E11DE817E</operationGUID><operationQName>Demo_Inbound_Queue_to_DB.Demo_Inbound_Queue_to_DB_From_Queue_RS.Dequeue</operationQName><errorMessage><![CDATA[java.util.MissingResourceException
java.util.MissingResourceException
java.util.MissingResourceException
]]></errorMessage><exception><![CDATA[ORABPEL-13004
java.util.MissingResourceException
java.util.MissingResourceException
java.util.MissingResourceException
at oracle.tip.adapter.mq.inbound.MessageProcessor.translateMessage(MessageProcessor.java:388)
at oracle.tip.adapter.mq.inbound.MessageProcessor.processMessage(MessageProcessor.java:217)
at oracle.tip.adapter.mq.inbound.MessageProcessor.run(MessageProcessor.java:165)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
]]></exception><inPayload><![CDATA[ediExtract850Header 4085537732 8670SSD23962-29 008675989102007032220070322
[b]Can any one please help me.
Thanks
Rao.Hi Bastiaan,
Thanks for the reply. I have asked my DBA analyst to work on this. He has increased the table space. Now if I try to deploy the projects to ESB the following error is show.
Error 1:
error code: 1000 : 5
summary: /rh37/u01/app/soa/10.1.3.1/SOA/integration/esb/oraesb/deploy/OAGISApp_OAGIS.zip (Read-only file system)
Fix: Contact Oracle Support
Error 2:
Entity Deployment Failed
error code: 0 : 10
summary: An unhandled exception has been thrown in the ESB system. The exception reported is:
"oracle.tip.esb.infra.exception.ESBRuntimeException: An unhandled exception has been thrown in the ESB system. The exception
reported is: "java.lang.NullPointerException
at oracle.tip.esb.console.CacheManager.updateService(Unknown Source)
at oracle.tip.esb.console.CacheManager.replaceEntity(Unknown Source)
at oracle.tip.esb.console.XMLConsoleManagerImpl.updateServiceInRepository(Unknown Source)
at oracle.tip.esb.console.XMLConsoleManagerImpl.updateServiceFromElement(Unknown Source)
at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.createEntity(Unknown Source)
at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.createServices(Unknown Source)
at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.deploy(Unknown Source)
at oracle.tip.esb.configuration.deployment.DeploymentServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
at oracle.tip.esb.console.XMLConsoleManagerImpl.updateServiceInRepository(Unknown Source)
at oracle.tip.esb.console.XMLConsoleManagerImpl.updateServiceFromElement(Unknown Source)
at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.createEntity(Unknown Source)
at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.createServices(Unknown Source)
at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.deploy(Unknown Source)
at oracle.tip.esb.configuration.deployment.DeploymentServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at oracle.tip.esb.console.CacheManager.updateService(Unknown Source)
at oracle.tip.esb.console.CacheManager.replaceEntity(Unknown Source)
... 26 more
Fix: -
I tried to stop and start the OPMN. It didn't work. Can you please help me.
Thanks
Rao.
Message was edited by:
user552961 -
Error while deploying my project from jDeveloper to Weblogic Server 10.3
I am trying to deploy my project from Oracle jDeveloper to remote Weblogic Server.
I am getting an SQL Exception. See below log:
[11:09:55 PM] ---- Deployment started. ---- [11:09:55 PM] Target platform is (Weblogic 10.3). [11:09:55 PM] Running dependency analysis... [11:09:55 PM] Building... [11:10:04 PM] Deploying profile... [11:10:04 PM] Updating revision id for the SOA Project 'bpm_poc_project.jpr' to '1.0'.. [11:10:04 PM] Wrote Archive Module to /xyz/home/abc/jdeveloper/mywork/bpm_poc_app/bpm_poc_project/deploy/sca_bpm_poc_project_rev1.0.jar [11:10:04 PM] Deploying sca_bpm_poc_project_rev1.0.jar to partition "default" on server AdminServer [http://localhost:7001] [11:10:04 PM] Processing sar=/xyz/home/akrishn2/jdeveloper/mywork/bpm_poc_app/bpm_poc_project/deploy/sca_bpm_poc_project_rev1.0.jar [11:10:04 PM] Adding sar file - /xyz/home/akrishn2/jdeveloper/mywork/bpm_poc_app/bpm_poc_project/deploy/sca_bpm_poc_project_rev1.0.jar [11:10:04 PM] Preparing to send HTTP request for deployment [11:10:04 PM] Creating HTTP connection to host:localhost, port:7001 [11:10:04 PM] Sending internal deployment descriptor [11:10:04 PM] Sending archive - sca_bpm_poc_project_rev1.0.jar [11:11:26 PM] Received HTTP response from the server, response code=500 [11:11:26 PM] Error deploying archive sca_bpm_poc_project_rev1.0.jar to partition "default" on server AdminServer [http://localhost:7001] [11:11:26 PM] HTTP error code returned [500] [11:11:26 PM] Error message from server: There was an error deploying the composite on AdminServer: javax.ejb.EJBException: EJB Exception: ; nested exception is: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.1.2.v20101206-r8635): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLSyntaxErrorException: ORA-00904: "SUBTYPE": invalid identifier
Error Code: 904 Call: SELECT PROCESSID, ORGANIZATIONALUNITID, HASGLOBALCREATIONTASKS, TARGETNAMESPACE, COMPOSITENAME, STATUS, SCALABEL, PROCESSNAME, LABEL, DOMAINNAME, COMPOSITEDN, PROCESSTYPE, CREATIONDATE, SUBTYPE, REVISION, UNDEPLOYDATE FROM BPM_CUBE_PROCESS WHERE (((((DOMAINNAME = ?) AND (COMPOSITENAME = ?)) AND (REVISION = ?)) AND (SCALABEL = ?)) AND (PROCESSTYPE = ?)) bind => [default, bpm_poc_project, 1.0, soa_347b99f8-fa8d-4671-a2f8-2b5446723ab2, BPMN] Query: ReadAllQuery(name="CubeProcess.findCubeProcessesInComposite" referenceClass=CubeProcess sql="SELECT PROCESSID, ORGANIZATIONALUNITID, HASGLOBALCREATIONTASKS, TARGETNAMESPACE, COMPOSITENAME, STATUS, SCALABEL, PROCESSNAME, LABEL, DOMAINNAME, COMPOSITEDN, PROCESSTYPE, CREATIONDATE, SUBTYPE, REVISION, UNDEPLOYDATE FROM BPM_CUBE_PROCESS WHERE (((((DOMAINNAME = ?) AND (COMPOSITENAME = ?)) AND (REVISION = ?)) AND (SCALABEL = ?)) AND (PROCESSTYPE = ?))"); nested exception is: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.1.2.v20101206-r8635): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLSyntaxErrorException: ORA-00904: "SUBTYPE": invalid identifier
Error Code: 904 Call: SELECT PROCESSID, ORGANIZATIONALUNITID, HASGLOBALCREATIONTASKS, TARGETNAMESPACE, COMPOSITENAME, STATUS, SCALABEL, PROCESSNAME, LABEL, DOMAINNAME, COMPOSITEDN, PROCESSTYPE, CREATIONDATE, SUBTYPE, REVISION, UNDEPLOYDATE FROM BPM_CUBE_PROCESS WHERE (((((DOMAINNAME = ?) AND (COMPOSITENAME = ?)) AND (REVISION = ?)) AND (SCALABEL = ?)) AND (PROCESSTYPE = ?)) bind => [default, bpm_poc_project, 1.0, soa_347b99f8-fa8d-4671-a2f8-2b5446723ab2, BPMN] Query: ReadAllQuery(name="CubeProcess.findCubeProcessesInComposite" referenceClass=CubeProcess sql="SELECT PROCESSID, ORGANIZATIONALUNITID, HASGLOBALCREATIONTASKS, TARGETNAMESPACE, COMPOSITENAME, STATUS, SCALABEL, PROCESSNAME, LABEL, DOMAINNAME, COMPOSITEDN, PROCESSTYPE, CREATIONDATE, SUBTYPE, REVISION, UNDEPLOYDATE FROM BPM_CUBE_PROCESS WHERE (((((DOMAINNAME = ?) AND (COMPOSITENAME = ?)) AND (REVISION = ?)) AND (SCALABEL = ?)) AND (PROCESSTYPE = ?))"): EJB Exception: ; nested exception is: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.1.2.v20101206-r8635): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLSyntaxErrorException: ORA-00904: "SUBTYPE": invalid identifier
Error Code: 904 Call: SELECT PROCESSID, ORGANIZATIONALUNITID, HASGLOBALCREATIONTASKS, TARGETNAMESPACE, COMPOSITENAME, STATUS, SCALABEL, PROCESSNAME, LABEL, DOMAINNAME, COMPOSITEDN, PROCESSTYPE, CREATIONDATE, SUBTYPE, REVISION, UNDEPLOYDATE FROM BPM_CUBE_PROCESS WHERE (((((DOMAINNAME = ?) AND (COMPOSITENAME = ?)) AND (REVISION = ?)) AND (SCALABEL = ?)) AND (PROCESSTYPE = ?)) bind => [default, bpm_poc_project, 1.0, soa_347b99f8-fa8d-4671-a2f8-2b5446723ab2, BPMN] Query: ReadAllQuery(name="CubeProcess.findCubeProcessesInComposite" referenceClass=CubeProcess sql="SELECT PROCESSID, ORGANIZATIONALUNITID, HASGLOBALCREATIONTASKS, TARGETNAMESPACE, COMPOSITENAME, STATUS, SCALABEL, PROCESSNAME, LABEL, DOMAINNAME, COMPOSITEDN, PROCESSTYPE, CREATIONDATE, SUBTYPE, REVISION, UNDEPLOYDATE FROM BPM_CUBE_PROCESS WHERE (((((DOMAINNAME = ?) AND (COMPOSITENAME = ?)) AND (REVISION = ?)) AND (SCALABEL = ?)) AND (PROCESSTYPE = ?))"); nested exception is: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.1.2.v20101206-r8635): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLSyntaxErrorException: ORA-00904: "SUBTYPE": invalid identifier
Error Code: 904 Call: SELECT PROCESSID, ORGANIZATIONALUNITID, HASGLOBALCREATIONTASKS, TARGETNAMESPACE, COMPOSITENAME, STATUS, SCALABEL, PROCESSNAME, LABEL, DOMAINNAME, COMPOSITEDN, PROCESSTYPE, CREATIONDATE, SUBTYPE, REVISION, UNDEPLOYDATE FROM BPM_CUBE_PROCESS WHERE (((((DOMAINNAME = ?) AND (COMPOSITENAME = ?)) AND (REVISION = ?)) AND (SCALABEL = ?)) AND (PROCESSTYPE = ?)) bind => [default, bpm_poc_project, 1.0, soa_347b99f8-fa8d-4671-a2f8-2b5446723ab2, BPMN] Query: ReadAllQuery(name="CubeProcess.findCubeProcessesInComposite" referenceClass=CubeProcess sql="SELECT PROCESSID, ORGANIZATIONALUNITID, HASGLOBALCREATIONTASKS, TARGETNAMESPACE, COMPOSITENAME, STATUS, SCALABEL, PROCESSNAME, LABEL, DOMAINNAME, COMPOSITEDN, PROCESSTYPE, CREATIONDATE, SUBTYPE, REVISION, UNDEPLOYDATE FROM BPM_CUBE_PROCESS WHERE (((((DOMAINNAME = ?) AND (COMPOSITENAME = ?)) AND (REVISION = ?)) AND (SCALABEL = ?)) AND (PROCESSTYPE = ?))").
Can someone give some pointers ?
Edited by: 853032 on Apr 18, 2011 11:22 PMIf you can, the best way would be to to change the column name from SUBTYPE to something that isn't a SQL reserved key word.
You might get around this particular problem by adding @Column(name = "\"SUBTYPE\"") on your attribute. This will force eclipselink to add quotation marks in the generated SLQ, but I think it will cause problems when it comes to some more complicated queries.
In my opinion, the only safe way here is to not use column names that are in conflict with SLQ reserved key words.
Pedja -
Internal Server Error while deploying a project to a remote BPEL instance.
Some background. We were trying to use the adapters going out through iWay to hit a Siebel instance. Originally, we were using a BPEL VM for development, and trying to hit adapters on the iWay box. We found out that we needed to have BPEL and adapters installed in the OC4J container; so we rebuilt our iWay box.
So, now the iWay box has Oracle DB, Oracle App Server, BPEL, and adapters in the same OC4J container.
When you do an appserver install of BPEL, it doesn't install JDev; so we are doing development on our BPEL VM; or on a standalone version on the laptop (both give the same error.)
I can deploy the project locally to my laptop or the locally to the SOA(BPEL) VM, but when I try to deploy from either JDev to the BPEL server on iWay, we get:
Beginning Deployment Process...
Compiling C:\OraBPELPM_1\integration\jdev\jdev\mywork\AJ_Siebel\OracleCDHToSiebelAsyncCustomer\OracleCDHToSiebelAsyncCustomer.bpel
Compiling...
BPEL suitcase generated in: C:\OraBPELPM_1\integration\jdev\jdev\mywork\AJ_Siebel\OracleCDHToSiebelAsyncCustomer\output\bpel_OracleCDHToSiebelAsyncCustomer_1.0.jar
[1:55:05 PM] Successful compilation: 0 errors, 0 warnings.
Deploying to http://148.87.129.102:80 domain: default. Please wait....
[1:55:15 PM] Deployment failed.
Description of problem: Server error.Internal Server Error
Suggested solution: Please report this error to the adminsitrator.
I can hit the BPEL console on the http://148.87.129.102:80/BPELConsole link, so I know that's correct... (as well as the "Test Connection" works fine to that box.)
Anyone seen this before? Ideas?Got it..
I was using Fuego.Sql.DynamicSQL.close(Iterator)
For a an executeUpdate query which returns an int.
But I used it in a method and did not use that method inside my process or screenflow.
But it did not give me any error/exception while compiling it in Studio.
It gave me an exception while publishing in Enterprise.
This is strange.
It should have given me an error/exception while compiling itself rather than while publishing in Enterprise. -
OSB Error in deploying a project with jca file adapter
Hi,
I am facing an issue where I am getting an error when deploying a service from Eclipse. I am using OSB/SOA 11.1.1.5 2 node cluster. I have an OSB service where I am writing to a file and am using file adapater. I created a composite with file adapter to write a file then imported .jac, .wsdl and composite into eclipse and generated a business service out of .jca file. When I deploy the project from eclipse I am getting the below error and am not able to deploy the project.
Conflicts found during publish.
Invalid JCA transport endpoint configuration, exception: javax.resource.ResourceException: Cannot locate Java class oracle.tip.adapter.file.outbound.FileInteractionSpec
Cannot locate Java class oracle.tip.adapter.file.outbound.FileInteractionSpec
I have FileAdapter deployed and pointed to OSB manage servers cluster. Here is a snippet of config.xml.
<app-deployment>
<name>FileAdapter</name>
<target>SOA_Cluster,OSB_Cluster</target>
<module-type>rar</module-type>
<source-path>/app/oracle/fmw/Oracle_SOA1/soa/connectors/FileAdapter.rar</source-path>
<deployment-order>321</deployment-order>
<plan-dir xsi:nil="true"></plan-dir>
<plan-path>/app/oracle/shared/SOA_Cluster/dp/FileAdapterPlan.xml</plan-path>
<security-dd-model>DDOnly</security-dd-model>
<staging-mode>nostage</staging-mode>
</app-deployment>
Also inside console -> deployments -> FileAdapter -> Targets and OSB_Cluster is checked also.
Here is the .jca file
<adapter-config name="writeFile" adapter="File Adapter" wsdlLocation="writeFile.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/HAFileAdapter"/>
<endpoint-interaction portType="Write_ptt" operation="Write">
<interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
<property name="PhysicalDirectory" value="C:\ORACLE"/>
<property name="Append" value="false"/>
<property name="FileNamingConvention" value="a_%SEQ%.doc"/>
<property name="NumberMessages" value="1"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>
Any idea what might be wrong.
Thanks.I already have the fileAdapter JNDI is already configured in console. The error I am getting is during the deployment
Conflicts found during publish.
Invalid JCA transport endpoint configuration, exception: javax.resource.ResourceException: Cannot locate Java class oracle.tip.adapter.file.outbound.FileInteractionSpec
Cannot locate Java class oracle.tip.adapter.file.outbound.FileInteractionSpec
Thanks
Maybe you are looking for
-
Is it possible to resize the partitions without losing data?
I have following issue: I have dual-boot Arch with Windows XP. I created 4 partitions: 40GB XP's system disk (ntfs), 80GB ntfs data disk, 1GB swap and 25GB Linux partition. But I am running XP so rarely, that it is frustrating, that I have most of my
-
1) My Sd card reader stopped woking unexpectedly ...( i do need help on this ) 2)repair permissions does not work properly ,i mean there are a lot of problems that occur to be repaired but once i run the verify permissions again ,the problems do occu
-
Apache+tomcat+env vars ..?
I know this should proabably be posted in a tomcat-related forum, but it's worth a shot. I'm using apache 2.0.43, and tomcat 4.1.12, linked togeather with mod_jk on a linux-machine (redhat 8.0), and everything works just fine .. except for one thing.
-
Delete many text messages at once
Okay, I've done some reading. And this is honestly a BASIC feature that needs to be implemented into the iPhone. Blackberry can do it. Android can do it. Windows phone can do it. Yet the iPhone cannot? I have to honestly delete every single message t
-
Delete Employee Records in Infotype 14
Hi all, Is there any standard program that will delete records from infotype 14... Thanks a lot