Regarding Oc4j server
Hi all,
I'm deploying my application in oc4j using build files.But after deplyoing while im trying to open sometimes im getting null but if i restart the server once again then i can able to access the application properly.., why im getting null sometimes.......,
Plz reply fastly.........,
Any comments are welcome.
Regard's
Rajani.
Hi all,
I'm deploying my application in oc4j using build
files.But after deplyoing while im trying to open
sometimes im getting null but if i restart the server
once again then i can able to access the application
properly.., why im getting null sometimes.......,
Plz reply fastly.........,
Any comments are welcome.
Regard's
Rajani.plz reply me ...............,
Similar Messages
-
BUG: JDev 10.1.3.0.4 Embedded OC4J Server Preferences
If we specify in the Embedded OC4J Server Preferences->startup a OC4J installation to use for running and debbuging, click ok, and then delete the choosen directory and try again to access the Embedded OC4J Server Preferences, an error occurs. Appears an dialog and we can not alter this anymore.
Hi,
not sure on the limitation of dbms_output.put, but 4000 characters happens to be the maximum size of a varchar2 column....
I normally use dbms_output.put_line for debugging PL/SQL.
You could also post in the database forum if you have no luck here.
regards,
Brenden -
I've installed OC4J on Oracle 9i Application Server 1.0.2.2 on
Solaris v 5.7. I have Java version 1.2.1 as my default Java
environment.
The installation of OC4J went through fine. However, when trying
to start the OC4J server, I get the following error:
$ java -jar orion.jar
Error initializing server: Error instantiating default
application at file:/app.
Any suggesstions?
Thanks,
Ricardo R. GuzmanDid you do this first:
java -jar orion.jar -install
This will set your admin password. Not absolutely necessary, but
useful. The error indicates that you don't have write access to
some directory. Here is the layout of oc4j:
/../j2ee/home
this should be the directory you start oc4j from. The .. is
whereever you have installed oc4j.
j2ee/home/application-deployments
this directory is where the applications are actually deployed.
j2ee/home/applications
this directory is where ear files can be automatically deployed,
if you want to do that. By default, this feature is not enabled.
j2ee/home/config
various configuration xml files.
j2ee/home/default-web-app
this directory has the startup default web application.
The message you got doesn't make sense, unless you have your
default-web-site.xml file pointing to a directory /app for your
default-web-app. If you have done this, oc4j needs read/write
access to the directory. If you have not setup this permission,
this would explain the error you are getting.
regards,
the elephantwalker
www.elephantwalker.com -
Embedded OC4J Server could not be started up
hi ,
we are using java web services(JAX-RAC) in jdevloper for oaf page , for getting data from another application, if i run page from jdevlope with web services it is showing "failed to start embbed oc4j server". if i run without web services it is not showing any error.
please hlep me, advanced thanks.
regards,
kishore
Edited by: Saurabh on Nov 4, 2011 7:00 AMWhen I try to open the Tools/Embedded OC4J Server Preferences...
the following error stack trace pops up:
java.lang.NullPointerException
at oracle.ide.net.URLFactory.newURL(URLFactory.java:85)
at oracle.jdevimpl.runner.oc4j.Oc4jWorkspaceConfig.transmogrifyConfigFiles(Oc4jWorkspaceConfig.java:224)
at oracle.jdevimpl.runner.oc4j.Oc4jWorkspaceConfig.configureAll(Oc4jWorkspaceConfig.java:112)
at oracle.jdevimpl.runner.oc4j.EmbeddedServerAdminCommand.doit(EmbeddedServerAdminCommand.java:50)
at oracle.ide.CommandProcessor.invokeImpl(CommandProcessor.java:391)
at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:343)
at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:110)
at oracle.ide.IdeAction.performAction(IdeAction.java:665)
at oracle.ide.IdeAction$1.run(IdeAction.java:857)
at java.awt.event.InvocationEvent.dispatch InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Any other way of checking the configuration? Corrupt files somewhere?
Thanks,
Gonzalo -
How to use the HTTP Analyzer with the embedded OC4J server?
JDeveloper version: Studio Edition Version: 10.1.3.0.3.3412
I have a web application, which I run in the embedded OC4J server.
I tried to use the HTTP analyzer to inspect http requests and responses, but I could not make the analyzer work.
I tried to setup the HTTP analyzer by looking at the help entry, but I could not make it work.
If the HTTP analyzer works for you in the embedded OC4J server, please write the steps on how to setup the analyzer.
(Maybe I could not make the correct settings about port numbers?)
Thanks in advance,
Regards,
Turgay ZenginI was able to use the HTTP Analyzer by changing the proxy setting directly in Internet Options. Check the browser/proxy settings set in JDeveloper preferences and copy them to the Connections tab of Internet Options. See if that works for you.
-
How to write the jndi lookup for ejb using oc4j server in jdeveloper
Hi All,
i am new to the JDeveloper. i want to develop the session bean in JDeveloper using the OC4J server. how to write the jndi lookup in cllient. what are the xml files need to deploy the application. where can i mention the JNDI name in xml file. so please provide the information as soon as possible.
regards
ramThere is quite in-depth information in the Enterprise JavaBeans Developer's Guide.
Section 2 (Understanding EJB Application Development) explains the xml files needed and Section 29 (Accessing an EJB from a Client) explains how to do a JNDI lookup.
Hope this helps. -
Integrating java application running on OC4J server with EP Iview
Hi,
I Want to Integrate Java Application running on OC4J server with my Enterprise portal
Can any one please help me out in this??
Regards
Padma NHi Padma
Its possible to integrate a java application running in the other server with enterprise portal.In portal i think there is a IView template call Java application template.Using this generally we can do this.But in you case what type of a java application is it?Just a class or webapplication or a server side application.This you can also acheive using a webdynpro applications as these are very flexible with integration into EP.In webdynpro you can use suspend and resume plugs to navigate from one application to other application.I have given my ideas how to implement.But integration mainly depends upon your landscape and version compatibilities and type of the application you need to integrate.
Hope this answer helps you in implementation.
Regards
Kalyan -
Working on Tomcat Server but same code is not working on oc4j server of E-B
Hello,
I have a jsp page that is working properly in tomcat 6 server but when i deployed it on oc4j server 10.1.3.1.0 than it is not working. I am confuse.
ERROR MESSAGE:
500 Internal Server Error
Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
CODE JSP:
<%@ page import="java.sql.*" %>
<%@ page import="java.io.*" %>
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta
http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1" />
<meta
name="author"
content="MAX" />
<title>Test Register Page</title>
<link
rel="stylesheet"
href="css/style.css"
type="text/css"
media="screen" />
</head>
<body>
<div id="content">
<form name="demo" onsubmit="return validate_form()" action="RegisterServlet" method="post">
<fieldset>
<legend>VIEW USER</legend>
<table border=1>
<tr>
<td width="200px" align="center"><b>Bank Name</b></td>
<td width="200px" align="center"><b>User Name</b></td>
</tr>
<%
Connection connection = null;
String connectionURL = "jdbc:oracle:thin:@10.38.60.55:1521:edwdevdb";
ResultSet rs = null;
Statement statement = null;
try
// Get a Connection to the database
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
connection = DriverManager.getConnection(connectionURL,
"scott", "tiger");
statement = connection.createStatement();
rs = statement.executeQuery(" SELECT user_info.USER_KEY,user_info.FI_ID,d_fi.fi_nm, user_info.User_Name from user_info INNER join d_fi on user_info.fi_id = d_fi.fi_id order by fi_nm ");
//Set 'authentication' flag
while (rs.next())
%>
<tr>
<td width="200px"><a href="SearchUser?bankname=<%=rs.getString("USER_KEY")%">> <%= rs.getString("FI_NM")%></a> </td>
<td width="200px"><%= rs.getString("User_Name")%></td>
</tr>
<%
catch(SQLException e)
finally
rs.close();
statement.close();
connection.close();
%>
</table>
<label> </label>
</fieldset>
</form>
</div>
</body>
</html>
WEB xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<description>Register</description>
<display-name>Register</display-name>
<!-- Declare Servlets -->
<servlet>
<servlet-name>BaseServlet</servlet-name>
<servlet-class>BaseServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>CategoryServlet</servlet-name>
<url-pattern>/Category</url-pattern>
</servlet-mapping>
<!-- Welcome File List -->
<welcome-file-list>
<welcome-file>login.jsp</welcome-file>
</welcome-file-list>
</web-app>
Edited by: bappy007 on Oct 10, 2010 1:57 AM
Edited by: bappy007 on Oct 10, 2010 1:58 AMERROR IN LOG FILE:
10/10/10 15:18:55.843 edwportal: Servlet error
java.lang.NullPointerException
at test.jspService(_test.java:93)
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:619) -
How to use the same OC4j server with different port number
How to use the same OC4j server with different port numbers..?
I have to OC4J installed on my machine on different hard disk drives....
I want to be able to run both the server simultaneously..?
is it possible ..it yes then how..?
for that i have changed the port number of one server...
but when i am trying to start the other server with different port number..it says that JVM -Bind already...
Is there any clues...?
Nilesh GIn the config directory:
default-web-site.xml: Change the port the HTTP listener listens on
jms.xml: Change the port the JMS service listens on
rmi.xml: Change the port the ORMI listener listens on.
Or, you can add another web-site.xml file, and deploy your applications to 1 server, and bind the web applications to the different web sites. This way you only have to deploy your applications to 1 place.
Rob
Oracle -
Problem on running Preconfigured OC4J server in JDeveloper 10.1.3.2
Hi all,
I have problem on running preconfigured oc4j server in JDeveloper 10.1.3.2. I get the error message below :
C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\srcimage\bin>
C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\srcimage\bin\adfp_oc4j.cmd C:\Jdev10132\jdk\jre\.. C:\Jdev10132\ C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0 -start
wsrp not installed
installing wsrp......
C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\javacache alt path or file already exist
C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\javacache\admin
path or file already exist
System can not find the specified path
java.lang.RuntimeException: Instruction unknown: loadınstruction
at com.sun.org.apache.bcel.internal.util.InstructionFinder.mapName(InstructionFinder.java:138)
at com.sun.org.apache.bcel.internal.util.InstructionFinder.compilePattern(InstructionFinder.java:170)
at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:218)
at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:264)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1444)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:1058)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:615)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Stylesheet.java:730)
at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:335)
at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:410)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:791)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:284)
at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
ERROR: 'Instruction unknown: loadınstruction'
FATAL ERROR: 'Could not compile stylesheet'
oracle.portlet.server.containerimpl.install.InstallException: Error parsing stylesheet "resource/config-server.xsl"
at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:289)
at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
Caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:284)
... 2 more
caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:284)
at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
System can not find the specified path
Error: Can not find C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\j2ee\home\config\server.xml.
Stop OC4J command finished
Any help is appreciated...
Thanks in advance
Aliyewell I have downloaded the latest version of jdk (1.6) to check with it so it solved some of the problems but still I get an error on running the oc4j server. Error I get is:
Starting OC4J from C:\Jdev10132\j2ee\home ...
Executing: C:\Jdev10132\jdk\jre..\bin\java -XX:MaxPermSize=128m -Xmx512m -jar "C:\Jdev10132\j2ee\home\oc4j.jar" -config C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\srcimage\j2ee\home\config\server.xml
07/02/19 10:45:10 Error initializing server: IO error reading system
07/02/19 10:45:10 Fatal error: server exiting
Stop OC4J command finished.
I couldnt understand what is the problem now..
Thanks for your help..
Aliye -
JDev10G - Preventing OC4J Server opening a new browser window each time?
Hi,
Does anyone know how to prevent the embedded OC4J server in JDev 10g from opening a new web browser window each time I run my project i.e. I'd like the server to re-use the same IE window.
JDev 9i opened the launch page in the same IE window.
There's nothing obvious in the OC4J settings.
Could this be a client browser setting?
Not a big deal just thought I'd see if anyone has worked this out.
Thanks
DavidDavid,
There is a browser setting for both IE and Firefox to indicate whether launching re-uses the same window/tab or opens a new one. Absolutely nothing to do with OC4J.
John -
How to find out the info regarding Solaris, server hang or shutdown.
Hi
As I am handling the Solaris 9 Server remotely.
As in last week the server has stopped to respond suddenly, we have tried to ping, ssh which was not working. As ultimately we have asked the Data Centre Team to hard reboot the same, to resolve the issue.
In the same ref I would like to know how we come to know the reason, what caused to reboot the same, i.e . any log file, etc..
I have check /var/adm/messages, but not found any detail for the same.
Thanks
Rajan
INo core files?
No hope for an answer.
As you learned in the other Internet forum.
http://www.linuxquestions.org/questions/solaris-opensolaris-20/how-to-find-out-the-info-regarding-solaris-server-hang-or-shutdown.-621500/
To get such corefiles analyzed,
you would need to use your service contract and log a support case with Sun.
They have the special software tools to do that. -
Regarding Application server file path browsing
Hi All,
I have a issue regarding Application Server File Path browsing.
Actually in my selection-screen i will declare a parameter as <b>Application Server File Path</b> now when i press F4 in that field it should be able to browse through <b>Application Server Path's</b>.
Just like <b>F4_FILENAME</b> in the case of <b>Presentation Server File Path</b> Browsing.
Can anybody solve my issue.
Thanks in advance.
Thanks & Regards,
Rayeez.Hi Shaik,
Just copy and paste:
Here is the code for retrieving list of files contained within specific Application server directory(SAP).
PARAMETER: p_fdir type pfeflnamel DEFAULT '/usr/sap/tmp'.
data: begin of it_filedir occurs 10.
include structure salfldir.
data: end of it_filedir.
START-OF-SELECTION.
Get Current Directory Listing for OUT Dir
call function 'RZL_READ_DIR_LOCAL'
exporting
name = p_fdir
tables
file_tbl = it_filedir.
List of files are contained within table it_filedir
loop at it_filedir.
write: / it_filedir-NAME.
endloop.
Hope this will help you.
Let me know incase of any concerns.
EDIT:
There are few FM for ur refernce :
RZL_READ_DIR_LOCAL
SUBST_GET_FILE_LIST Return table with file list for the given directory (pattern allowed)
F4_DXFILENAME_TOPRECURSION Popup to select one file from the given application server directory
TH_SERVER_LIST Returns list of application servers.
EPS_GET_DIRECTORY_LISTING Lists filenames from the application server .
Cheers
Sunny
Rewrd points, if found helpful
Message was edited by: Sunny -
How to Deploy HTML file in embedded OC4J Server
Hi,
I have a problem with deploying the HTML file.
How to deploy a HTML file in embedded oc4j server.
I'm running this in a Standalone and JDeveloper9i version.
I don't know where to deploy and how to deploy ?
Thanks
JamesHi Deepak,
I tryed that but i was NOT successful.
I'm getting 404 error page could not find in the Server.
Any other idea ? -
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..
Maybe you are looking for
-
Problem with creating new user in portal = portlet is not visible
Hi, I've got a problem with creating new users in portal. In the Administer tab of the builder is the user portlet not visible. How can I make this portlet visible? Please Help thank you... Gilbert
-
Still frame capture script?
OK, I know that this is probably not something that everyone is just yearning for, but I can see it as helpful. So hear me out. I have a ton of footage (DVCProHD) and I would like to capture a still frame (just the first frame will work) of each clip
-
Using a text field as well as a display as text field on a form
I have a text field that a user will enter in an employee id and from there it will populate a display as text field with their first and last name. I am trying to accomplish this using a javascript process but can not get the name to display. This d
-
Using a Dell with Windows 7, and iTunes version 10.1.22, I have encountered a problem where without any file movement by me, every song in my iTunes library has become 'not found'. A good majority of the files have actually been deleted from my compu
-
IPhone app store app install/update errors!
Hi, I'm trying to update or install a few apps recently and I keep getting the error "Unable to Download Application" with the options DONE or RETRY. Done cancels the update/install download and retry repeats the error!? The username and password are