Unable to deploy with tomcat
Hi
I have build an application in Netbeans.
I have configured and then started tomcat server from netbeans IDE following steps given in below link.
[http://blogs.sun.com/branajam/entry/registering_apache_tomcat_in_netbeans|http://blogs.sun.com/branajam/entry/registering_apache_tomcat_in_netbeans]
I am able to start and then stop tomcat successfully from within IDE.
But when I am trying to add this server in my application server list, I am unable to find this server.
Thats why I am unable to deploy my application in netbeans.
Please guide.
Thanks
I found it does not work for existing projects...
It works if I create a new project.
Thanks
Similar Messages
-
Unable to deploy BPEL with java embedding
Hi ,
I have created a simple BPEL Process with java embedding for over ruling the BPELinstance name in it .But I am unable to deploy as Jdeveloper is showing that jar files should be included in the classpath ,though I had included in the class path. Below are my code and the error which is shown by the Jdeveloper.
<bpelx:exec name="JavaSetTitle" language="java" version="1.4">
<![CDATA[
Element inVarElem = (Element)getVariableData("inputVariable"
, "payload"
, "/client:HelloWorldProcessRequest/client:input");
try
String inputdata = inVarElemOrpsId.getNodeValue();
String title = "HelloWorld " + inputdata;
setTitle(title);
addAuditTrailEntry("New Title is: >" + title + "<");
catch (Exception ex)
ex.printStackTrace();
}]]>
</bpelx:exec>
Error:
Error: Java compilation failed.
Failed to compile file(s) "TestBPEL.bpel".
Exception reported is: TestBPEL.bpel:64: Class bpel.testbpel.Element not found.
Element inVarElem = (Element)getVariableData("inputVariable"
^
TestBPEL.bpel:64: Class bpel.testbpel.Element not found.
Element inVarElem = (Element)getVariableData("inputVariable"
^
TestBPEL.bpel:69: Undefined variable or class name: inVarElemOrpsId
String inputdata = inVarElemOrpsId.getNodeValue();
^
3 errors
Please verify that file TestBPEL.bpel is valid java file or if all required libraries are included in your classpath.
classpath: ..\..\..\classes;..\..\ide\lib\javax-ide.jar;..\..\ide\lib\javatools.jar;..\..\ide\lib\ide.jar;..\..\jlib\jewt4.jar;..\..\jlib\share.jar;..\..\jlib\help4.jar;..\..\jlib\inspect4.jar;..\..\lib\xmlparserv2.jar;..\..\jdbc\lib\orai18n.jar;..\lib\jdev-ep.jar;..\..\jdk\lib\tools.jar;..\..\jdk\lib\dt.jar;..\lib\ext\jaxen-1.1-beta-4.jar;..\extensions\oracle.ide.10.1.3.jar;..\..\jlib\ojmisc.jar;..\extensions\oracle.jdeveloper.10.1.3.jar;..\lib\jdev.jar;..\lib\ojc.jar;..\..\jlib\regexp.jar;..\..\ant\lib\ant.jar;..\..\ant\lib\ant-..................Or try removing the client: from your original code
<bpelx:exec name="JavaSetTitle" language="java" version="1.4">
<![CDATA[
Element inVarElem = (Element)getVariableData("inputVariable"
, "payload"
, "/HelloWorldProcessRequest/input");
try
String inputdata = inVarElemOrpsId.getNodeValue();
String title = "HelloWorld " + inputdata;
setTitle(title);
addAuditTrailEntry("New Title is: >" + title + "<");
catch (Exception ex)
ex.printStackTrace();
}]]>
</bpelx:exec>cheers
James -
Unable to deploy CMB with microsfoft access database
Hi,
I saw the news:[email protected] at
http://forums.bea.com/bea/message.jspa?messageID=202177534.
I am not able to deploy the Container managed bean .
Am able to configure and deploy the connection pool
and data source using the sun.jdbc driver but the bean deployment is not
happening.
Server always threw some error as below
java.lang.NoClassDefFoundError: weblogic/jdbc/wrapper/JTSConnection
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
ClassLoader.java:476) .................
Error in admin console is also attached.
weblogic.management.ManagementRuntimeException: javax.management.InstanceNotFoundException: mydomain:Application=Emp,Name=Emp,Type=EJBComponent
at weblogic.management.configuration.EJBComponentMBean_Stub.getTargets(EJBComponentMBean_Stub.java:1089)
at .....
and soemtimes,
Exception:weblogic.management.ApplicationException: activate failed for acct Module: acct Error: Exception activating module: EJBModule(acct,status=PREPARED) Unable to deploy EJB: AccountEJB from acct.jar: Failed to Generate Wrapper Class. Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class at weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java:141) at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:73) at weblogic.jdbc.jts.Driver............
Looks like it is similar issue as that in the new
listed above.Am not able to find any wrapfact.jar in
my server/lib.
Am using evaluation copy of server811 on windows 2000
with sp 4 installed on my machine.
Please let me know of the pointers to this issue.
If some patches are there ,please send me the jar
files.
Thanks and Regards,
PoonkothaiIt looks like it's failing to deploy because the JMS resource hasn't been found.
Do you have the OJMS resource provider setup on OC4J? And the data source configured to point at the database hosting the AQ service is configured correctly?
Here's the steps I'm referring to from a version of README.txt I found:
1. The users need to configure a resource provider named "mdbdemo" at the
$J2EE_HOME/config/application.xml to access OJMS queues.
<resource-provider class="oracle.jms.OjmsContext" name="mdbdemo">
<description> OJMS/AQ </description>
<property name="datasource" value="jdbc/OracleDS"></property>
</resource-provider>
NOTE: Do not use a different name since the resource provider name is hardcoded in the MDB's deployment descriptors. Use name of "mdbdemo" only.
2. Configure the $J2EE_HOME/config/data-source.xml with the following entry as referenced above to connect to the database and schema used in "database setup".
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="OracleDS"
location="jdbc/OracleCoreDS"
xa-location="jdbc/xa/OracleXADS"
ejb-location="jdbc/OracleDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="jmsuser"
password="jmsuser"
url="jdbc:oracle:thin:@%DB_HOST%:%DB_PORT%:%DB_SID%"
inactivity-timeout="30"
/>
cheers
-steve-
Message was edited by:
sbutton -
Unable to deploy from Eclipse - Runner class cannot be initialized
Hello
two days ago, I installed the newest versions of Glassfish Tools together with the newest Eclipse Luna SR1
when trying to deploy, I am getting the following error message:
org.glassfish.tools.ide.admin.CommandException: Cannot initialize Runner class
at org.glassfish.tools.ide.admin.AdminFactory.newRunner(AdminFactory.java:180)
at org.glassfish.tools.ide.admin.AdminFactoryHttp.getRunner(AdminFactoryHttp.java:110)
at org.glassfish.tools.ide.admin.ServerAdmin.exec(ServerAdmin.java:75)
at oracle.eclipse.tools.glassfish.GlassfishServerBehaviourDelegate.publishDeployedDirectory(GlassfishServerBehaviourDelegate.java:608)
at oracle.eclipse.tools.glassfish.GlassfishV4ServerBehavior.publishModuleForGlassFishV3(GlassfishV4ServerBehavior.java:96)
at oracle.eclipse.tools.glassfish.GlassfishV4ServerBehavior.publishModule(GlassfishV4ServerBehavior.java:56)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:1091)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:1183)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:987)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3157)
at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:345)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
the same application works if deployed directly to the glassfish server
I did all the suggestions as mentioned in Unable to deploy app form Eclipse Luna on Glassfish 4.0 or 4.1 with JDK8 but without success.
Does anybody has an idea what the problem could be and how to track it down?
Thanks a lot!Hello Kostas
Thanks a lot for your help and hints! I am running Windows 7 64 Bit
I had Java 8, once with Release 20 and once with Release 25, installed - and thought that I pointed all to the newest version.
What helped in the end was to
- deinstall all Javas
- reboot
- installed newest JDK, without the "Public JRE"
- reboot
- set JAVA_HOME and appended the Java-bin-dir to the path-Variable
- reboot
- installed a fresh version of Glassfish
- configured a new Glassfish-Server on Eclipse
-> and now it runs perfectly!
Thanks again for your work and hints! -
Unable to deploy Web App in Exploded format
Using WLS 6.1 sp2, I am unable to deploy a web application successfully using the
web app "ora" from http://www.thejspbook.com/examples.jspbook.zip. I've moved
the /ora directory under the /WEB-INF/applications directory.
The error I am getting is:
java.lang.reflect.InvocationTargetException: weblogic.management.DistributedManagementException:
Distributed Management [1 exceptions]
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:543)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy9.addDeployment(Unknown Source)
at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
at $Proxy18.setTargets(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Distributed update exception
- remote object: efs-developer3:Location=efsserver,Name=efsserver,Type=ServerConfig
- remote server: weblogic.management.internal.RemoteMBeanServerImpl@5420eb
- actionName: addDeployment
- params: [Ljava.lang.Object;@10c03e
- signature: [Ljava.lang.String;@3d4a20
Distributed update exception
- remote object: efs-developer3:Location=efsserver,Name=efsserver,Type=ServerConfig
- remote server: weblogic.management.internal.RemoteMBeanServerImpl@5420eb
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1525)
at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:476)
at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:232)
at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3415)
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3384)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)
at weblogic.servlet.internal.WebAppServletContext.(WebAppServletContext.java:815)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:163)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy34.addWebDeployment(Unknown Source)
at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy9.addDeployment(Unknown Source)
at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
at $Proxy18.setTargets(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
--------------- nested within: ------------------
weblogic.j2ee.DeploymentException: Could not load ora - with nested exception:
[java.lang.StringIndexOutOfBoundsException: String index out of range: -1]
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:431)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:163)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy34.addWebDeployment(Unknown Source)
at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy9.--------------- nested within: ------------------
weblogic.management.console.utils.SetException: An error occurred while updating
Targets-Server on Proxy for efs-developer3:Application=ora,Name=ora,Type=WebAppComponent
- with nested exception:
[java.lang.reflect.InvocationTargetException - with target exception:
[weblogic.management.DistributedManagementException: Distributed Management [1
exceptions]]]
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:151)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Any help is appreciated.
Thanks,
Dennisyou are probably using a older version of 6.1. please use the latest service pack. Service Packs are mostly bug fix releases and they are safe to be upgraded even on production systems. Please note - we always recommend using the latest service pack
http://www.sun.com/download/products.xml?id=47d5d3eb -
Jenkins not deploying on Tomcat; SSH Service not starting
So I've had a couple of problems happening. My first problem is that even though sshd.service and sshd.socket are enabled with systemctl, it does not automatically start. There are no errors reported in journalctl, it just does not start. When issuing systemctl status sshd.service and systemctl status sshd.socket, there is nothing to report. Once I manually start them, there are no errors reported, and everything works as expected.
sshd.socket
[Unit]
Conflicts=sshd.service
Wants=sshdgenkeys.service
[Socket]
ListenStream=22
Accept=yes
[Install]
WantedBy=sockets.target
sshd.service
[Unit]
Description=OpenSSH Daemon
Wants=sshdgenkeys.service
After=sshdgenkeys.service
After=network.target
[Service]
ExecStart=/usr/bin/sshd -D
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target
# This service file runs an SSH daemon that forks for each incoming connection.
# If you prefer to spawn on-demand daemons, use sshd.socket and [email protected].
The second problem is my tomcat service. It won't start the Jenkins. I've linked the jenkins.war file to the webapps folder. When I start tomcat using systemctl start tomcat8, this is the output of journalctl -xn
-- Logs begin at Sat 2014-08-30 06:46:59 PDT, end at Sun 2014-09-14 15:45:38 PDT. --
Sep 14 15:45:15 localhost jsvc.exec[1344]: Sep 14, 2014 3:45:15 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-nio-8080"]
Sep 14 15:45:16 localhost jsvc.exec[1344]: Sep 14, 2014 3:45:16 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-nio-8009"]
Sep 14 15:45:16 localhost jsvc.exec[1344]: Sep 14, 2014 3:45:16 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-nio-8080"]
Sep 14 15:45:16 localhost jsvc.exec[1344]: Sep 14, 2014 3:45:16 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-nio-8009"]
Sep 14 15:45:27 localhost systemd[1]: [/usr/lib/systemd/system/systemd-journal-upload.service:20] Unknown lvalue 'After' in section 'Install'
Sep 14 15:45:38 localhost systemd[1]: Failed to reset devices.list on /system.slice: Invalid argument
Sep 14 15:45:38 localhost jsvc[28476]: Cannot locate Java Home
Sep 14 15:45:38 localhost systemd[1]: tomcat8.service: control process exited, code=exited status=1
Sep 14 15:45:38 localhost systemd[1]: Failed to start Tomcat 8 servlet container.
-- Subject: Unit tomcat8.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Unit tomcat8.service has failed.
-- The result is failed.
Sep 14 15:45:38 localhost systemd[1]: Unit tomcat8.service entered failed state.
Here is the tomcat8.service file before my changes, as suggested here
[Unit]
Description=Tomcat 8 servlet container
After=network.target
[Service]
Type=forking
PIDFile=/var/run/tomcat8.pid
Environment=CATALINA_PID=/var/run/tomcat8.pid
Environment=TOMCAT_JAVA_HOME=/usr/lib/jvm/java-7-openjdk
Environment=CATALINA_HOME=/usr/share/tomcat8
Environment=CATALINA_BASE=/usr/share/tomcat8
Environment=CATALINA_OPTS=
ExecStart=/usr/bin/jsvc \
-Dcatalina.home=${CATALINA_HOME} \
-Dcatalina.base=${CATALINA_BASE} \
-Djava.io.tmpdir=/var/tmp/tomcat8/temp \
-cp /usr/share/java/commons-daemon.jar:/usr/share/java/eclipse-ecj.jar:${CATALINA_HOME}/bin/bootstrap.jar:${CATALINA_HOME}/bin/tomcat-juli.jar \
-user tomcat8 \
-java-home ${TOMCAT_JAVA_HOME} \
-pidfile /var/run/tomcat8.pid \
-errfile SYSLOG \
-outfile SYSLOG \
$CATALINA_OPTS \
org.apache.catalina.startup.Bootstrap
ExecStop=/usr/bin/jsvc \
-pidfile /var/run/tomcat8.pid \
-stop \
org.apache.catalina.startup.Bootstrap
[Install]
WantedBy=multi-user.target
And after
[Unit]
Description=Tomcat 8 servlet container
After=network.target
[Service]
Type=forking
PIDFile=/var/run/tomcat8.pid
Environment=CATALINA_PID=/var/run/tomcat8.pid
Environment=TOMCAT_JAVA_HOME=/usr/lib/jvm/java-7-openjdk
Environment=CATALINA_HOME=/usr/share/tomcat8
Environment=CATALINA_BASE=/usr/share/tomcat8
Environment=CATALINA_OPTS=-DJENKINS_HOME=/usr/share/java/jenkins
ExecStart=/usr/bin/jsvc \
-Dcatalina.home=${CATALINA_HOME} \
-Dcatalina.base=${CATALINA_BASE} \
-Djava.io.tmpdir=/var/tmp/tomcat8/temp \
-cp /usr/share/java/commons-daemon.jar:/usr/share/java/eclipse-ecj.jar:${CATALINA_HOME}/bin/bootstrap.jar:${CATALINA_HOME}/bin/tomcat-juli.jar \
-user tomcat8 \
-java-home ${TOMCAT_JAVA_HOME} \
-pidfile /var/run/tomcat8.pid \
-errfile SYSLOG \
-outfile SYSLOG \
$CATALINA_OPTS \
org.apache.catalina.startup.Bootstrap
ExecStop=/usr/bin/jsvc \
-pidfile /var/run/tomcat8.pid \
-stop \
org.apache.catalina.startup.Bootstrap
[Install]
WantedBy=multi-user.target
EDIT:
The SSHD problem is fixed. I read more closely at the sshd.socket config, and it clearly states it conflicts with sshd.service. I disabled service and everything works fine. But I am still having trouble getting Jenkins to work with Tomcat.
Last edited by ZMoore (2014-09-15 00:33:18)Thank you, but the problem is a little different from that. These are
exploded web apps outside the applications dir. I deployed them
through the console initially; on the other servers, when WL restarts,
the apps are deployed back to their targets just fine. It's only this
box that loses sense of the targets on WL restart.
We're on 6.1, so a few people have suggested upgrading to 6.1 sp4 --
they've said they've seen this problem, and the sp corrects it.
That said, this is a production box and upgrading it is a hassle. I'll
get started on scheduling that, but if anyone has any ideas in the
meantime, I'd greatly appreciate it. If not, thanks anyway. :)
Rob
"Deepak Vohra" <[email protected]> wrote in message news:<3eebae8e$[email protected]>...
WLServer should start in development mode for a application
in the applications dir to deploy.
STARTMODE=false
[email protected] (Rob Young) wrote:
On one of our production servers (just one), when I restart weblogic,
my web applications are not deploying; I have to deploy them manually.
This is bad, obviously, because the server won't restore properly
after a restart.
After a while, I get target="box,box,box,box" that represents the
multiple times I've deployed that application to the target "box".
From config.xml:
<Application Deployed="true" Name="revx" Path="F:\revx">
<WebAppComponent Name="revx"
Targets="giocm,giocm,giocm,giocm,giocm,giocm,giocm"
URI="revx"/>
</Application>
The operating system is Windows 2000 5.00.2195 ... everything was
working fine until I re-installed the Windows service this weekend.
I've checked permissions on the folder, on the file, and who the
service is running as. I've manually edited config.xml to remove the
duplicate target entries.
I've seen some other posts from people who have also experienced
applications not deploying on WL restart, but I don't see any
resolutions.
Rob -
Connection reset error while calling web service deployed on tomcat
Hello Friends,
I am trying to invoke a web service from web dynpro application. The web service is deployed on tomcat 5.5 server.
I am creating an adaptive web service model using wsdl file. The model gets created without any error.
But when application is deployed and run it is giving following exception:
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:254)
at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
... 102 more
I tried to call the service from a simple java application. There the service works fine.
Also, in the web services navigator, if I specify the wsdl url for testing it gives the same error of "Connection reset".
I don't think this is a proxy server issue as the tomcat is within the local network.
Can someone please help me with this?
Thanks and regards,
Mayuresh
Edited by: Mayuresh Kanvinde on Mar 27, 2008 7:03 PMHi Sumit,
Thanks for the reply.
Here is the stack trace:
com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'http://<host>:<port>/WebServicesTest/DummyWebService?wsdl' and service factory configuration 'null'
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:422)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:326)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:199)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1035)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:248)
at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)
at com.tcs.vis.Vishy.<init>(Vishy.java:73)
at com.tcs.app.AppView.wdDoInit(AppView.java:101)
at com.tcs.app.wdp.InternalAppView.wdDoInit(InternalAppView.java:143)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:748)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:283)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:150)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:50)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:91)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:420)
... 45 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:147)
... 49 more
Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Connection reset -> java.net.SocketException: Connection reset
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
... 50 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:220)
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:220)
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
at com.sap.engine.services.webservices.jaxm.soap.LimitedInputStream.read(LimitedInputStream.java:61)
at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.readData(EncodedDataReader.java:269)
at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.fetchData(EncodedDataReader.java:332)
at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.read(EncodedDataReader.java:165)
at com.sap.engine.lib.xml.parser.helpers.AdvancedXMLStreamReader.read(AdvancedXMLStreamReader.java:143)
at com.sap.engine.lib.xml.parser.helpers.AdvancedXMLStreamReader.addInputFromInputStream(AdvancedXMLStreamReader.java:292)
at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:220)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:160)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:261)
at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1023)
... 52 more
Thanks and regards,
Mayuresh
Edited by: Mayuresh Kanvinde on Mar 28, 2008 1:10 PM -
Unable to deploy EJB 3.0 on JBoss 4.0.4GA - no home interface
I am stuck in that my EJB3.0 project (one entity bean, one session bean and one client test bean) builds OK but somehow Eclipse Europa is unable to deploy it to JBoss (4.0.4 GA and 5 Beta) -- something to do with JNDI error as it involves javax.naming exceptions.
My Eclipse directory structure is :-
Titan (project name)
|
ejb - com.titan (package name)
| |
| domain -> Cabin.java (my entity bean)
| |
| travelagent -> TravelAgentBean.java
| -> TravelAgentRemote.java
|
META_INF -> ejb-jar.xml
-> MANIFEST.MF
-> persistence.xml
My ejb-jar.xml is :
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar id="ejb-jar_ID" version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
<display-name>Titan</display-name>
<enterprise-beans>
<!-- Session Beans -->
<session >
<display-name>TravelAgentBean</display-name>
<ejb-name>com/titan/travelagent/ejb/TravelAgentBean</ejb-name>
<remote>com.titan.travelagent.ejb.TravelAgentRemote</remote>
<ejb-class>com.titan.travelagent.ejb.TravelAgentBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
And my persistence.xml is :
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
<persistence-unit name="Titan">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<class>com.titan.domain.Cabin</class>
<properties>
<property name="hibernate.connection.driver_class" value="oracle.jdbc.OracleDriver" />
<property name="hibernate.connection.url"
value="jdbc:oracle:thin:@localhost:1521:XE" />
<property name="hibernate.connection.username" value="SYSTEM" />
<property name="hibernate.connection.password" value="Swordfish1" />
</properties>
</persistence-unit>
</persistence>
I right-click on the Titan project name and choose Build Project. I get the following error message :-
13:01:06,046 WARN [verifier] EJB spec violation:
Bean : com/titan/travelagent/TravelAgentBean
Section: 7.11.2
Warning: A Session bean must implement, directly or indirectly, the javax.ejb.SessionBean interface.
13:01:06,046 WARN [verifier] EJB spec violation:
Bean : com/titan/travelagent/TravelAgentBean
Section: 7.11.3
Warning: A Session bean must define at least one ejbCreate method.
13:01:06,046 WARN [verifier] EJB spec violation:
Bean : com/titan/travelagent/TravelAgentBean
Section: 7.11.1
Warning: The session bean must implement either a remote home and remote, or a local home and a local interface or a service endpoint interface.
13:01:06,062 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.0.4.GA/server/default/deploy/Titan.jar
I don't understand, because as of EJB 3.0, you don't really need a home or local-home interface anymore...Using @SecurityDomain("exemplo1") in my EJB and NOT providing jboss.xml, it works.
@SecurityDomain("exemplo1")
@RolesAllowed("yyy")
@Stateless(name="UserManagement")
public class UserManagementBean implements UserManagement {
public void add(User user) {
}Damn! This is some serious shit... I don�t want to configure this in every single EJB.
EJB 3.0 is nice, but some small trivial details like this and others, that was forgotten by Sun, piss me off! -
Unable to deploy a cmp 2.0 ejb to wls 8.1
windows Xp professional
IBM DB2
JBuilder 9.0
i build a ejb jar with jb9.0 wizard, then deploy it to wls.
but ...
D:\servers\bea\jdk141_03\bin\javaw -classpath
D:\servers\bea\weblogic81\server\lib\weblogic_sp.jar;D:\servers\bea\weblogic81\server\lib\weblogic.jar;D:\servers\bea\weblogic81\server\lib\webservices.jar;
weblogic.Deployer -user jerez -adminurl http://kame_house:7001
-password kinchin4587 -activate -name water -upload -source
D:/workspace/jbproject/water/water.jar -targets jerez
Initiated Task: [4] [Deployer:149026]Deploy application water on jerez.
Task 4 failed: [Deployer:149026]Deploy application water on jerez.
Deployment failed on Server jerez
weblogic.management.DeploymentException:
Exception:weblogic.management.ApplicationException: activate failed for
water
Module: water Error: Exception activating module:
EJBModule(water,status=PREPARED)
Unable to deploy EJB: Angle from water.jar:
java.lang.AbstractMethodError:
weblogic.jdbc.wrapper.DatabaseMetaData_COM_ibm_db2_jdbc_app_DB2DatabaseMetaData.supportsBatchUpdates()Z
at
weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyBatchUpdatesSupported(RDBMSPersistenceManager.java:2081)
at
weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:200)
at
weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:217)
at
weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:184)
at weblogic.ejb20.manager.DBManager.setup(DBManager.java:164)
at
weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1004)
at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1322)
at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:610)
at
weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3012)
at
weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2076)
at
weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2057)
at
weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2624)
at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2547)
at
weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2349)
at
weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2431)
at
weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2343)
at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2511)
at
weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at
weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at
weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at
weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)Hi,
How did you uninstall the graphics drvier? From Devices manager or Programs and Features?
Please open Control Panel\All Control Panel Items\Programs and Features
And then, search for "NVIDIA Graphics Driver" and then select the "Change/Remove" button to begin the uninstall process.
Next, once the uninstall has completed, reboot Windows so that the other NVIDIA components can be removed as well.
If the issue still persists, since this driver that you recently installed caused problems with your PC, you can restore Windows back to an earlier point in time.
http://windows.microsoft.com/en-us/windows-8/restore-refresh-reset-pc
Regards,
Kelvin Xu
TechNet Community Support -
Unable to deploy a jar on WEBLOGIC 8
Hi everybody,
I have a problem to deploy a jar file on my server IOException ....
Informations :
Solaris 8
WEBLOGIC 8 SP1
ORACLE 9.0.2
Best regards,
Alain.
The time this task was completed.
Exception: Exception:weblogic.management.ApplicationException: prepare failed
for ReferenceDataEJB.jar Module: ReferenceDataEJB.jar Error: Exception preparing
module: EJBModule(ReferenceDataEJB.jar,status=NEW) Unable to deploy EJB: ReferenceDataEJB.jar
from ReferenceDataEJB.jar: Compiler failed executable.exec at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:468) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:401)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1275) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:473)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2842)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1529)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1183)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1026)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2568)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2520)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2450)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:829)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:538)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:496)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
java.io.IOException: Compiler failed executable.exec at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:505)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:364) at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:372) at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:468) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:401)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1275) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:473)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2842)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1529)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1183)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1026)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2568)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2520)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2450)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:829)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:538)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:496)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)Hello,
Thanks a lot for your answer
This step alone work very well. So i have supected and bad domaine configuration
because I have deployed the same application onto another machine and everything
was good (and the OS is the same).
On the production machine (where there is a problem), i have check BEA_HOME, WL_HOME,
JAVA_HOME and everything is good.
Have you another tip for me ?
Regards,
Alain.
"Deepak Vohra" <[email protected]> wrote:
>
Compile ReferenceDataEJB.jar with ejbc before deploying the jar file.
"Compiler failed executable.exec at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)"
is a ejbc error.
thanks,
Deepak
"GREGOIRE Alain" <[email protected]> wrote:
Hi everybody,
I have a problem to deploy a jar file on my server IOException ....
Informations :
Solaris 8
WEBLOGIC 8 SP1
ORACLE 9.0.2
Best regards,
Alain.
The time this task was completed.
Exception: Exception:weblogic.management.ApplicationException: prepare
failed
for ReferenceDataEJB.jar Module: ReferenceDataEJB.jar Error: Exception
preparing
module: EJBModule(ReferenceDataEJB.jar,status=NEW) Unable to deployEJB:
ReferenceDataEJB.jar
from ReferenceDataEJB.jar: Compiler failed executable.exec at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:468)at
weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:401)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1275)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:473)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2842)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1529)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1183)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1026)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2568)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2520)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2450)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:829)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:538)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:496)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
java.io.IOException: Compiler failed executable.exec at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:505)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:364)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:372)
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:468)at
weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:401)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1275)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:473)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2842)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1529)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1183)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1026)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2568)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2520)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2450)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:829)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:538)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:496)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:151) -
I am experiencing the most bizarre thing that so far I am unable to reproduce with my own visits to the site.
After restarting Apache2 my cacti graphs show that the child processes increment consistently over the course of a day without dropping back down during off hours. This behavior eventually leaves the website inaccessible...
Looking at server-status it is filled with Ws (Sending Reply) and GET calls to my cfm applications :
Current Time: Tuesday, 22-Jul-2014 16:33:00 PDTRestart Time: Monday, 21-Jul-2014 22:51:12 PDTParent Server Generation: 0Server uptime: 17 hours 41 minutes 48 secondsTotal accesses: 194844 - Total Traffic: 3.8 GBCPU Usage: u201.55 s34.46 cu0 cs0 - .37% CPU load3.06 requests/sec - 63.2 kB/second - 20.6 kB/request73 requests currently being processed, 4 idle workers
WWWWWWWWWWWWWWWWWWWWWWWWWKWWWWWWWWWWWWWWWWWCWWWWW_WWWWWWCWWW_WWW _WKW...KWW.W_KWW....W........................................... ................................................................ ................................................................
Scoreboard Key:
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"C" Closing connection, "L" Logging, "G" Gracefully finishing,
"I" Idle cleanup of worker, "." Open slot with no current process
Srv
PID
Acc
M
CPU
SS
Req
Conn
Child
Slot
Client
VHost
Request
0-0
15074
0/46/1370
W
7.39
46158
0
0.0
0.44
23.89
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=7000 HTTP/1.1
1-0
11563
0/47/468
W
2.75
58867
0
0.0
4.69
13.64
192.168.1.10
www.mysite.edu
GET /catalog/index.cfm?courselist=list&dept=&searchc=PEHW%20148
2-0
12906
0/65/884
W
7.30
54536
0
0.0
0.80
14.62
192.168.1.10
www.mysite.edu
GET /athletics/resources/nwaacc-athlete-of-the-week/ HTTP/1.1
3-0
13840
0/41/1085
W
4.01
51162
0
0.0
0.56
20.57
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=17001 HTTP/1.1
4-0
15928
0/20/1635
W
5.40
43715
0
0.0
0.06
41.37
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=37000 HTTP/1.1
5-0
18774
0/19/2387
W
0.33
34564
0
0.0
0.24
52.70
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=19009 HTTP/1.1
6-0
4321
0/36/6612
W
3.61
13200
0
0.0
0.28
129.74
192.168.1.10
www.mysite.edu
GET /directory/index.cfm?directory=department&deptexp=28011 HTT
7-0
13077
0/0/808
W
0.42
54383
0
0.0
0.00
24.81
192.168.1.10
www.mysite.edu
GET /directory/index.cfm?directory=department&deptexp=6005 HTTP
8-0
16488
0/118/1673
W
12.39
40692
0
0.0
1.30
35.44
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=31003 HTTP/1.1
9-0
10726
0/15/110
W
0.58
61963
0
0.0
0.05
1.83
192.168.1.10
www.mysite.edu
GET /directory/index.cfm?directory=All&index=Q HTTP/1.1
10-0
13154
0/1/688
W
0.00
54165
0
0.0
0.00
16.83
192.168.1.10
www.mysite.edu
GET /directory/?directory=All&firstname=Patrick&lastname=Murphy
11-0
12590
0/25/516
W
4.45
55851
0
0.0
0.76
11.19
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=4000 HTTP/1.1
12-0
12551
0/13/454
W
1.84
56055
0
0.0
0.38
10.00
192.168.1.10
www.mysite.edu
GET /directory/index.cfm?directory=department&deptexp=20001 HTT
13-0
13333
0/23/626
W
3.86
53189
0
0.0
0.57
11.66
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=31005 HTTP/1.1
14-0
12410
0/13/387
W
2.70
56484
0
0.0
0.42
10.55
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=6003 HTTP/1.1
15-0
13162
0/70/389
W
10.81
53114
0
0.0
0.86
5.60
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=6005 HTTP/1.1
16-0
12309
0/22/275
W
2.23
56878
0
0.0
0.43
3.91
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=20005 HTTP/1.1
17-0
13163
0/57/341
W
11.85
53120
0
0.0
1.38
6.49
192.168.1.10
www.mysite.edu
GET /catalog/index.cfm?courselist=list&dept=&searchc=ENGR%26%20
I have straced a hung process to only find the following :
strace -p 6472
Process 6472 attached - interrupt to quit
read(23,
Another interesting bit of info, none of these GET requests make it into my access.log file which I find very peculiar as well.
Here are my CF Specs
Server Details
Server Product ColdFusion
Version 10,0,13,287689
Tomcat Version 7.0.23.0
Edition Enterprise
Serial Number
Operating System UNIX
OS Version 3.2.0-65-generic
Update Level /opt/coldfusion10/cfusion/lib/updates/chf10000013.jar
Adobe Driver Version 4.1 (Build 0001)
JVM Details
Java Version 1.6.0_29
Java Vendor Sun Microsystems Inc.
Here are my Apache2 Specs
Server version: Apache/2.2.22 (Ubuntu)
Server built: Apr 17 2014 21:49:25
Server's Module Magic Number: 20051115:30
Server loaded: APR 1.4.6, APR-Util 1.3.12
Compiled using: APR 1.4.6, APR-Util 1.3.12
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/etc/apache2"
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="mime.types"
-D SERVER_CONFIG_FILE="apache2.conf"
I am hoping this is no normal behavior for Coldfusion 10.
Many thanks in advance.We're having the same problem, although with CF11.
-
Webutil error "unable to communicate with runtime process."
Hi,
Yesterday I configured webutil with Developer 10g (9.0.4).
I used webutil_106.zip and jacob_18.zip.
I succesfully deploy a form that display the selection file dialog with the function:
CLIENT_GET_FILE_NAME
Today I tried to test again the form, and I got an error when the form is opening, I review the log and I find "unable to communicate with runtime process.".....
I didn't change any configuration... what I'm doing wrong..... It just work great yesterday!!!!
I tried signing again the jacob.jar and frmwebutil.jar files..... However I still have the error.......
Any help is welcome....
The error in the log:
09/03/25 10:57:45 Started
09/03/25 10:57:55 forms90web: jsp: init
09/03/25 10:57:55 forms90web: f90servlet: init
09/03/25 10:57:55 forms90web: FormsServlet init():
configFileName: c:\dev10g/forms90/server/formsweb.cfg
testMode: false
09/03/25 10:57:55 forms90web: 9.0.4.0.0 Started
09/03/25 10:57:56 forms90web: l90servlet: init
09/03/25 10:57:56 forms90web: ListenerServlet init()
09/03/25 10:58:02 forms90web: Forms session <1> aborted: unable to communicate with runtime process.
09/03/25 10:58:02 forms90web: Forms session <1> exception stack trace:
java.io.IOException: FRM-93000: Unexpected internal error.
Details : No HTTP headers received from runform
at oracle.forms.servlet.ListenerServlet.forwardResponseFromRunform(Unknown Source)
at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
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.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
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)
09/03/25 11:00:58 forms90web: l90servlet: destroy
09/03/25 11:00:58 forms90web: 9.0.4.0.0 Stopped
09/03/25 11:00:58 Stopped (Shutdown executed by jazn.com/admin from 127.0.0.1 (localhost))
Edited by: Santiago on 25/03/2009 11:23 AMI Find the way, It's OK now.
When I use the webutil.olb in a form. I chose "Subclass", It's necessary to choose "Copy". -
Unable to Deploy Applications: "process is not defined in the descriptor"
All
I'm having a fairly serious issue here trying to take an LCA from one environment and get it in another environment. Both the source and destination environments are LCES 2.5 (LCES 2 with SP2). I have roughly 6 applications and there are some far dependencies (one application referencing an asset of another application) therein. I've taken an LCA of all these applicaitons from the source environment and the LCA imports just fine in the destination environment but I am unable to deploy any of the applications that have far dependencies. The error I consistently get when I attempt to deploy any application that has a far dependency is:
[Some process name].process is not defined in the descriptor.
I have tried all of the following:
1) Taking 1 LCA of all applications together
2) Taking multiple LCAs where each LCA contains only one application
3) Taking multiple LCAs where each LCA includes an application as well as all far dependencies for that application
Regardless of what I try, they won't deploy. I can import the LCA and I can get the applications in Workbench and play around with them but they simply won't deploy. I've also attempted to manually fix all depencies within the processes themselves but that doesn't work either.
Any help would be appreciated.Just wanted to follow up on the solution to my issue.
It appears the issue centers around circular far dependencies. In general, it seems LiveCycle chokes when two applications each reference one another. Note that I'm not talkinng about true circular referencing here wherein one process within application A references a process in application B while that same process refers back to the original process in application A. In fact, although I haven't tested recently, I believe LiveCycle may actually catch this kind of issue. The circular far dependencies I'm talking about is simply where a process in application A (call it a1) references a process in application B (call it b1) while a process in application B (call it b2) references a process in applicatoin A (call it a2). Apparently this kind of circular referencing causes the deployment of said applications to choke.
The fix was tedious as I had to manually delete all of the far dependencies from both application, deploy those two applications to get them into the runtime, and then implement those dependencies again.
Going forward it seems like a best practice to only ever have 1 direction for dependencies for any application. -
HTTP 500 server error as follows:
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
An error occurred at line: 2 in the jsp file: /listStore.jsp
*line#2 is the usebean statement in the jsp...
NOTE: new machine, new configuration... this same servelt/jsp/bean work great on another machine with tomcat 3...
so this will have something to do with tomcat configuation... believe that the configuration is set to not compile with deprecation.. would like to know where to change that...I guess the problem comes from jdk 1.4 ...deprecation of sun.tools.javac.Main prevents compilation in jasper...
-
JBO error deploying under Tomcat 3.2.2
I've created the JSP BC4J application and deployed under Tomcat. I've followed Chris Schalk's tips on adding the jar file in the CLASSPATH( for Tomcat.bat). But, I still get folowing errors:
Error: 500
Location: /BugEnter_html/ReportView_Insert.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPC:\jakarta-tomcat-3.2.2\work\localhost_8080%2FBugEnter_html\_0002fReportView_0005fInsert_0002ejspReportView_0005fInsert_jsp_0.java:14: Package oracle.jbo not found in import.
import oracle.jbo.*;
^
C:\jakarta-tomcat-3.2.2\work\localhost_8080%2FBugEnter_html\_0002fReportView_0005fInsert_0002ejspReportView_0005fInsert_jsp_0.java:16: Package oracle.jdeveloper.html not found in import.
import oracle.jdeveloper.html.*;
^
C:\jakarta-tomcat-3.2.2\work\localhost_8080%2FBugEnter_html\_0002fReportView_0005fInsert_0002ejspReportView_0005fInsert_jsp_0.java:17: Package oracle.jbo.html.databeans not found in import.
import oracle.jbo.html.databeans.*;
^
3 errors
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
Can someone please tell me how can I solve this problem?
Please help!!!
ARFor TomCat 3.2.2 you will need to modify tomcat.bat so that also *.zip is added to the classpath. (look for the line that adds *.jar, duplicate it and change .jar in .zip)
In TomCat 3.2.3 this is changed. (For 3.2.3 they changed Tomcat.bat so it now adds *.* from tomcat/lib to the classpath)
Maybe you are looking for
-
DVD drive not detected (K9N2GM-FD)
For some reason my motherboard( K9N2GM-FD) is not detecting my DVD drive. Here is the setup I'm using: AMD Athlon 64 X2 5200 Brisbane 2.7GHz Kingston 2GB (2 x 1GB) 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400) Dual Channel Kit Desktop Memory MSI K9N2GM-FD
-
After upgrading to OS X 10.6.7., my Canon All-in One MP 480 printer will not print. it says it is printing, but the sheet of paper just runs through the printer and comes out blank. I finally went online to just answers.com and got a fix involving th
-
Sequence settings for RED footage
Hi to all, I'm editing with RED footage, using the low res redcode 512x288 clips. I'm trying to set my sequence settings to be able to edit without having to render for preview. But i can't seem to find the REDCODE compressor in my compressor list. A
-
Query within the Cursor loop is very slow
Hi , I have a stored procedure which has Select/Insert operation which is looped within the cursor. The Select uses variables from the cursor, and inserts the data into the table. My problem is the peformance. The stored procedure executes in 2 mins
-
Difference between Satellite Pro L300 and Pro A300
Can anyone please tell me the difference between the Pro A300-21F and the Pro L300-1RS as the specs on the Tosh pages appear to be identical. As we all are, I am seeking the most powerful machine at the lowest cost. Tks