Variable "inputVariable" does not have a part named "payload" - oracle

I am trying to deploy a composite I created in JDeveloper 12.1.3.0.0 to Weblogic 12.1.3.0.0. When I deploy from JDeveloper I get the following message on deployment.
[01:17:00 PM] Error deploying archive sca_MX_StormCreateUpdatePlantAcctWO_ABCS_req_rev1.0.jar to partition "WorkOrderServices" on server WLS_SOA1 [https://myip:8002]
[01:17:00 PM] HTTP error code returned [500]
[01:17:00 PM] Error message from server:
There was an error deploying the composite on WLS_SOA1: Deployment Failed: Error occurred during deployment of component: MX_StormCreateUpdatePlantAcctWO_ABCS_req to service engine: implementation.bpel, for composite: MX_StormCreateUpdatePlantAcctWO_ABCS_req: ORABPEL-05215
Error while loading process.
The process domain is encountering the following errors while loading the process "MX_StormCreateUpdatePlantAcctWO_ABCS_req" (composite "WorkOrderServices/MX_StormCreateUpdatePlantAcctWO_ABCS_req!1.0*soa_7dc4d4f8-7df0-465a-9d11-e7c1d8cb9c2d"): Validation of BPEL2.0 process failed..
This error contained an exception thrown by the underlying process loader module.
Check the exception trace in the log (with logging level set to debug mode). If there is a patch installed on the server, verify that the bpelcClasspath domain property includes the patch classes.
.
[01:17:00 PM] Check server log for more details.
[01:17:00 PM] Error deploying archive sca_MX_StormCreateUpdatePlantAcctWO_ABCS_req_rev1.0.jar to partition "WorkOrderServices" on server WLS_SOA1 [https://myip:8002]
[01:17:00 PM] Deployment cancelled.
[01:17:00 PM] ---- Deployment incomplete ----.
[01:17:00 PM] Error deploying archive file:/WorkOrder_EBS/MX_StormCreateUpdatePlantAcctWO_ABCS_req/deploy/sca_MX_StormCreateUpdatePlantAcctWO_ABCS_req_rev1.0.jar
(oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
This composite compiles fine in JDeveloper. In the WLS_SOA1-diagnostic.log I am seeing these errors.
[2016-06-13T13:16:57.542-05:00] [WLS_SOA1] [ERROR] [] [oracle.soa.bpel.engine.compiler] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: TX12238] [ecid: 921f7c10-6914-4003-96f8-df103a09a69a-0005c140,0] [APP: soa-infra] [DSID: 0000LLAykDqB1FELJ6U4Uf1NMlsk00007u] Validation of BPEL2.0 process failed.
[2016-06-13T13:16:57.542-05:00] [WLS_SOA1] [ERROR] [] [oracle.soa.bpel.engine.compiler] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: TX12238] [ecid: 921f7c10-6914-4003-96f8-df103a09a69a-0005c140,0] [APP: soa-infra] [DSID: 0000LLAykDqB1FELJ6U4Uf1NMlsk00007u] BPEL/MX_StormCreateUpdatePlantAcctWO_ABCS_req.bpel:71 error "element" is set to "ns3:LogEvent" on this <bpel:variable> but it cannot be resolved (check value of "element", imports, WSDLs or XSDs)., Suggested Fix : Make sure that value "ns3:LogEvent" is resolvable (check imports, value of "element").
[2016-06-13T13:16:57.543-05:00] [WLS_SOA1] [ERROR] [] [oracle.soa.bpel.engine.compiler] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: TX12238] [ecid: 921f7c10-6914-4003-96f8-df103a09a69a-0005c140,0] [APP: soa-infra] [DSID: 0000LLAykDqB1FELJ6U4Uf1NMlsk00007u] BPEL/MX_StormCreateUpdatePlantAcctWO_ABCS_req.bpel:81 error Variable "inputVariable" does not have a part named "payload" - check expression segment "$inputVariable.payload"
I have ran into similar ORABPEL-05215 errors before and resolved them by updating my MDS. I updated all the MDS files that this composite references. I have re-created the inputVariable to try to resolve this error message with no luck.

I was able to deploy after removing this file WorkOrderRouter_ep.wsdl and its reference in the composite.xml. After looking in the logs the WLS_SOA1-diagnostic.log had multiple entries for not being able to find XSD files that were not necessary to this composite. Turns out this WSDL was referencing them.

Related

I am getting an error while deploying artifacts on Tomcat Server

I've started to learn basic web application using IntelliJ/Tomcat. I've created a basic maven project. Added pom file, web.xml, spring-servlet.xml, web.xml and configured tomcat server to host locally.
The artifacts build without an issue but when I run the tomcat (select war file) - I get Artifact deployment error.
Any help much appreciated. Thanks!
Also, A month ago - I was able to deploy artifacts- but for some other project. I've tried everything from clearing cache, maven clean install, anti lock property= true in context.xml. I have no idea why tomcat is not running properly while it worked a few times earlier.
Tomcat 8.5.39; Intellij Ultimate2020.1.4 JDK=1.8.0_341
Here are the server logs
09-Nov-2022 12:22:21.804 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class [org.springframework.web.context.ContextLoaderListener]
09-Nov-2022 16:15:26.768 INFO [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
09-Nov-2022 16:15:26.628 WARNING [RMI TCP Connection(3)-127.0.0.1] org.apache.naming.NamingContext.lookup Unexpected exception resolving reference
java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
09-Nov-2022 16:15:22.181 WARNING [RMI TCP Connection(3)-127.0.0.1] org.apache.tomcat.util.descriptor.web.WebXml.setVersion Unknown version string [4.0]. Default version will be used.
09-Nov-2022 16:15:26.611 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to create initial connections of pool.
java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection

Not able to deploy keyclock quickstart example war in wildfly

I can't reproduce the tutorial to deploy this application on wildfly.
I downloaded the wildfly and started wildfly-19.1.0.Final/bin/standalone.sh
And when I execute from project directory mvn clean wildfly:deploy I get this error
15:12:55,016 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.module.service."deployment.app-authz-jee-vanilla.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.app-authz-jee-vanilla.war".main: WFLYSRV0179: Failed to load module: deployment.app-authz-jee-vanilla.war
at org.jboss.as.server#11.1.1.Final//org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:116)
at org.jboss.msc#1.4.11.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at org.jboss.msc#1.4.11.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
at org.jboss.msc#1.4.11.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at org.jboss.threads#2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads#2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at org.jboss.threads#2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads#2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: org.jboss.modules.ModuleNotFoundException: org.keycloak.keycloak-authz-client
at org.jboss.modules.Module.addPaths(Module.java:1266)
at org.jboss.modules.Module.link(Module.java:1622)
at org.jboss.modules.Module.relinkIfNecessary(Module.java:1650)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:299)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:283)
at org.jboss.as.server#11.1.1.Final//org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:93)
... 8 more
15:12:55,021 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "app-authz-jee-vanilla.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.module.service.\"deployment.app-authz-jee-vanilla.war\".main" => "WFLYSRV0179: Failed to load module: deployment.app-authz-jee-vanilla.war
Caused by: org.jboss.modules.ModuleNotFoundException: org.keycloak.keycloak-authz-client"}}
15:12:55,022 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "app-authz-jee-vanilla.war" was rolled back with the following failure message:
{"WFLYCTL0080: Failed services" => {"jboss.module.service.\"deployment.app-authz-jee-vanilla.war\".main" => "WFLYSRV0179: Failed to load module: deployment.app-authz-jee-vanilla.war
Caused by: org.jboss.modules.ModuleNotFoundException: org.keycloak.keycloak-authz-client"}}
15:12:55,034 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment app-authz-jee-vanilla.war (runtime-name: app-authz-jee-vanilla.war) in 11ms
I tried running on docker wildfly and other example applications and worked. I don't have any experience in java. What can I do to have this app up and running?
With the command wildfly-19.1.0.Final/bin/standalone.sh, you are running keycloak on Wildfly.
Please use a different Wildfly server to host your servlet application. To communicate with the Keycloak running on the other server, you need "Keycloak OpenID Connect Client Adapter" installed into your Wildfly server which runs the servlet application.
You may use this guide to install the keycloak adapter into the wildly server. After you install this adapter into the new Wildfly, org.keycloak.keycloak-authz-client module will be available on this Wildfly.
However still there is a blocker for the latest java version [above java 11].
In my case, the WildFly not started 100% successfully. In the 'standalone.xml' file's end, there are some ports which maybe not available to you. Check for the logs, disable/move conflicting ports.

Nifi-1.0 keeps crashing

I've installed NiFi 1.0 and imported a template.
I'm processing some files and after awhile NiFi crashes.
This is the error that I'm getting:
2018-10-09 18:10:07,416 ERROR [NiFi logging handler] org.apache.nifi.StdErr [Error] :10768:38: cvc-complex-type.2.4.a: Invalid content was found starting with element 'template'. One of '{processGroup, remoteProcessGroup, connection, controllerService}' is expected.

The Message-Driven EJB unable to connect JMS Destination stating Error creating the db_connection

we have Oracle OSB 11g which is connecting to Oracle 12C DB in remote location or a different LAN.
THE WebLogic EJBs connecting to Oracle AQs via JMS/JDBC and currently we are having issues with them.
the WLS logs says:
####<Sep 21, 2018 9:15:51.083 AM GMT+00:00> <Warning> <EJB> <10.170.128.102>
<osb02_m1> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default
(self-tuning)'> <<anonymous>> <>
<e10b4740d6c6fa2e:-5f6b2f84:165f9d83f34:-8000-0000000000000f87>
<1537521351083> <BEA-010096> <The Message-Driven EJB:
RequestEJB3103778799539238415X86e7f92.165e6e1ae31.X725d is unable to connect
to the JMS destination or bind to JCA resource adapter: queue/ProvRequestAQ.
Connection failed after 2,609 attempts. The MDB will attempt to
reconnect/rebind every 10 seconds. This log message will repeat every 600
seconds until the condition clears.>
####<Sep 21, 2018 9:15:51.083 AM GMT+00:00> <Warning> <EJB> <10.170.128.102>
<osb02_m1> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default
(self-tuning)'> <<anonymous>> <>
<e10b4740d6c6fa2e:-5f6b2f84:165f9d83f34:-8000-0000000000000f87>
<1537521351083> <BEA-010061> <The Message-Driven EJB:
RequestEJB3103778799539238415X86e7f92.165e6e1ae31.X725d is unable to connect
to the JMS destination: queue/ProvRequestAQ. The Error was:
oracle.jms.AQjmsException: Error creating the db_connection
Nested exception: java.lang.UnsupportedOperationException: Remote JDBC
disabled
Nested exception: java.lang.UnsupportedOperationException: Remote JDBC
disabled>
I searched in internet and found the solution that I have to add the below parameter and add to setDomainEnv.sh and restart the WebLogic admins and managed servers, but still this issue is not resolved. I also checked that the DB User used to connect the DB has enqueue/dequeue privileges over the Oracle queues.
Parameter was
WLS_JDBC_REMOTE_ENABLED="-Dweblogic.jdbc.remoteEnabled=true"
I think the parameter must be added to the startup parameters of your managed servers from your domain console. After adding the parameter restart your managed servers.
The requested parameter might give some trouble on weblogic 12.1.3. As a matter of fact the parameter is deprecated since weblogic 10.3.6.
If you are still in trouble try the following workaround:
https://docs.oracle.com/cd/E24329_01/web.1211/e24376/rmidriver.htm#JDBCP350
Might be helpful.

FileNotFound exception when launching an empty WebSphere server

There was no project deployed to the Websphere server, and I have yet to enable security feature on the WebSphere Server 7.0.
Could it be from previous attempts to create a server? I've not been successful. The directory C:\myworkspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\ does not exist because I deleted tmp1 folder in an attempt to clean my server environment. Repeat deleted and reinstalling the server does not help.
Here's the stacktrace:
[11/24/14 11:57:00:930 EST] 0000000e ApplicationMg E WSVR0100W: An error occurred initializing, MyApplication
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.NestedJarException: IWAE0008E An error occurred reading MyApplication.war from C:\myWorkspace
Stack trace of nested exception:
java.io.FileNotFoundException: C:\myworkspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\MyApplication (The system cannot find the path specified.)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:112)
at java.io.FileInputStream.<init>(FileInputStream.java:72)
at

Resources