Are there applications deployed on OC4J ?
Are there applications deployed on OC4J and running live with 100+ users on Production. I know WebLogic and WebSphere does..but not sure of OC4J.
Yes there are!
Similar Messages
-
How to create different log files for each of web applications deployed in OC4J
Hi All,
I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
1. how to create different log files for each of my deployed web applications ?
2. what are the advantages in running multiple instances of oc4j and in what case we should run
multiple instances of OC4J ?
3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
Thanks and Regards,
Kumar.Hi Avi,
First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
Thanks and Regards,
Ravi. -
Global authentication for applications deployed in OC4J server
Hi,
I have a couple of JSP pages deployed in OC4J server. I
would like to use authentication provided by OC4J, it
means to use JAZN UserManager (encrypted principals, LDAP
or SSO).
My question is, if it's possible to set default
authentication method for whole server or whole
http-web-site on OC4J, or I have to make change in web.xml
in each and every program, which I am going to deploy into
my OC4J. If I have 100 programs and somebody will make
decision, there will be no authentocation on this particular
server, do I have to change all my programs and remove
entries from web.xml files?
Is there a way how to specify the login page globally for
the server, not by application?
Thanks,
Mareklograste resolver tu problema????... si es asi me puedes enviar la solucisn.....
gracias.. -
ADF Application Deployment in OC4J of Oracle Applicaiton Server 10g
Hi,
We have developed big ADF application with 10 different modules. We are deploying the application by creating .ear file into OC4J.
for each small fix done, we are taking entire code from CVS to Jdev and rebuilding the entire code and creating .ear file.
My question is if we copy only modified files into OC4J applicaiton directory and bounce application, will this work.
Is there any way to only deploy the modified files in to OC4J?
ThanksHi,
Thanks for the update.
I have few more clarifications.
After we complete the development and deploy the ADF application in prodcution server by creating EAR file with all the files, If we have to do modifications to only to few files for enhancements.
1) Can we copy only modified files(Ex.. Jspx,.Class files) to repective directories in the production server with out creating EAR file again? If we do so and bounce the OC4J, will this work?
2)Or do we have to create EAR file with all the files and deploy again into production server even we have changed only one file?
Just want to know process for deployment model for production support of ADF application.
Thanks -
Unable to access application deployed in OC4J server.
All,
I have hosted one small application in my local oc4j.
I am able to access the application by giving the following.
http://localhost:8888/<application>
http://<hostname>:8888/<application>
http://<IP address>:8888/<application>
But others( from the same domain) are not able to access this application. They are getting "Connection Timeout" error.
Please let me know is there any setup I am missing ?
TIA.
-- prabaa !There shouldn't be problems for others to access the application. Maybe check the proxy setting?
-Frances -
How to view logs of web application deployed in oc4j
Hi,
I have my oc4j server running, I have deployed a web application under instance DCG.
Please let us know, where can I find the logs of my application.
Thanks,
Nagesh.Usually while deploying a application through "Oracle Enterprise Manager 10g Application Server Control" we specify the log and configuration path needed for developed application provided developer has developed the application to store the logs. by default all logs will be there in opmn logs.
you can have a look on following locations
+$ORACLE_HOME/opmn/logs/DCG~OC4J* <OC4J name>+
or
+$ORACLE_HOME/j2ee/<OC4J>/log/<OC4J>/oc4j/log.xml+
Hv a good day!
Edited by: KuldeepSingh on 16-Jan-2012 19:40 -
How are java applications deployed?
i was just wondering. if i create a standalone application, how are they executed? i mean, do you create a .exe file of them or something?
There are many ways to deploy a Java application. Which way you choose depends on the nature of your application, on what are your customers, etc.
Narrowing your question to J2SE applicaitons (e.g. Swing-based client apps), you still have many options.
The most frequently used are
- Web start technology
- Java-aware installers (create conventional setup.exe)
- Java2exe wrappers
- Simple batch file like "javaw -jar myjar"
- Executable (or clickable) JAR
I do not know if there is a complete "Java deployment guide", however this article may be of some help to you, as it describes all these options:
http://www.excelsior-usa.com/articles/java-to-exe.html
Denis -
Application Deployment on OC4J - J2EE and WebCache w/o infrastructure
Can someone please tell me if I can deploy my Servlet on Oralce 9iAS Version 2, without making .war or .ear files. What I have is just servlet classes and jar files. Also what are the file I need to update if I want to deploy my application outside the Oracle_Home.
Any help would be appreciated.Did the application to deploy without problems?
Have you checked the logs? -
Are there application context variables on WebAS like in tomcat?
Hello @ all,
can anyone tell me if there is a possibility to store variables in an application context on WebAS like in tomcat.
I need this possibility to implement a connection pooling on a server wide basis. Where i thought of implementing a singleton to do the connection pooling and i wanted to store this in the application context of WebAS if there is one.
Any hint or link to documentation would be very welcome.
Thanks
TobiHi,
Since you are in the portal forum, I assume you have a portal installed.
You can then create a portal service, which will function as a singleton for the application server. Note however that if you run a cluster of many application servers, each of them will have an instance of it.
Dagfinn -
Hi,
So, I would like to start using the" Idle Time Out Action - Suspend" for several of my web applications.
What I would like to know is whether any Application Events occur that I can use so that I know when the WorkProcess enters or exits the suspend state.
Right now my application does stuff on Application Start and End, and I would like to have that same code executed when the WorkProcess suspends itself and when it comes out of suspend.
Is this possible?
Thanks,
~HendelHi Hendel,
About IIS issue,
http://forums.iis.net/
the above forum is where you should post.
Regards&&Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Are there any standard 'out of the box' Portal applications eg forum, chat etc.
Rather than developing applications that are probably a standard requirement for every Portal site, are there applications available from Oracle or other suppliers to add routine functionality such as discussion forums, chat etc?
http://portalstudio.oracle.com/servlet/page?_pageid=2112&_dad=ops&_schema=OPSTUDIO&_mode=3
This should provide you with a good start point -
How to deploy oracle forms + J2EE application in single OC4J instance
We have ORACLE forms application, which is deployed in OC4J Instance in application server.
There are some modules, which are developed in Java/J2EE, which are invoked from Oracle forms application. Currently this java application is
deployed in separate OC4J instance.
Could you please help us how to combine this forms +J2ee application in single ear file,
And this ear file has to be deployed in one OC4J instance.Maybe have a look at :
http://download.oracle.com/docs/cd/B14099_19/web.1012/b14032/basics.htm -
Are there any clustering deployment parameters for MDB ?
Hi all,
Are there any clustering deployment parameters for MDB ?
We set the Default Load Algorithm to weight-based on the Administration
Console,
and three servers in the cluster have the folloing weights:
Server1: 100
Server2: 1
Server3: 50
Put 10000 messages to the queue which a MDB is listening. The three servers
consume messages:
Server1: 4154
Server2: 3181
Server3: 2665
If we set th Algorithm to round-robin and put 10000 messages again, the
result is:
Server1: 3559
Server2: 2696
Server3: 3745
It seems that the weight-based setting doesn't work.
Except the settings on the Administration Console, are there any clustering
deployment parameters for MDB to have different behaviors?
TIA
Alan.
Thanks that was very helpful. My problem however wasn't with using Message driven beans or with sending/receiving messages to/from queue/topics from clients within the application ear file but from outside the ear file , like a remote client. When I follow the exact same steps for a remote client, except getting the context ofcourse, though I am able to lookup the queues and queue connection factories, I am not able to send messages to those queues. It's then that the client throws an exception that it couldn't connect to the JMS Server.
The server throws the following exception:
java.lang.NullPointerException
at com.evermind.server.jms.JMSServer.removeClient(JMSServer.java:724)
at com.evermind.server.jms.JMSRequestHandler.run(JMSRequestHandler.java:
278)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
utor.java:796)
at java.lang.Thread.run(Thread.java:484).
The client throws the following exception:
Exception in thread "main" javax.jms.JMSException: Unable to connect to JMSServe
r (localhost/127.0.0.1:9127)
at com.evermind.server.jms.EvermindQueueConnection.connect(EvermindQueue
Connection.java:144)
at com.evermind.server.jms.EvermindQueueConnection.send(EvermindQueueCon
nection.java:94)
at com.evermind.server.jms.EvermindQueueSession.send(EvermindQueueSessio
n.java:117)
at com.evermind.server.jms.EvermindQueueSender.send(EvermindQueueSender.
java:75)
at com.evermind.server.jms.EvermindQueueSender.send(EvermindQueueSender.
java:36)
at com.evermind.server.jms.EvermindQueueSender.send(EvermindQueueSender.
java:31)
at examples.jms.queue.QueueSend.send(QueueSend.java:71)
at examples.jms.queue.QueueSend.readAndSend(QueueSend.java:120)
at examples.jms.queue.QueueSend.main(QueueSend.java:106)
Any idea what might be causing this? Or is a remote client not allowed to send/receive messages from queue with oc4j?
Thanks again,
Bakul. -
How to lookup EJBs deployed in OC4J from a standalone client application
Hello all,
I am trying to lookup an EJB deployed in OC4J 10.1.3 from a standalone client application using the following code:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
env.put(Context.PROVIDER_URL, "ormi://localhost:23791");
env.put(Context.SECURITY_PRINCIPAL, "jazn.com/test");
env.put(Context.SECURITY_CREDENTIALS, "test");
Context context = new InitialContext(env);
Object ref = context.lookup("ejb/Dispatch");
I get the following error:
javax.naming.NameNotFoundException: ejb/Dispatch not found
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
For the lookup string I've also tried:
"java:comp/env/ejb/Dispatch" and "Dispatch"
For the Context.PROVIDER_URL property I've also tried:
opmn:ormi://localhost:6003:instance
The result is always the same.
I appreciate if someone could help me with this?
Thanks,
GeorgiGeorgi,
Your question has been discussed many times on this forum. Search the forum archives for "RMIInitialContextFactory".
The PROVIDER_URL needs to include the name of the deployed application that your EJB is part of, for example:
env.put(Context.PROVIDER_URL, "ormi://localhost:23791/MyApp");The lookup name has to be the value of the "ejb-name" element in your "ejb-jar.xml" descriptor file.
Your SECURITY_PRINCIPAL value looks strange to me. Personally, I use "principals" (and not JAZN), so I modified the "application.xml" file (in the "j2ee/home/config" subdirectory) to use "principals". Look for the following comment in that file:
<!-- Comment out the jazn element to use principals.
When both jazn and principals are present jazn is used -->Good Luck,
Avi.
Message was edited by:
Avi Abrami -
Deploy JClient application J2EE in OC4J
Hi.
I have a workspace with two projects, one is a Business components project and the other is a Jclient project that invoke the Business components from the first.
The projects are the examples from the help system of JDeveloper 9.0.3 Tutorials - Creating Swing Clients for Business Components Tutorial, well, now I made a deployment in simple archive and everything was fine but now I want to make a deploy to OC4J for the BC4J project (like EJB session Facade and BMT) and then a deploy of the JClient to run in another machine and connect with my application in oc4j.
The deploy for the project of BC4J apparently is ok because I tested with the tool of JDeveloper , but I dont know exactly how to make the deployment of the client in order to connect from another machine to the OC4J can anybody help me please? I read the help and many how to but don't describe a situation like that, If I make a deploy to OC4J connection don't appear any error but if I put the jar in other machine It ask for libraries , if I include all the libraries well is like a standalone application and run even if I shutdown the OC4J.
Thanks a lot!Hi,
This whitepaper containst step-by-step instructions (for Java Web start though, but the 3-tier deployment is similar for local deployments)
Frank
Maybe you are looking for
-
Display in editable alv grid.
Hi, This is my source code of uploading excel into sap and displaying the list.Please give the code for displaying the excel data in editable alv. <<The code came from [here|https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-UploaddatafromExceltoSa
-
I have downloaded the software but it just says waiting for 2 days, what does that mean?
-
I updated my iPad2 to IOS6 and now I cannot update from the App Store. I have tried the proposed fix of turning off automatic updates on the time etc, but that has not worried. I also tried to sign out and sign in again but now I cannot sign in.
-
Hi, I'm trying to check installed components on XI box from URL: http://<host>:<javaport>/sap/monitoring/SystemInfo But Im getting error 403 Forbidden You are not authorized to view the requested resource. So what user roles or rights do I need to a
-
Can anyone point me to the file which contains all the data which one inputs into the Calendar app? I am shifting from Calenar to Fantastical and would like to know how to delete all those Calendar entries I have made over the years, in one fell swo