OC4J 904 - Beans reload
I want to disable beans reload when recompiling while OC4J is running.
Have set the following in orion-web.xml :
<orion-web-app
deployment-version="9.0.4.0.0"
jsp-cache-directory="./persistence"
temporary-directory="./temp"
development="false"
autoreload-jsp-beans="false"
autoreload-jsp-pages="true"
>
But OC4J is still trying to reload reompiled beans... unsuccessfully.
Any clue ?
Hi Nghia,
Can anybody help or give me some information or
workaround? I suggest using BMP and a non-emulated data source. More details are available in the documentation which can be downloaded from here:
http://technet.oracle.com/tech/java/oc4j/904/documentation_preview.html
Good Luck,
Avi.
Similar Messages
-
OC4J 904 and Unicode(AL16UTF16) in NVARCHAR2 column
I have:
OC4J 904 standalone runs on Windows2000 AdvancedServer.
Oracle 9i
JDBC thin driver shipped with OC4J
NLS_NCHAR_CHARSET = AL16UTF16
(NLS_CHARACTERSET = VN8VN3)
I have a table with a NVARCHAR2 column. I created a CMP EJB from the table but I can't use the EJB to retreive data from Database. I was success in using Oracle JDBC connection to connect manually to database and save/retreive Unicode data.
I read somewhere that EJB use thin driver, so the getter/setter of CMP-Fields should work normally.
I think that may be the problems is the function OraclePreparedStatement.setFormOfUse(1,OraclePreparedStatement.FORM_NCHAR);
was not called in the EJB Contenner or things like that - so it's a bug of OC4J, right?.
This is the Exception I received on the browser.
javax.ejb.NoSuchObjectLocalException: ? ?ÃY CÃ CH? HOA CÃ D?U!!!!!
at TestLocal_EntityBeanWrapper0.reActivateNew(TestLocal_EntityBeanWrapper0.java:1668)
at TestLocal_EntityBeanWrapper0.reActivateNewLocal(TestLocal_EntityBeanWrapper0.java:1636)
at TestLocal_EntityBeanWrapper0.getUnicode(TestLocal_EntityBeanWrapper0.java:108)
at test.showparam._jspService(_showparam.java:100)
[SRC:/test/showparam.jsp:65]
at com.orionserver[Oracle9iAS (9.0.4.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:348)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:293)
at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:602)
at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:308)
at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:779)
at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:264)
at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:107)
at com.evermind[Oracle9iAS (9.0.4.0.0) Containers for J2EE].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:536)
Can anybody help or give me some information or workaround?
Thank you very much.Hi Nghia,
Can anybody help or give me some information or
workaround? I suggest using BMP and a non-emulated data source. More details are available in the documentation which can be downloaded from here:
http://technet.oracle.com/tech/java/oc4j/904/documentation_preview.html
Good Luck,
Avi. -
SSL-Config: Oc4J does not reload keystore/truststore at runTime
Hi all, i have a little question about the SSL-Config into OC4J.
I have a webApp bound to a secure web site that requires mutual-authentication. If I add at run-time (without stopping OC4J) a trusted entry (a CA) to the keystore the secure-web-site is related to, OC4J does not "reload" the keystore with the new entry. Thus, i have to restart the OC4J to be able to accept SSLconnection that are authenticated by means of that new CA. The qeustion is: Does it exist a conifguration that has to be performed to reload at run-time a keystore in OC4J or it's necessary to restart OC4J each time a new entry to a keystore mapped for a given secure-web-site is added?
I hope someone can give me a tip,
Best RegardsHi I tried this with latest 10.1.3 Developer Preview 4 and it worked great and I could start OC4J standalone in https mode. Can you please download the latest version of OC4J 10.1.3 DP4 stand-alone and try in there ? The OC4J version embedded with JDev 10.1.3 Preview is pretty old and there have been many bugs fixed since then
http://www.oracle.com/technology/tech/java/oc4j/index.html
-Debu -
Oracle OC4J 904 and JNDI environment variable lookup up
Hi all, we are getting this when trying to run our app in Oracle 904:
org.springframework.beans.factory.access.BootstrapException: Define an environment variable [java:comp/env/ejb/BeanFactoryPath] containing the class path locations of XML bean definition files; nested exception is javax.naming.NameNotFoundException: No object bound for java:comp/env/ejb/BeanFactoryPath
javax.naming.NameNotFoundException: No object bound for java:comp/env/ejb/BeanFactoryPath
at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:116)
at javax.naming.InitialContext.lookup(InitialContext.java:345)
at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121)
at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:71)
at org.springframework.context.access.ContextJndiBeanFactoryLocator.useBeanFactory(ContextJndiBeanFactoryLocator.java:64)
at org.springframework.ejb.support.AbstractEnterpriseBean.loadBeanFactory(AbstractEnterpriseBean.java:117)
at org.springframework.ejb.support.AbstractStatelessSessionBean.ejbCreate(AbstractStatelessSessionBean.java:63)
at MethodInvokerHome_StatelessSessionHomeWrapper1.callCreate(MethodInvokerHome_StatelessSessionHomeWrapper1.java:115)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.ejb.StatelessSessionEJBHome.getContextInstance(StatelessSessionEJBHome.java:275)
at MethodInvokerRemote_StatelessSessionBeanWrapper0.invoke(MethodInvokerRemote_StatelessSessionBeanWrapper0.java:77)
at java.lang.reflect.Method.invoke(Native Method)
at org.springframework.remoting.rmi.RmiClientInterceptorUtils.doInvoke(RmiClientInterceptorUtils.java:103)
at org.springframework.ejb.access.SimpleRemoteSlsbInvokerInterceptor.doInvoke(SimpleRemoteSlsbInvokerInterceptor
Basically the app server thinks there is no environment entry but I have it declared in ejb-jar.xml descriptor:
<env-entry>
<env-entry-name>ejb/BeanFactoryPath</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>applicationContext.prod.xml</env-entry-value>
</env-entry>
Any ideas,
JThat depends of the shell that you use.
If you use the bash than execute:
EXPORT ORACLE_SID=<YOUR_SID>
If you use csh:
setenv ORACLE_SID <YOUR_SID>
Bye, Aron -
JHS 1012 with Standalone OC4J 904
Has anyone got this to work? I can deploy JHS 10.1.2 to standalone OC4J 10.1.2 (without ADF runtime installed) but standalone 9.0.4 OC4J gives an HTTP 500 error (without ADF runtime installed, no additional messages appear; with ADF runtime installed yields this: java.lang.NoSuchMethodError: int java.lang.StringBuffer.indexOf(java.lang.String)java.lang.Object oracle.adf.model.binding.DCUtil.findContextObject(oracle.adf.model.BindingContext, java.lang.String)
DCUtil.java:293).
These results are after applying the workaround for iAS 9.0.4 on Steve Muench's blog at: http://radio.weblogs.com/0118231/stories/2005/05/27/workaroundForDeployingAdf1012AppUsingIntermediaDomainsToOracleAs904.htmlHere are some details about the solution:
1. In the j2ee\home\config\application.xml file, remove all references to libraries from the bottom of the file, such as:
<library path="../../../ord/jlib/ordim.jar"/>2. Add the following libaries to the project properties for the ViewController project
- ADF Web Runtime
- ADF Toplink Runtime
- Oracle Intermedia JClient
3. Create a WAR deployment profile for the ViewController project. In the WEB-INF\lib node of the File Groups node in the properties, select all libraries. Click OK and deploy the file to an EAR file using the right click menu on that deployment profile.
4. Copy the EAR file to the j2ee\home\applications manually and add entries in the server.xml and http-web-site.xml. See entries that JDeveloper adds when you do right-click deployments to the server for the pattern.
5. Bounce the OC4J server (if it did not pick up the new application).
Note: The steps above load more libraries than are needed. The following list has also been proven to work but it still may be more than is needed.
adf-controller.jar
adfm.jar
adfmtl.jar
adfmweb.jar
adftags.jar
bc4jct.jar
bc4jdomorcl.jar
bc4jhtml.jar
bc4jimdomains.jar
bc4jmt.jar
bc4juixtags.jar
classes12.jar
collections.jar
commons-beanutils.jar
commons-collections.jar
commons-digester.jar
commons-el.jar
commons-fileupload.jar
commons-lang.jar
commons-logging.jar
commons-logging.jar
commons-validator.jar
datatags.jar
graphtags.jar
jakarta-oro.jar
jaxen-full.jar
jhsadfrt.jar
jdev-cm.jar
ojmisc.jar
ordhttp.jar
ordim.jar
jsp-el-api.jar
jstl.jar
log4j-1.2.7.jar
nls_charset12.jar
oracle-el.jar
regexp.jar
saxpath.jar
share.jar
standard.jar
struts.jar
uix2.jar
uixadfrt.jar
xalan.jar -
JDeveloper 903 with OC4J 904 container
I have JDeveloper 9.0.3 with OC4J container 9.0.4.
Is this an oracle supported configuration?In it I have some problem.
Not stable Run of the project in Jdev 9.0.3.2 (c embedded OC4J 9.0.4)
Thanks
Alexandre -
JUnitEE in OC4J 904 gives ClassNotFountException
Hi,
I try to run JUnitEE tests from a war-file generated using the ant task from JUnitEE. When I run the test, I always get a 'Class not found' message. I checked and double checked the war-file, but the class is present in the WEB-INF/classes directory.
I never had any problems with this with JBoss or WebLogic.
Why can't OC4J find the test classes ?
Regards,
JoostIt does load clases from the web-inf/classes directory.
Can you post a stacktrace?
Do you have all the classes available -- ie is it depending on some common 3rd party lib, such as xerces, etc. whic may be supplied by the other products?
I'm not intimately familiar with JUnitEE, are the framework classes available somewhere for the server?
Another thing to try is changing the classloader precedence so webapp classes are loaded FIRST from web-inf/*. This can be done by altering a setting in the orion-web.xml generated for your application (see j2ee/home/application-deployments/<app-name>/<webmodule-name>.
You'll see a tag to uncomment which sets this behaviour.
<!-- Uncomment this element to control web application class loader behavior.
<web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
-->cheers
-steve- -
CMP beans in OC4J 9.0.4.
Hi all,
I 've download the oracle sample demo "CMP Entity bean" and deploy it under OC4J 9.0.4.
While running the client i get the following exception in OC4J :
java.lang.NullPointerException
at com.evermind.server.ejb.RemoteDBEntityEJBObject.getPrimaryKey_X(RemoteDBEntityEJBObject.java:39)
at com.evermind.server.ejb.EJBRemoteInvocationHandlerFactory.getObjectInfo(EJBRemoteInvocationHandlerFactory.java:76)
at com.evermind.server.rmi.RMIOutputStream.replaceObject(RMIOutputStream.java:82)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:323)
at com.evermind.server.rmi.RMIOutputStream.writeType(RMIOutputStream.java:166)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:167)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:484)
It seems to occurs when OC4J is trying to update an already created rows.
Thanks a lot for any piece of advice.
R�my.Marcel -- the known-issues document for the 904 release describes how to workaround this issue.
http://otn.oracle.com/tech/java/oc4j/904/release_notes/release-notes-904-preview.html
Custom User Managers Deployed within EJB-JAR Files can not be found.
OC4J is not able to load customer user managers when they are packaged within an EJB-JAR file.
The workaround is to add an explicit <library> element to the orion-application.xml file for the application which points at the EJB-JAR file containing the custom user manager classes. This will allow the custom user manager to be resolved and instantiated.
<orion-application ....>
<library path="d:\oc4j904\j2ee\home\applications\XmlnewsEar\XmlnewsEjb.jar"/>
</orion-application>
cheers
-steve- -
Error starting up OC4J Standalone 904
I'm getting the following error when starting up an OC4J 904 standalone (/j2ee/home/java -jar oc4j.jar) I get this error on both my Windows 2000 environment and Solaris. Any ideas?
04/02/19 10:29:07 Error creating Tag Library Descriptor Cache : null
04/02/19 10:29:07 java.lang.ExceptionInInitializerError
04/02/19 10:29:07 at sun.reflect.NativeConstructorAccessorImpl.newInstance
0(Native Method)
04/02/19 10:29:07 at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
04/02/19 10:29:07 at sun.reflect.DelegatingConstructorAccessorImpl.newInst
ance(DelegatingConstructorAccessorImpl.java:27)
04/02/19 10:29:07 at java.lang.reflect.Constructor.newInstance(Constructor
.java:274)
04/02/19 10:29:07 at java.lang.Class.newInstance0(Class.java:306)
04/02/19 10:29:07 at java.lang.Class.newInstance(Class.java:259)
04/02/19 10:29:07 at oracle.jsp.parse.XMLUtil.elemToTagInfo(XMLUtil.java:1
278)
04/02/19 10:29:07 at oracle.jsp.parse.XMLUtil.domDocToTagLib(XMLUtil.java:
1063)
04/02/19 10:29:07 at oracle.jsp.parse.tldcache.TldUtil.getTlibInfo(TldUtil
.java:225)
04/02/19 10:29:07 at oracle.jsp.parse.tldcache.CachedTldImpl.findUriAttrib
ute(CachedTldImpl.java:189)
04/02/19 10:29:07 at oracle.jsp.parse.tldcache.CachedTldImpl.getTldInfo(Ca
chedTldImpl.java:138)
04/02/19 10:29:07 at oracle.jsp.parse.tldcache.CachedTldImpl.<init>(Cached
TldImpl.java:92)
04/02/19 10:29:07 at oracle.jsp.parse.tldcache.TldResourceImpl.buildTlds(T
ldResourceImpl.java:132)
04/02/19 10:29:07 at oracle.jsp.parse.tldcache.TldCacheImpl.applyInserts(T
ldCacheImpl.java:292)
04/02/19 10:29:07 at oracle.jsp.parse.tldcache.TldCacheImpl.updateCache(Tl
dCacheImpl.java:281)
04/02/19 10:29:07 at oracle.jsp.parse.tldcache.ApplicationTldCacheImpl.<in
it>(ApplicationTldCacheImpl.java:62)
04/02/19 10:29:07 at com.evermind.server.http.HttpApplication.initDefaultS
ervlets(HttpApplication.java:4835)
04/02/19 10:29:07 at com.evermind.server.http.HttpApplication.initDynamic(
HttpApplication.java:701)
04/02/19 10:29:07 at com.evermind.server.http.HttpApplication.<init>(HttpA
pplication.java:497)
04/02/19 10:29:07 at com.evermind.server.Application.getHttpApplication(Ap
plication.java:886)
04/02/19 10:29:07 at com.evermind.server.http.HttpServer.getHttpApplicatio
n(HttpServer.java:688)
04/02/19 10:29:07 at com.evermind.server.http.HttpSite.initApplications(Ht
tpSite.java:570)
04/02/19 10:29:07 at com.evermind.server.http.HttpSite.setConfig(HttpSite.
java:263)
04/02/19 10:29:07 at com.evermind.server.http.HttpServer.setSites(HttpServ
er.java:259)
04/02/19 10:29:07 at com.evermind.server.http.HttpServer.setConfig(HttpSer
ver.java:160)
04/02/19 10:29:07 at com.evermind.server.ApplicationServer.initializeHttp(
ApplicationServer.java:2325)
04/02/19 10:29:07 at com.evermind.server.ApplicationServer.setConfig(Appli
cationServer.java:1498)
04/02/19 10:29:07 at com.evermind.server.ApplicationServerLauncher.run(App
licationServerLauncher.java:93)
04/02/19 10:29:07 at java.lang.Thread.run(Thread.java:536)
04/02/19 10:29:07 Caused by: java.util.MissingResourceException: Can't find bund
le for base name oracle.webdb.service.resource.PortalBundle, locale en_US
04/02/19 10:29:07 at java.util.ResourceBundle.throwMissingResourceExceptio
n(ResourceBundle.java:804)
04/02/19 10:29:07 at java.util.ResourceBundle.getBundleImpl(ResourceBundle
.java:773)
04/02/19 10:29:07 at java.util.ResourceBundle.getBundle(ResourceBundle.jav
a:511)
04/02/19 10:29:07 at oracle.webdb.service.tagext.PortletTagExtraInfo.<clin
it>(Unknown Source)
04/02/19 10:29:07 ... 29 more
04/02/19 10:29:07 JspTagLibListener error : null
04/02/19 10:29:08 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
initializedfyi: all these problems seem to have gone away since I upgraded to JDK 1.4.1_02 and reinstalled.
--matt -
Using Message Driven bean in JDev 9.0.3.2
Hi all,
I'm trying to create a Message bean in JDeveloper 9.0.3.2. I've used the wizard which has (very nicely) created me the bean files, i have also set up OC4J server and deployed to it and it seems to run fine.
Now, i'm trying to create a class (in the same project) that sends a message to the bean but i'm having problems. Session beans in JDev have a very nice option to create a Sample Java Client but there is no equivalent "Sample Message Creator" for message beans.
Anyway, my code is as follows...
Context ctx = new InitialContext();
TopicConnectionFactory factory = (TopicConnectionFactory)ctx.lookup("javax.jms.TopicConnectionFactory");
....more code to create and send message
However, i don't know where to lookup the factory from, this line gives me an error presumably because javax.jms.TopicConnectionFactory is incorrect. What is the Oracle lookup for this ? Where do i find it out from ?
Any advice would be appreciated, sorry this is not a posting on 10g which i haven't had chance to look at yet (though i hear it's very nice).
AlistairYou might find the sample code which is part of OC4J-howto's useful.
http://otn.oracle.com/tech/java/oc4j/904/index.html
http://otn.oracle.com/tech/java/oc4j/904/how_to/how-to-ejb-mdb.zip
raghu
JDev Team -
Dynamically reloading recompiled class files
How can I configure standalone OC4J to automatically reload class files compiled to WEB-INF/classes without restarting the server? I have tried different settings in orion-web.xml (development="true", added classpath, search-local-classes-first="true") but nothing seems to work.
I think this bug (3473628) has to do with something different than what I am referring to. It deals with JSP files located under WEB-INF not compiling (which is a non-standard location for JSP files anyway).
The behavior I am looking for is: if I change a Java source class (e.g., a bean class) and recompile it to WEB-INF/classes, I want the server (OC4J) to notice that a new .class file for my bean now exists, unload the existing class file, and load the new one into the VM, without restarting. -
Servlet Reloading Problem!
JSP + Bean is OK!
But, Servlet + Bean occur a reloading problem.(Reloading does not happen)
For example,
1) TestClass.java (Bean)
public class TestClass {
private String txt;
public TestClass() {
txt = "Test!!"; ---(1)
public String getTxt() {
return txt;
2) Test.java (Servlet)
public class Test extends HttpServlet {
public void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
TestClass testClass = new TestClass();
PrintWriter out = res.getWriter();
out.println(testClass.getTxt());
In above examples, though I change txt String(number (1)) Bean reloading does not occur. So old txt String shows.
In Tomcat, such problem does not happen.
Is this a problem of OC4J?
Thanks.
nullWell, only servlets are supposed to be reloaded, not their dependent classes.
If you are using Tomcat 4.x, then there might be an explanation. It seems that Tomcat 4.x will simply reload the entire web app context if it detects that a servlet (not a JSP!) has changed. Just define a servlet context listener to see that.
Regards,
Vadym -
Deadlock using Advanced Queueing and OC4J
We develop an application which extensively uses JMS. We use Advanced Queueing as JMS provider (Oracle9i 9.2.0.3.0 and OC4J 9.0.3). In our application we have message driven bean which listens on cerain queue and can send messages to other queues/topics as a result of processing received message. In this scenario we sometimes get a java-level deadlock.
An example of such deadlock is here (taken from thread dump, jvm is sun 1.4.1_01):
Found one Java-level deadlock:
=============================
"TaskManager":
waiting to lock monitor 0x8ff45c (object 0x39db898, a oracle.jdbc.driver.OracleCallableStatement),
which is held by "ApplicationServerThread-1"
"ApplicationServerThread-1":
waiting to lock monitor 0x8ff43c (object 0x39e4de8, a oracle.jdbc.driver.OracleConnection),
which is held by "TaskManager"
Java stack information for the threads listed above:
===================================================
"TaskManager":
at oracle.jdbc.driver.OracleCallableStatement.close(OracleCallableStatement.java:980)
- waiting to lock <039DB898> (a oracle.jdbc.driver.OracleCallableStatement)
- locked <039E4DE8> (a oracle.jdbc.driver.OracleConnection)
at oracle.jdbc.driver.OracleConnection.close_statements(OracleConnection.java:2333)
- locked <039E4DE8> (a oracle.jdbc.driver.OracleConnection)
at oracle.jdbc.driver.OracleConnection.close(OracleConnection.java:1412)
- locked <039E4DE8> (a oracle.jdbc.driver.OracleConnection)
at com.evermind.sql.DriverManagerPooledConnection.close(DriverManagerPooledConnection.java:247)
- locked <039DC320> (a com.evermind.sql.DriverManagerPooledConnection)
at com.evermind.sql.OrionPooledDataSource.removeCache(OrionPooledDataSource.java:559)
- locked <08A67AF0> (a com.evermind.sql.OrionPooledDataSource)
at com.evermind.sql.OrionPooledDataSource.run(OrionPooledDataSource.java:505)
at com.evermind.sql.DriverManagerXADataSource.run(DriverManagerXADataSource.java:195)
at com.evermind.util.TaskManager.run(TaskManager.java:181)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
at java.lang.Thread.run(Thread.java:536)
"ApplicationServerThread-1":
at oracle.jdbc.driver.OracleConnection.getDescriptor(OracleConnection.java:2549)
- waiting to lock <039E4DE8> (a oracle.jdbc.driver.OracleConnection)
at oracle.sql.StructDescriptor.createDescriptor(StructDescriptor.java:132)
at oracle.jpub.runtime.MutableStruct.toDatum(MutableStruct.java:128)
at oracle.jms.AQjmsObjectMessage_C.toDatum(AQjmsObjectMessage_C.java:45)
at oracle.jdbc.driver.OraclePreparedStatement.setORAData(OraclePreparedStatement.java:2700)
- locked <039DB898> (a oracle.jdbc.driver.OracleCallableStatement)
at com.evermind.sql.OrclCallableStatement.setORAData(OrclCallableStatement.java:732)
at oracle.jms.AQjmsProducer.enqueue(AQjmsProducer.java:837)
- locked <091DBC40> (a oracle.jms.AQjmsProducer)
at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1366)
- locked <091DBC40> (a oracle.jms.AQjmsProducer)
at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1216)
- locked <091DBC40> (a oracle.jms.AQjmsProducer)
at com.abilitydev.slovalco.jms.dispatcher.alarm.AlarmMessageDispatcher.dispatchMessage(AlarmMessageDispatcher.java:229)
at com.abilitydev.slovalco.jms.dispatcher.DispatcherWrapper.dispatchMessage(DispatcherWrapper.java:51)
at com.abilitydev.slovalco.jms.dispatcher.DispatcherWrapper.dispatchMessage(DispatcherWrapper.java:49)
at com.abilitydev.slovalco.jms.dispatcher.DispatcherWrapper.dispatchMessage(DispatcherWrapper.java:49)
at com.abilitydev.slovalco.jms.dispatcher.DispatcherWrapper.dispatchMessage(DispatcherWrapper.java:49)
at com.abilitydev.slovalco.jms.handlers.PotDataHandler.handleMessage(PotDataHandler.java:40)
at com.abilitydev.slovalco.jms.ObjectMessageBean.onMessage(ObjectMessageBean.java:95)
at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:141)
at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:769)
at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:929)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
at java.lang.Thread.run(Thread.java:536)
Any suggestions?
Thanks, MarcelMarcel --
This sounds like something that you'd want to pursue with the Oracle support folks.
Is it possible for you to test the application using the OC4J 904 Developer Preview and see if the problem reproduces?
btw -- are you using a tool to pull the information from the thread-dump? I noticed the line "Found one Java-level deadlock:" which looks like output from a tool. Just interested that's all.
cheers
-steve- -
How to deploy an application in OC4J standalone?
I'm trying to deploy Jspell 2004 in a standalone OC4J 10g. All my attempts have failed thus far, as I admit, I don't really know what I am doing.
I've found several articles, including those from Jspell, and they all start with 'deploy the war file' but how?
I don't know where I should deploy the WAR file or exaclty which config files I need to modify. I've tried under OH/j2ee/home/applications, OH/j2ee/DevSuite/application-deployments and always get the 'Error instantiating web-application' no application found on server.'
I'm using the OC4J strictly for forms/reports running on port 8889 and that all works fine. When I start the OC4J, it is referencing the server.xml file in the DevSuite/config folder.
Any ideas?Please look at the OC4J FAQ
http://www.oracle.com/technology/tech/java/oc4j/904/collateral/oc4j-faq-904.html#oc4j_deploy
Yes. If you wish to deploy only a Web module then you can utilize the default application OC4J is configured with. This is a two step task:
First, tell the container about the WAR file to be deployed. Open the <J2EE_HOME>/config/application.xml file in an editor. Add a new <web-module> tag and specify the attributes for your WAR file.
<web-module id="HRWebModule" path="<PATH-TO-WAR-FILE>"/>
Secondly, tell the OC4J HTTP server about the new WAR file and provide a URL to access it. Open the <J2EE_HOME>/config/http-web-site.xml file in an editor. Add a new <web-app> tag and specify the attributes for your new Web module. It's important to note that the application attribute must specified as "default" since you have deployed your Web module to the default application. The name attribute should match the ID attribute you specified for the Web module.
<web-app application="default" name="HRWebModule" root="/hrweb" />
The WAR file will now be deployed by OC4J and accessible using a URL of /hrweb.
-Debu
http://debupanda.com -
Is there any way to avoid restoring the beans that are in the request scop?
Hi!
The problem is that I don't want to have my beans reloaded by the Restore View lifecycle's fase. I CAN'T put them into the session and if I don't do so, every time I click in a commandLink or commandButton for example, the first thing the JSF does is to reconstruct the bean used in the previous view before following to the next view.
Some properties of the beans are populated through data base access. The problem is that when I just want to go from a page to another I don't want to have this kind of bean reconstructed.
Any ideas? I'm I doing anything wrong?
Thank you all!In a valuechangelistener you can do this. I've tried it and it works well
PhaseId phaseId = event.getPhaseId();
//incorrect phase
if (phaseId.equals(PhaseId.ANY_PHASE))
event.setPhaseId(PhaseId.UPDATE_MODEL_VALUES);
event.queue();
// correct phase
else if (PhaseId.UPDATE_MODEL_VALUES.equals(event.getPhaseId()))
load backing bean here
Maybe you are looking for
-
Arch Linux Partitions And Filesystems
Hi everyone! I'm pretty much new to Linux having used Ubuntu about 2 years back. Recently I've been looking to get a better understanding of the system and wanted to try out a different distro. I searched around and came across Arch. I really liked t
-
Issue in setting up dervived depreciation area
Hi, We have created the following depreciation areas in our development system , Depreciation Area Type GL Ledger Group 01 : Book depreciation Real Are
-
I have a new mac and want my old photoshop on it , how get i the old serial key for the new ? My old mac is deleted ...
-
In VL10A tcode after execution in section scr "Incorrect factory calendar"
Hi, After execution of the tcode VL10A gives the information messge in the selection screen as "Incorrect factory calendar; date calculation not possible". How to remove this informaition message. Thanks, Sanjay
-
Export PDF from InDesign -- SIze mismatch
We are facing a strange problem of like size mismatch in INDD and Exported PDF. Say I have a INDD document of height 5.456 inch and 6.758 inch and when we are exporting it to PDF with High Quality Print then PDF size will show 5.45 inch x 6.75 inc