Session not replicated in clustered oc4j instances
The application is deployed to two clustered oc4j instances(A and B) and is configured to use PEER replication protocol. After logging into the application(say A handled the request, created and stored a user object in http session), we shutdown A, and click on application link, the request is routed to B, but B shows no user object in http session is found, this happens in a servlet filter. Could somebody provide some suggestions why?
Hmm, OK. Then we need to dig in a little further.
Can you post what the orion-application.xml file looks like for these applications?
It has the <cluster> tag set in it.
You can find it in $ORACLE_HOME/j2ee/home/application-deployments/<app-name>
Are these clustered OC4J instances on the same server -- if so, did you set allow-colocation="false", which would prevent the replica from being stored on the same physical host, and thus not be avaialble when you need it?
You can enable logging for the clsuter session manager -- you can acess the logging propeties page in ASC and then set the "oracle.j2ee.cluster" to the FINEST level to start pumping some log messages into the log file.
Note: in 10.1.3.0 the settings are not persisted when made via ASC -- you have to enter them manually in the j2ee/<instance-name>/config/j2ee-logging.xml file. In 10.1.3.1 the settings are persisted automatically into this file.
The easiest way to see the log messages in the file is using the Log Viewer function in ASC as well. Look for the "Diagnostics" log in the particular Oc4J instance where the app is deployed.
cheers
-steve-
Similar Messages
-
Session not replicated in WL6.1
We are having session-not-replicated problem in WL6.1 Clustering.
We have 3 servers on different machines running WL6.1 sp1, 1 is running the admin
server and the
other 2 are running as managed weblogic server.
We have a web application that has been deployed to the cluster and is set
for PersistantStoreType equal to replicated.
We are using a Cisco Local Redirector with "sticky load balancing" infront of
the servers.
In our applications, most of JSP pages can modify the session data using session.setAttribute().
And we use session.removeAttribute() to clean a session data.
session.setAttribute("mysession1", data1);
....some codes......
if (session.getAttribute("mysession") != null)
session.removeAttribute("mysession");
session.setAttribute("mysession", data2);
With session.removeAttibute() in our codes, some session data is not replicated
to secondary server.
We checked all session data in secondary server after shutting down the primary
server.
But if we comment out all session.removeAttribute() methods, failovers tested
successfully.
All our session data is serializable. Some are String and Some are Objects.
Is this a known problems in WL6.1? Anyone has any idea?
thanks,
Hong
We are having session-not-replicated problem in WL6.1 Clustering.
We have 3 servers on different machines running WL6.1 sp1, 1 is running the admin
server and the
other 2 are running as managed weblogic server.
We have a web application that has been deployed to the cluster and is set
for PersistantStoreType equal to replicated.
We are using a Cisco Local Redirector with "sticky load balancing" infront of
the servers.
In our applications, most of JSP pages can modify the session data using session.setAttribute().
And we use session.removeAttribute() to clean a session data.
session.setAttribute("mysession1", data1);
....some codes......
if (session.getAttribute("mysession") != null)
session.removeAttribute("mysession");
session.setAttribute("mysession", data2);
With session.removeAttibute() in our codes, some session data is not replicated
to secondary server.
We checked all session data in secondary server after shutting down the primary
server.
But if we comment out all session.removeAttribute() methods, failovers tested
successfully.
All our session data is serializable. Some are String and Some are Objects.
Is this a known problems in WL6.1? Anyone has any idea?
thanks,
Hong
-
The number of active sessions isn't decreasing in OC4J instance
Hi Guru’s,
Could you help me, please?
The number of active sessions isn’t decreasing in OC4J instance after our clients closed the application.
Our partner use Oracle AS 10gR3 (10.1.3.4.0) with J2EE and HTTP mode.
When we monitoring our OC4J instance with Performance tab on Oracle EM, we appreciate that the value of Active Sessions on ‘Servlets and JSPs’ are very high. If users close our applications, then number of active sessions isn’t decreasing and active status isn’t becoming inactive.
Which OC4J settings responsible for managing active sessions and how can I get more information about the active session details?
Thanks in advance,
ZoltanDinesh.Rajak wrote:
When I deployed this code Tomcat, it is giving the output as 0, hence tried with accessing the jsp file in multiple browsers but still it is showing the count of active session as 0 - plz helpPlease, don't resurrect old threads, and it's still the wrong forum. Create a new thread if you have a specific question, and create the thread in the correct forum. I'm closing this thread.
Kaj -
Objects bound to session not replicating properly.
hi,
i have two weblogic 5.1 sp3 clustered in sun boxes, using apache as
proxy server.
I use Inmemory replication for replicating http sessions.
Both weblogic server says joined the cluster and it seems ok.
i start navigating my application, halfway i bring down one server, the
one the requests are going to. secondary server takes over, but when i
print the objects that are bound to the session it doesnot give me all
the values, which when printed in the primary server prints all values.
The objects that are bound to the session are heavy.
i am using the property weblogic.httpd.session.cacheEntries=1024, the
default one.
could someone help me.
my cluster and session properties.
weblogic.cluster.enable=true
weblogic.cluster.name=rtcluster
weblogic.system.bindAddr=10.11.21.20
weblogic.cluster.multicastAddress=237.0.0.1
weblogic.cluster.multicastTTL=1
weblogic.cluster.defaultLoadAlgorithm=random
# Httpd Cluster properties.
weblogic.httpd.clustering.enable=true
weblogic.httpd.session.persistence=true
weblogic.httpd.session.persistentStoreType=replicated
You have not described your environment or what you application is doing, so
it will be difficult to help answer your question.
> > i have two weblogic 5.1 sp3 clustered in sun boxes, using apache as
> > proxy server.
> > I use Inmemory replication for replicating http sessions.
> There was a small problem in our application we debugged it, session
> replication is now fine.
Good.
> but now we are facing a new problem.
Bad.
> SecurityException
Please post (or attach) the stack trace.
> The page doesnot come in the first click, at the first
> click weblogic gives a SecurityException.
We do not know what page you mean. Do you mean that every page is broken,
or pages served by a certain servlet or jsp?
> Moreover the image is not properly displayed.
> The image is painted when mouse is over that otherwise
> its not. Its like image in java without double buffering.
I assume this is a .jpg or .gif that your page references? Is the image
created dynamically or just served statically by IIS? Or statically by
WebLogic?
The double-buffering look could be caused by a corrupted image file or more
likely by being served dynamically by a JSP that accidently has some
linefeeds due to page directives at the top, but you'll have to provide
additional information.
Peace.
Cameron Purdy
[email protected]
http://www.tangosol.com
WebLogic Consulting Available
"arunbabu" <[email protected]> wrote in message
news:[email protected]...
> hi,
> Thanks for the debug information.
> There was a small problem in our application we debugged it, session
> replication is now fine. but now we are facing a new problem.
> SecurityException, The page doesnot come in the first click, at the first
> click weblogic gives a SecurityException. Moreover the image is not
> properly displayed. The image is painted when mouse is over that otherwise
> its not. Its like image in java without double buffering.
> could somebody throw some light to these.
> arunbabu.
>
> arunbabu wrote:
>
> > hi,
> > i have two weblogic 5.1 sp3 clustered in sun boxes, using apache as
> > proxy server.
> > I use Inmemory replication for replicating http sessions.
> > Both weblogic server says joined the cluster and it seems ok.
> > i start navigating my application, halfway i bring down one server, the
> > one the requests are going to. secondary server takes over, but when i
> > print the objects that are bound to the session it doesnot give me all
> > the values, which when printed in the primary server prints all values.
> > The objects that are bound to the session are heavy.
> > i am using the property weblogic.httpd.session.cacheEntries=1024, the
> > default one.
> > could someone help me.
> >
> > my cluster and session properties.
> >
> > weblogic.cluster.enable=true
> > weblogic.cluster.name=rtcluster
> > weblogic.system.bindAddr=10.11.21.20
> > weblogic.cluster.multicastAddress=237.0.0.1
> > weblogic.cluster.multicastTTL=1
> > weblogic.cluster.defaultLoadAlgorithm=random
> >
> > # Httpd Cluster properties.
> > weblogic.httpd.clustering.enable=true
> > weblogic.httpd.session.persistence=true
> > weblogic.httpd.session.persistentStoreType=replicated
>
-
Session not replicated in a different machine
Hi Everybody,
I have an interesting problem related to session replication on a different machine. We have two managed servers in two different machines. When we stop the managed server in the machine where we have admin server, request goes to the second managed server. However the existing session is not replicated, instead a new session is created.
We have used in-memory replication. Any pointer to the problem will be appreciated.
Thanks in advance,
Dev.Also check if the session replication is indeed on. You can see if this is on by looking at cookies (either javascript like alert(Document.cookie) or through browser like navigator; format for replication should be <session id>!<primary server hash>!<secondart server hash>
S -
Why is this session not connecting to the preferred Instance ?
Grid Infrastructure/DB Version : 11.2.0.3
Platform : RHEL 5.8
We have a 3-node cluster and I've configured the RAC service PKDS_UAT_01 with its preferred instance as JDSCFS3
$ srvctl config service -s PKDS_UAT_01 -d JDSCFS
Service name: PKDS_UAT_01
Service is enabled
Server pool: JDSCFS_PKDS_UAT_01
Cardinality: 1
Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: false
Failover type: NONE
Failover method: NONE
TAF failover retries: 0
TAF failover delay: 0
Connection Load Balancing Goal: LONG
Runtime Load Balancing Goal: NONE
TAF policy specification: NONE
Edition:
Preferred instances: JDSCFS3
Available instances: JDSCFS1
Then I start a remote session through SQL*Plus like
sqlplus scott/tiger@rtfms-scan:1624/PKDS_UAT_01.acproot.net
When I check in the DB, it shows that the session is actually connected to instance 1 despite the preferred instance set as Instance3 (JDSCFS3) for the service PKDS_UAT_01
SQL> select inst_id, sid from gv$session where username='SCOTT';
INST_ID SID
1 3839
Why is this happening ?1. check that all services are running on all nodes. Actually, you service should run only on preffered node
srvctl status service -d db_name
2. restart services
3. try again
Regards
Ed -
Transactional Replication Not replicating non-clustered Indexes
Hi
I have created a transactional replication.I am sure that I have configured it to replicate Non-Clustered indexes,
but It does not do so.
I tried several times to reinitialize the subscription,but still no luck.
RegardsIt is True for sure.
But the problem is solved.I had to wait until the Initialize process get completed.
But I am sure that this problem happened before.Sometimes it works fine but sometimes not.
Hi ArashMasroor,
According to your description, it seems that you encounter the issue that non-clustered indexes property is reset to “False” sometimes.
To work around this issue, you can use a post-replication SQL script to create the indexes. Whatever articles you’re publishing open up the indexes drop down list of the article in object explorer, right-click on an index and levitate over Script Index as,
then Create-to, then click New Query Window editor.
Up will pop up a new query window with the resulting index. Work your way through all the indexes on all the articles of the publication, copy and pasting just the create index line and below of each script, pull them all together into one query window.
Once you’re done find a safe folder somewhere on your hard drive and save the SQL query as an .sql file with a sensible name. Then you can execute this script after applying the Snapshot. For more details, please review this
blog.
There is also a similar thread for your reference.
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/b0f3870d-1a65-4384-a17b-96825ec5f098/transactional-replication-nonclustered-indexes-not-copying?forum=sqlreplication
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support -
Deployment Plan not replicating across clusters
I am deploying application in clustred environment, where Admin and one ms are in one physical box and other Managed Server is in another physical box.
When redoplying the application after making few changes, viz:
1. Updating the resource file.
2. Updating the deployment paln file.
3. Upgrading the application, this changes are working in only one managed server but not in the other managed server which is other physical box. Once you manually copy the deployment paln file, the second managed server also reflects the changes.
Even bouncing the server, will not reflect the changes.
Any suggestions?RAC supports a mixture of storage types.. raw, file system and ASM.
I believe you can have several options..
1. you can continue to maintain your FLASH on ASM with the RMAN backups only going to the shared filesystem location
2. can maintain the RMAN backups on ASM and then when you backup from disk to tape (D2T) you can restore from tape to populate the development /test environments
3 like you say can maintain the entire FLASH area on shared file system.
When sharing a common area between development, test and production environments with some these critical files? hmmm! security & safety of files comes to my mind as a concern..
You have not mentioned the O/S details,,, however the cost factor involved in having a third party file system in the mix should also be considered. -
Weblogic Clustering Replica Session not Recovering
Dear All,
Have One domains with WLS 10.3.4 on two physical machines, each machine hosting one managed server, cluster of the two servers, node manager on both servers and admin server on one of the servers. Using unicast and in-memory replication with replicate if clustered set in the weblogic.xml.
Apache balancing between the two and selected options to allow proxy plugin in the domain.
Question is I bring both servers up,
Log the user into test application.
In the console I can see from Cluster Monitoring that a single user connects on Managed Server 1 and that the session is correctly replicated onto Managed Server 2.
I then fail Managed Server 1 which is hosting the primary session, on manual page refresh the users request goes to the Managed Server 2 with the user staying logged in (as expected).
However when I return the failed Managed Server 1 to service I expected the current session now on Managed Server 2 to be replicated back to the Managed Server 1 (in case Managed Server 2 that is now hosting the primary session fails).
No matter how long I wait this replication does not take place, HOWEVER if after the Managed Server 1 is returned to service I manually refresh the Web Page which connects to Managed Server 2 this kicks the replication into action and creates a session replica back on Managed Server 1.
I don't think this is exected behaviour so any idea what is going wrong?
In the oracle docs it says
"In a two-server cluster, the client would transparently fail over to the server hosting the secondary session state. However, replication of the client’s session state would not continue unless another WebLogic Server became available and joined the cluster. For example, if the original primary server was restarted or reconnected to the network, it would be used to host the secondary session state. "
but in this case the second bit does not seem to host the secondary state unless the web page is actually used again (at which point you see the replica state created, it's almost like it will replicate going forwards but ignores the current state and does not re-sync between the managed servers, leading to a user being logging out if a flip-flop server failure test is carried out.
Thanks
Edited by: user10645195 on 18-Feb-2011 08:46
Edited by: user10645195 on 18-Feb-2011 08:52HI,
The HttpSession replication happens Only when WebLogic creates a New HttpSession or Container encounters "session.setAttribute(obj,obj)" method...It means the Data is replicated to the Secondary JVM HttpSession only when application calls the setAttribute method of HttpSession. And in this case only the modified part of data is replicated NOT the complete HttpSession data.
So i think u can try adding a Simple temporary attribute in the HttpSession like
session.setAttribute("dummyData",""+new java.util.Date());
Now make sure that the above code is placed in each and every page of your application...sothat whenever a client will request the because of setAttribute() the Session modified data (dummyData) will be replicated...and if there are more setAttribute() on that page then all the those also will be replicated...
Example:
Map map = new HashMap();
session.setAttribute("map", map); <font color=maroon><b> -------> Here Session data Will be replicated to Node-2 (bcoz of setAttribute()) </b></font>
map.put("one", "aaa"); <font color=red>No Replication (Means No Session data Refresh...bcoz setAttribute is not called...)</font>
then from page1.jsp I go to page2.jsp and I do this:
Map map = (Map)session.getAttribute("map");
map.put("two", "bbb"); <font color=red>No Replication (Means No Session data Refresh...bcoz setAttribute is not called...)</font>
and then from page2.jsp I go to page3.jsp and I do this:
Map map = (Map)session.getAttribute("map");
map.put("three", "ccc"); <font color=red>No Replication (Means No Session data Refresh...bcoz setAttribute is not called...)</font>
Now you will see On The node2 the sessioncontains an EMPTY map ! <font color=maroon><b> (That is Correct) because when you executed </b></font><br>
Map map = new HashMap();
session.setAttribute("map", map);
<font color=maroon><b>
At that time The Map was not containing any data in it.
</b></font>
You need to try this:
Map map = new HashMap();
session.setAttribute("map", map);
map.put("one", "aaa"); <font color=green>----><b> Now session.setAttribute("map", map);</b></font> here session data will be refreshed in Node-2
then from page1.jsp I go to page2.jsp and I do this:
Map map = (Map)session.getAttribute("map");
map.put("two", "bbb"); <font color=green>----><b> Now session.setAttribute("map", map);</b></font> here session data will be refreshed in Node-2
and then from page2.jsp I go to page3.jsp and I do this:
Map map = (Map)session.getAttribute("map");
map.put("three", "ccc"); <font color=green>----><b> Now session.setAttribute("map", map);</b></font> here session data will be refreshed in Node-2
It means until u don't call session.setAttribute(---, ---)...The Session Data is not replicated (refreshed) to the Second Node(Secondary JVM).
Thanks
Jay SenSharma
http://middlewaremagic.com/ (Middleware magic Is Here) -
Tomcat 5.5.26 Sessions getting replicated but not working via browser
Hi,
I have configured Tomcat 5.5.26 to be clustered across 2 machines with one instance on each. These two machines are behing a BIG-IP loadbalancer which is setup for sticky sessions.
The catalina.out states that the member can see each other:
Jul 3, 2008 6:33:50 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded
INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://10.17.21.125:9001,catalina,10.17.21.125,9001, alive=38753]
Jul 3, 2008 6:33:51 PM org.apache.catalina.cluster.mcast.McastService registerMBean
The localhost.2008-07-03.log states that the sessions are being replicated for the jsp-examples app - book example. I have an app of our own that does not even state that the session is replicated but I though I would start here with getting the example one working.
Jul 3, 2008 6:34:31 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: sessionDestroyed('E7E9E54600927A4826AFEDB59D7EF6E7.tomcatDargle')
However, when I take down the instance which created the session and attempt to refresh the page or navigate to another page I get page cannot be displayed. This shows that the sessions are not completely replicated. What am I missing?
I have added my server.xml file contents:
<Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
managerClassName="org.apache.catalina.cluster.session.DeltaManager"
expireSessionsOnShutdown="false"
useDirtyFlag="false"
notifyListenersOnReplication="true">
<Membership
className="org.apache.catalina.cluster.mcast.McastService"
mcastAddr="239.192.17.20"
mcastPort="9002"
mcastFrequency="500"
mcastDropTime="3000"/>
<Receiver
className="org.apache.catalina.cluster.tcp.ReplicationListener"
tcpListenAddress="auto"
tcpListenPort="9001"
tcpSelectorTimeout="100"
tcpThreadCount="6"/>
<Sender
className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
replicationMode="pooled"
ackTimeout="15000"
waitForAck="true"/>
<ClusterListener className="org.apache.catalina.cluster.session.ClusterSessionListener" />
<ClusterListener className="org.apache.catalina.cluster.session.JvmRouteSessionIDBinderListener" />
<Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
filter=".*\.gif;.*\.js;.*\.css;.*\.png;.*\.jpeg;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"
primaryIndicator="true" />
<Valve className="org.apache.catalina.cluster.session.JvmRouteBinderValve"
enabled="true" />
</Cluster>
Any help at all would be greatly appreciated.
MartinHi Ganeshmb,
The app I am using is the jsp-examples/book example.
The load balancer is sending requests to both servers.
When the dargle instance is sent a request I can see in the logs of both servers:
INFO: SessionListener: sessionCreated('730F4AD5A21CA06639BF956B9F5418CB.tomcatDargle')
When the tolka instance is sent a request I can see in the logs of both servers:
INFO: SessionListener: sessionCreated('E7E9E54600927A4826AFEDB59D7EF6E7.tomcatTolka')
When the server starts up the relevant info is in the logs:
Jul 3, 2008 6:33:56 PM org.apache.catalina.cluster.session.DeltaManager start
INFO: Starting clustering manager at /jsp-examples
Jul 3, 2008 6:33:56 PM org.apache.catalina.cluster.session.DeltaManager getAllClusterSessions
WARNING: Manager [jsp-examples], requesting session state from org.apache.catalina.cluster.mcast.McastMember[tcp://10.17.21.125:9001,catalina
,10.17.21.125,9001, alive=44363]. This operation will timeout if no session state has been received within 60 seconds.
Jul 3, 2008 6:33:56 PM org.apache.catalina.cluster.session.DeltaManager waitForSendAllSessions
INFO: Manager [jsp-examples]; session state send at 7/3/08 6:33 PM received in 123 ms.
The jsp-examples book example is supposed to have serilizable object and was recommended on some sites are the way to test out the replication. Is there any other way to test this?
Also, the main purpose of the cluster is to replicate an application from an external vendor which they say is compatible with session replication. However, this app does not even output the sessionCreated message so I am unsure if it truly is compatible.
If I could prove that the cluster is setup correctly then I would have more to go on when contacting the vendor. At the moment I am unsure if the cluster is setup correctly for session replication.
Thanks,
Martin -
Edited/Recompiled JSP not reflected in OC4J instance
After starting OC4J to run my JSP project, if I edit and make/build a jsp, I won't get the updated version if I go to the page without first stopping the process and restarting OC4J. Am I missing something to get it to deploy on the fly if I edit it? It's a bit cumbersome to have to stop and start OC4J everytime I tweak a JSP page a little.
AndrewDoing the right-click-run option will not work for me as I'm using a Model 2 pattern for my JSP development. The JSP has to have been served by a controller servlet before being valid. And I definitely know it's not a cache issue, I can see a log being generated everytime I refresh the page, but no matter how many times I make/rebuild/make, the changes don't show up. And besides, I thought the right-click-run option essentially starts a new OC4J instance, not continuing the previous version, isn't that right? I'd like to maintain state of the current session and not have to end up logging back in to my app everytime I tweak a character on a JSP page.
I know other, much simpler, JSP containers are able to do this, like Tomcat running in JBuilder 6. There, if I edit a JSP page, recompile it, and access it from a browser, it will show up with the changes. Perhaps someone at the JDeveloper team can clarify this for me?
Andrew -
Could not start OC4J instance.. Exception in thread "OC4J Launcher"
Hi All,
This is Kumar and I am using Oracle Enterprise Manager 10g which is installed on a Linux box. Recently, I found that I could not start OC4J instance either by giving ./opmnctl startall command or from EM console. Below is the error message from ./opmn/log/ folder.
11/03/28 10:03:47 Start process
11/03/28 10:03:49 Error writing server.xml
11/03/28 10:03:49 Exception in thread "OC4J Launcher" java.lang.OutOfMemoryError: Java heap space
11/03/28 10:03:49 at oracle.ias.container.timer.TimerEntry.readObjBytes(TimerEntry.java:274)
11/03/28 10:03:49 at oracle.ias.container.timer.TimerEntry.read(TimerEntry.java:248)
11/03/28 10:03:49 at oracle.ias.container.timer.internal.TimeBasedEntry.readEntry(TimeBasedEntry.java:253)
11/03/28 10:03:49 at oracle.ias.container.timer.Timer.readObject(Timer.java:489)
11/03/28 10:03:49 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11/03/28 10:03:49 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
11/03/28 10:03:49 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
11/03/28 10:03:49 at java.lang.reflect.Method.invoke(Method.java:597)
11/03/28 10:03:49 at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
11/03/28 10:03:49 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
11/03/28 10:03:49 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
11/03/28 10:03:49 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
11/03/28 10:03:49 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
11/03/28 10:03:49 at oracle.ias.container.timer.internal.FileTimerStore.readPersistentStore(FileTimerStore.java:191)
11/03/28 10:03:49 at oracle.ias.container.timer.internal.TimerFactory.readPersistentStore(TimerFactory.java:103)
11/03/28 10:03:49 at oracle.ias.container.timer.TimerService.schedulePersistedTimers(TimerService.java:655)
11/03/28 10:03:49 at oracle.ias.container.timer.TimerService.initialize(TimerService.java:473)
11/03/28 10:03:49 at oracle.ias.container.ContainerServiceManager.addService(ContainerServiceManager.java:209)
11/03/28 10:03:49 at com.evermind.server.ApplicationServer.startContainerServices(ApplicationServer.java:911)
11/03/28 10:03:49 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:952)
11/03/28 10:03:49 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
11/03/28 10:03:49 at java.lang.Thread.run(Thread.java:619)
11/03/28 10:03:49 Shutting down OC4J...
To resolve the issue, I have tried changing the opmn.xml file (from $ORACLE_HOME/opmn/conf/opmn.xml) such that, for the failed OC4J instance -XX:MaxPermSize=256m (old value was 128m).
Though I made the modification and re-start the OC4J instance, I could see the same error and behavior.
Can anyone help me to resolve this issue please?
Regards,
KumarThis is bit strange. It should work. I tested and works fine for me.
Can you remove the entry from opmn.xml and make sure no typo in server.xml and try again. You might want to reload OPMN (opmnctl reload) and then try restarting OC4J (opmnctl startproc ias-component=OC4J).
Note that value (-DcheckForUpdates) set in opmn.xml overrides the value set in server.xml:
http://download.oracle.com/docs/cd/B32110_01/web.1013/b28951/autodeploy.htm#CHDIBFAH
Thanks
Shail -
Auto start OC4J instance if not running?
Is there a way for get Forms Developer to start my OC4J instance if its not running or would this be a bad/impractical idea? Its a pain having to navigate to the menu option to start it all the time.
Thanks
RichardRichard,
this is an enhancement that is on our list, not sure when this will be in.
Frank -
New JCo is not replicated in other instances
Hi Experts,
there are 4 j2ee instances in our product system. 1 CI and 1 DI in one server, 2 DI in the other server.
after created a new JCo via web dispatcher, I found that the JCo is in undefined status in 2 instances.
why?
all instances are using the same SLD.
Regards,
SidneyHi Srinivas,
normally, when created a JCO in one instance, the other instances will be synchronized.
but now the jco is not replicated in 2 DI.
then i create the same jco in these DI, it throws a exception as follow
Exception while creating JCo client connection Failed to create new JCO client connection ZWD_APPR_QUERY_RFC_METADATA_DEST: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Connection ZWD_APPR_QUERY_RFC_METADATA_DEST already exists in the SLD. Please choose another name.
Regards,
Sidney -
Not able to run the forms -OC4J Instance Error
Hi all,
We are facing a problem, like in our developement server we have installed Forms 10g, and configured the formsweb.cfg(we had set the working folder as D:\Source) and default.env and registry also.
While calling the form from the other machines/run the form from the forms builder itself, we are getting error like "RFB 003.008". The same error is coming while running the test form using the "Start->Programs->Oracle Developer Suit - >DevSuiteHome1->Forms Developer->Run a Form on the web" method also,
When we started the OC4J Instance, we got the following message:
"C:\Documents and Settings\anantgop.MTODOM01\Desktop>D:\ora\u01\oracle\v101\devsuite10g\jdk\bin\java -Doracle.security.jazn.config=D:\ora\u01\oracle\v101\devsuite10g\j2ee\DevSuite\config\jazn.xml -Doracle.home=D:\ora\u01\oracle\v101\devsuite10g -DORACLE_HOME=D:\ora\u01\oracle\v101\devsuite10g -jar D:\ora\u01\oracle\v101\devsuite10g\j2ee\home\oc4j.jar -userThreads -config D:\ora\u01\oracle\v101\devsuite10g\j2ee\DevSuite\config\server.xml
08/10/13 07:39:16 Error starting HTTP-Server: Address already in use: JVM_Bind
08/10/13 07:39:16 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized"
If you see the above message " Error starting HTTP-Server: Address already in use: JVM_Bind", is it causing the problem. can anybody help on this?.
Enviroment Details:
OS : Windows Server R3 version
Forms version is:
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production
Please help us to solve this issue. Waiting for your valuable reply.
thanks
renjishhi all,
I solved the issue.....
thanks
renjish
Maybe you are looking for
-
Question with respect to a report painter report : tcode S_ALR_87100190
Hi All, I had a problem with the transaction S_ALR_87100190. With this transaction meant for Actual/Plan/Var Project + Responsible, in the report selections for From Period/year and To Period/year, the system was not accepting special periods but was
-
Waarom kan Acrobat ProX niet draaien op Engelstalige Mac?
Dear anyone, I have a license for Adobe Design Premium (purchased 2010) and I have a problem, which I hope you can help me with. I work on a Mac and my computer's main language is English (as is mine). The CS-package is in Dutch. This is no problem,
-
Proposed delivery date should not get copied to the target document
Hi gurus, I am creating a quotation and it is taking proposed delivery date as creation date and confirming a schedule line. When i create the sales order the same data is coped to the sale order. I have a different delivery date in sales order , but
-
Hi, I've created a web intelligence report and then published the report area as a web service. The web intelligence report has some selection options as prompt (optional). When I use this web service in Xcelsius, I see the selection option under inp
-
i heard photoshop is bad on mbp but i heard flash is good can somebody that ownes one tell me if either are good on it