Hello World Test 500 err ! !!! help me ~~
I am struding OAF . befoer a few day meet 500 err
this project Hello World test I am studing at home . Oralce 10g + JDVeloper (10.1.3.3)+ window xp /
Used dbc file General_Purpose.dbc . i have not ERP server . if hvae not ERP Server not working JDVeloper ?
I need help .. T . T ;
===============================================================================================
500 Internal Server Error
oracle.apps.fnd.common.PoolException: Exception creating new Poolable object. at oracle.apps.fnd.common.Pool.createObject(Pool.java:1286) at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:1027) at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:583) at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:297) at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1719) at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2305) at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2242) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2100) at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2481) at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2416) at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2397) at oracle.apps.fnd.common.NativeProfileStore.getInstanceName(NativeProfileStore.java:1020) at oracle.apps.fnd.common.NativeProfileStore.<init>(NativeProfileStore.java:159) at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContext.java:3982) at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:780) at oracle.apps.fnd.common.Context.setProfileStore(Context.java:767) at oracle.apps.fnd.common.Context.setProfileStore(Context.java:749) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:564) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524) at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1094) at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:225) at OAErrorPage.jspService(_OAErrorPage.java:62) [OAErrorPage.jsp] at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813) at runregion.jspService(_runregion.java:193) [runregion.jsp] at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) 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.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)
**Caused by: oracle.apps.fnd.common.AppsException: java.lang.NullPointerException at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn**
(AppsConnectionManager.java:904) at oracle.apps.fnd.security.AppsConnectionManager.getGwyuidConn(AppsConnectionManager.java:963) at oracle.apps.fnd.security.AppsConnectionManager.makeGuestConnection(AppsConnectionManager.java:781) at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:228) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at oracle.apps.fnd.common.Pool.createObject(Pool.java:1273) ... 54 more
Caused by: java.lang.NullPointerException at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1326) at
oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:885) ... 62 more
글 수정: soon
글 수정: soon
Thanx Sumit .
I think . JDVeloper running OC4j server . I can show page http://localhost/8888/em
but I cant see http://localhost/8988/OA_HTML/runregion.jsp this page 500 err
I am not using Application server . olny use window xp + Oracle 10g + JDVeloper 10.1.3.3
I am beginner . I dont Know environment . where I can see info. and setting ?
so heavy head .. T. T
Similar Messages
-
I am a newbie to Flash Media Development Server 3, on Vista,
trying to get the Hello World sample to work.
When I follow the instructions and place the Hello World
folder in the applications folder and try to test the movie, I get
a "read only" error. I have used the publish settings to make sure
the default paths are used. I read about MS file folder permissions
using cmd prompt ATTRIB, but discovered if I place the Hello World
folder on my desktop I don't get the "read only" error.
I'm seeing the connect button, when I publish to html, but
when I hit the button I just get the disconnect button, and no
"Hello World".
I have the .as, .fla, .swf files on my desktop Hello World
folder, and the .asc in the applications/Hello World folder.
Could someone give me some advice on how to get Hello World
working?
Thank You.I'm new at this myself so this may or may not help but I think you have a syntax error...
You have:
System.out.printIn("Hello World!");
I think it should be:
System.out.println("Hello World!");
You have the letter "I" ("I"ndia) where a "l" ("l"etter) should be used in the term "println"
Hope that does it... -
Please Help!! frustrating Hello World!
hi guys,
i was trying the famous Hello world example in rmi.
i have followed all the steps , i had this error:
Hello Server failed: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: Hello1_Stub
but it was fixed thanks to a previous topic posted , i removed another jdk version from the path environment variables.
now i have this error:
Hello Server failed: java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.NoClassDefFoundError: HelloInterface1
can anyone help please? it is really urgent.
Thankswell, it looks like no one can answer it, thanks anyways, i will see what i can do.
-
Help getting started w Xcode 3.0 and C++ hello world program
Friends:
I open xCode 3.0 on Leopard and I make a new project using the command line utility standard tool and enter the following application:
#include <iostream>
using namespace std;
int main()
cout << "Hello world";
return 0;
...and it doesn't build.
How can I fix this?
Thanks amigos! -MigsThe errors:
After the include: error: iostream: No such file or directory
After using namesapce: error: syntax error before namespace and warning: data definition has no type or storage calss
After cout: error: 'cout' undeclared
Thanks for helping!!!
Migs -
Need help in "Hello world" Scenario using BPEL
Hi All,
I am trying to do one hands on scenario for modelling a simple business process using BPEL. I have gone though multiple documents but still I am not able to reach any particular conclusion for fixing my issue.
At Present I have "JDeveloper Studio 11.1.1.7.0" and "Oracle Database Lite 10g" installed on my system. When i trying to execute the scenario["hello world"],(by going through the documentations provided) I am not seeing all the tabs/option on my JDeveloper.
Could anyone please help me on this.
Thanks in advance!
Regards,
PallabHi, Thanks for the reply. I got one link "https://java.net/projects/oraclesoasuite11g/pages/Home" which states the list of software's needed for this.As there was some installation issue i was not getting all the features. But now again I am stuck, the new issue that I am facing is -
I am not able to install "Oracle Service Bus" as I am getting the command prompt window mentioning the JDK/JRE path. PFB the other details.
File downloaded: -ofm_rcu_win_11.1.1.7.0_64_disk1_1of1.zip (unzipped and got disk 1 and disk2 folders in it).
Error info: Please specify JRE/JDK location (in command prompt window)
System Details :Windows 7, 64 bit. JDK, 64 bit for windows 7 is installed on the system
Options I tried:
Provided the below path and tried
C:\Program Files\Java\jdk1.6.0_30
C:\Program Files\Java\jdk1.6.0_30\bin
C:\Program Files\Java\jre6
C:\Program Files\Java\jre6\bin
C:\Program Files (x86)\Java\jre6
G:\web_logic_server_installation\jdk160_29 (installation folder of WLS)
G:\web_logic_server_installation\jdk160_29\bin (installation folder of WLS)
Even after selecting the path it prompts for JDK/JRE path every time, and it doesn't allow to go further.
Could anyone please help me for fixing the issue.
Regards,
Pallab -
Hi,
I had just started learning Java ME but already bumped into problems at the beginning. I installed JDK 6 Update 7 and Wireless toolkit 2.5.2 for CLDC but the problem is when i try to run a basic example such as this:
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public class HelloMIDlet extends MIDlet {
public void startApp() {
System.out.println("Hello World");
public void pauseApp() {
public void destroyApp(boolean unconditional) {
}and it workd in Wireless Toolkit 2.5.2 but ineed to try it @ my phon (nokia 6120 )
pleas tell me how to do it
( sory about my english )You are just using a sop only so you cant c anything in real phone:D.
just use this code and you can see a Hello world :D
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
* @author Amila
public class TestMidlet extends MIDlet implements CommandListener {
TextBox tb;
Command cmdExit;
Display dsp;
public TestMidlet(){
tb = new TextBox("My first application", "Hello World", 100, TextField.ANY);
cmdExit = new Command("Exit", Command.EXIT, 0);
tb.addCommand(cmdExit);
tb.setCommandListener(this);
dsp = Display.getDisplay(this);
public void startApp() {
dsp.setCurrent(tb);
public void pauseApp() {
public void destroyApp(boolean unconditional) {
public void commandAction(Command cmd, Displayable arg1) {
if(cmd == cmdExit){
notifyDestroyed();
destroyApp(true);
} -
HOW TO: Create a GUI "Hello World"
</p>
This document describes how to create and run a very simple "Hello World"
Java GUI app using JDeveloper. The application will have one button and one
text field. Clicking the button will populate the text field with the message,
"Hello World!"</p>
Creating The New Application
In this section, we will create an application with an empty frame.</p>
<ol>
[*]Choose File | New Workspace.
</li>
[*]Choose File | Save Workspace.
</li>
[*]Enter <TT>HelloGui.jws</tt> as the name for the workspace.
This creates a Workspace called HelloGui. A workspace organizes all the projects
you need to work on at one time.
</li>
[*]Choose File | New Project.
The Project Wizard opens. This wizard will help you create a new project called
HelloGui. A project contains all the files that go together in one "tier"--for
example, all the files belonging to a single Java Application client, or all
the files belonging to an Enterprise Java Bean. Because we are working on
a simple, one-tier application, we will only need one project in our workspace.
</li>
[*]If the Welcome page appears, click Next.
</li>
[*]On the Project Type page, in the What is the Project's Filename?
field, change the filename to <TT>HelloGui.jpr</tt>. Leave the rest of the
path the same.
</li>
[*]Select A Project containing a new... and choose Application
from the dropdown list.
</li>
[*]Click Next.
</li>
[*]On the Project Options page, in the What is the name of the project's
default package field, enter <TT>helloGui</tt>.
</li>
[*]Click Next.
</li>
[*]On the Project Information page, you can enter any information about your
project that you wish.
</li>
[*]Click Finish.
The Application Wizard opens.
</li>
[*]In the Class field, enter <TT>HelloApp</tt>.
</li>
[*]Select the New Empty Frame radio button.
</li>
[*]Click OK.
The Frame Wizard opens.
</li>
[*]In the Class field, enter <TT>HelloFrame</tt>.
</li>
[*]Click OK.
JDeveloper creates an application, <TT>HelloApp</tt>, containing an empty
frame, <TT>HelloFrame</tt>. The source code for these classes appears in the
Navigator, which is the upper left-hand pane in the JDeveloper IDE.
</li>
[*]Choose File | Save All.</li>
</ol>
Adding a Panel to the Frame
In this section, we will now add a panel to the frame. In the next section,
we will add all the other components to this panel.</p>
<ol>
[*]In the Navigator, double-click <TT>HelloFrame.java</tt>.
A viewer opens. This viewer has four tabs at the bottom:
<ul>
[*]Source, the currently active tab, which displays the source code
of the selected class</li>
[*]Design, which invokes a visual layout designer</li>
[*]Class, which invokes an editor for the class' attributes, and
can help you stay JavaBean complient</li>
[*]Doc, which displays the class' JavaDoc
</li>
</ul>
</li>
[*]Click the Design tab.
The viewer now displays a grey square, a graphical mock-up of your frame.
Also, on the right-hand side of your screen, the Property Inspector opens.
This allows you to quickly set attributes and define events for components.
</li>
[*]In the component palette (the tabbed toolbar near the top of your screen),
select the Swing Containers tab.
</li>
[*]Click the blue square (described in rollover text as <TT>JPanel</tt>) and
click on your frame to add the panel.
The Property Inspector now displays attributes of the JPanel.
</li>
[*]In the Property Inspector, click twice inside the box beside the name
field.
</li>
[*]Change the name to mainPanel.
</li>
[*]Click the box beside the layout field.
</li>
[*]Choose XYLayout.
XYLayout is an easy-to-use Layout for prototyping. Later, we will change the
layout to a more portable one.</li>
</ol>
Adding Components to the Panel
In this section, we finish laying out a prototype UI. We will add polish and
portability to the UI later.</p>
<ol>
[*]In the Component Palette, select the Swing tab.
</li>
[*]Select the <TT>JTextField</tt> component, which looks like a text field
with a cursor.
</li>
[*]In your panel, click and drag the cursor to outline the text field.
Don't worry if the text field doesn't have exactly the right size or position.
We will adjust these later.
The Property Inspector now displays attributes of the JTextField.
</li>
[*]In the Property Inspector, change the name (just as you did for the
JPanel) to <TT>displayField</tt>.
</li>
[*]Change the text to nothing (erase the value that is already there).
</li>
[*]In the Component Palette, select the <TT>JButton</tt> component, which looks
like a button being clicked.
</li>
[*]In your panel, click and drag the cursor to outline the button.
The Property Inspector now displays attributes of the JButton.
</li>
[*]In the Property Inspector, change the name and action command
to helloButton.
</li>
[*]Change the text to <TT>Say Hello!</tt>.
</li>
[*]Choose File | Save All.</li>
</ol>
Wiring Up the UI
In this section, we wire the UI so that clicking the button causes "Hello
World!" to display in the text field.</p>
<ol>
[*]In the Property Inspector, select the Events tab.
</li>
[*]Click the box next to the Action Performed field and press the Enter
key.
This creates a method, <TT>helloButton_actionPerformed()</tt>, which will
be invoked when the button is clicked, and displays the source code for the
method stub in the viewer.
</li>
[*]In the viewer, add the following command to the body of the method:
<TT>displayField.setText("Hello World!");</tt>
</li>
[*]Choose File | Save All.</li>
</ol>
Testing the Prototype Application
<ol>
[*]Choose Run | Run "HelloApp".
Your application appears, with a blank text field and a button labeled "Say
Hello!"
</li>
[*]Click the button.
The text "Hello World!" appears in the text field.
</li>
[*]Close your application.</li>
</ol>
Refining the UI
In this section, we polish the UI so that the components have the right size
and alignment, the text in the text field shows up red, and the panel uses the
portable GridBag layout instead of the JDeveloper-specific XYLayout.</p>
<ol>
[*]In the viewer, select the Design tab.
</li>
[*]Select your text field.
</li>
[*]Drag the edges of your text field until it is the size you want.
</li>
[*]Drag the center of the text field until it is the vertical position you
want.
</li>
[*]Right-click the text field and choose Align Center.
This centers your text field horizontally in the frame.
</li>
[*]In the property inspector, click the box next to the foreground field.
</li>
[*]Click the ellipses (...).
A color editor appears.
</li>
[*]Select Red from the dropdown list.
</li>
[*]Click OK.
</li>
[*]On your frame, select your button.
</li>
[*]Drag the right edge of your button until it is the horizontal size you want.
</li>
[*]Select your text field, and multi-select your button by control-clicking
it.
</li>
[*]Right-click your button or text field.
</li>
[*]Choose Same Size Vertical.
This sets the height of all selected components to that of the first selected
component (the text field).
</li>
[*]Right-click your button or text field.
</li>
[*]Choose Align Center.
This aligns the center of all selected components to that of the first selected
component (the text field).
</li>
[*]Select your panel by clicking anywhere on the grey background in the visual
designer.
</li>
[*]In the Property Inspector, click the box beside the layout field.
</li>
[*]Select GridBagLayout from the dropdown list.
</li>
[*]Choose File | Save All.</li>
</ol>
Running the Finished Application From Within JDeveloper
<ol>
[*]Choose Run | Run "HelloApp".
Your application appears, with a blank text field and a button labeled "Say
Hello!"
</li>
[*]Click the button.
The text "Hello World!" appears in the text field, in red.
</li>
[*]Close your application.</li>
</ol>
Deploying the Application to Your File System
<ol>
[*] In the Navigator, right-click <tt>HelloGui.jpr</tt> and choose New Deployment
Profile.
The Deployment Profile Wizard opens.
</li>
[*]If the Welcome page appears, click Next.
</li>
[*]On the Delivery page, select Web Application or Command-Line Application
from the dropdown list, and click Next.
</li>
[*]On the Staging Area page, in the Deployment Destination field, enter
<tt><JDeveloper>/HelloGui</tt>, where <tt><JDeveloper></tt>
is your JDeveloper root directory. Click Next.
</li>
[*]On the Project page, select all the <tt>.java</tt> files and click Next.
</li>
[*]Skip the Archive page and Applet Tags page by clicking Next on each.
</li>
[*]On the Libraries page, shuttle all libraries from the Project Libraries
list to the Deployed Libraries list, and click Next.
</li>
[*]On the Finish page, name the profile <tt>HelloGui.prf</tt>, and click Finish.
</li>
[*]When JDeveloper asks you if you want to deploy now, click Yes.</li>
</ol>
JDeveloper will archive your application files and copy this archive and all
other required libraries to <tt><JDeveloper>/HelloGui</tt>.</p>
Running the Application from the Command Line
<ol>
[*]Open a command-line prompt.
</li>
[*]Enter the following script.
Note: You may want to create a batch file containing this script. Be
sure to replace JDeveloper_Home with your JDeveloper home directory.
<pre>set __CLASSPATH_ROOT_DIR__=JDeveloper_Home\HelloGui
set CLASSPATH="%__CLASSPATH_ROOT_DIR__%\HelloGui.jar"
set CLASSPATH=%CLASSPATH%;"%__CLASSPATH_ROOT_DIR__%\xmlparserv2.jar"
set CLASSPATH=%CLASSPATH%;"%__CLASSPATH_ROOT_DIR__%\classes12.zip"
set CLASSPATH=%CLASSPATH%;"%__CLASSPATH_ROOT_DIR__%\jdev-rt.zip"
set CLASSPATH=%CLASSPATH%;"%__CLASSPATH_ROOT_DIR__%\swingall.jar"
cd JDeveloper_Home\HelloGui
jre -cp %CLASSPATH% helloGui.HelloApp</pre>
</li>
[*]Your application appears, with a blank text field and a button labeled "Say
Hello!"
</li>
[*]Click the button.
The text "Hello World!" appears in the text field, in red.
</li>
[*]Close your application.</li>
</ol>
</p>
</p>
nullHello,
I followed your instruction step by step to make this "Hello World", but when I run it, I got message "cannot find the runable node". What do I miss here? Thanks.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Avrom Faderman ([email protected]):
</p>
This document describes how to create and run a very simple "Hello World"
Java GUI app using JDeveloper. The application will have one button and one
text field. Clicking the button will populate the text field with the message,
"Hello World!"</p>
[b]Creating The New Application
In this section, we will create an application with an empty frame.</p>
<ol>
[*]Choose File | New Workspace.
</li>
[*]Choose File | Save Workspace.
</li>
[*]Enter <TT>HelloGui.jws</tt> as the name for the workspace.
This creates a Workspace called HelloGui. A workspace organizes all the projects
you need to work on at one time.
</li>
[*]Choose File | New Project.
The Project Wizard opens. This wizard will help you create a new project called
HelloGui. A project contains all the files that go together in one "tier"--for
example, all the files belonging to a single Java Application client, or all
the files belonging to an Enterprise Java Bean. Because we are working on
a simple, one-tier application, we will only need one project in our workspace.
</li>
[*]If the Welcome page appears, click Next.
</li>
[*]On the Project Type page, in the What is the Project's Filename?
field, change the filename to <TT>HelloGui.jpr</tt>. Leave the rest of the
path the same.
</li>
[*]Select A Project containing a new... and choose Application
from the dropdown list.
</li>
[*]Click Next.
</li>
[*]On the Project Options page, in the What is the name of the project's
default package field, enter <TT>helloGui</tt>.
</li>
[*]Click Next.
</li>
[*]On the Project Information page, you can enter any information about your
project that you wish.
</li>
[*]Click Finish.
The Application Wizard opens.
</li>
[*]In the Class field, enter <TT>HelloApp</tt>.
</li>
[*]Select the New Empty Frame radio button.
</li>
[*]Click OK.
The Frame Wizard opens.
</li>
[*]In the Class field, enter <TT>HelloFrame</tt>.
</li>
[*]Click OK.
JDeveloper creates an application, <TT>HelloApp</tt>, containing an empty
frame, <TT>HelloFrame</tt>. The source code for these classes appears in the
Navigator, which is the upper left-hand pane in the JDeveloper IDE.
</li>
[*]Choose File | Save All.</li>
</ol>
Adding a Panel to the Frame
In this section, we will now add a panel to the frame. In the next section,
we will add all the other components to this panel.</p>
<ol>
[*]In the Navigator, double-click <TT>HelloFrame.java</tt>.
A viewer opens. This viewer has four tabs at the bottom:
<ul>
[*]Source, the currently active tab, which displays the source code
of the selected class</li>
[*]Design, which invokes a visual layout designer</li>
[*]Class, which invokes an editor for the class' attributes, and
can help you stay JavaBean complient</li>
[*]Doc, which displays the class' JavaDoc
</li>
</ul>
</li>
[*]Click the Design tab.
The viewer now displays a grey square, a graphical mock-up of your frame.
Also, on the right-hand side of your screen, the Property Inspector opens.
This allows you to quickly set attributes and define events for components.
</li>
[*]In the component palette (the tabbed toolbar near the top of your screen),
select the Swing Containers tab.
</li>
[*]Click the blue square (described in rollover text as <TT>JPanel</tt>) and
click on your frame to add the panel.
The Property Inspector now displays attributes of the JPanel.
</li>
[*]In the Property Inspector, click twice inside the box beside the name
field.
</li>
[*]Change the name to mainPanel.
</li>
[*]Click the box beside the layout field.
</li>
[*]Choose XYLayout.
XYLayout is an easy-to-use Layout for prototyping. Later, we will change the
layout to a more portable one.</li>
</ol>
Adding Components to the Panel
In this section, we finish laying out a prototype UI. We will add polish and
portability to the UI later.</p>
<ol>
[*]In the Component Palette, select the Swing tab.
</li>
[*]Select the <TT>JTextField</tt> component, which looks like a text field
with a cursor.
</li>
[*]In your panel, click and drag the cursor to outline the text field.
Don't worry if the text field doesn't have exactly the right size or position.
We will adjust these later.
The Property Inspector now displays attributes of the JTextField.
</li>
[*]In the Property Inspector, change the name (just as you did for the
JPanel) to <TT>displayField</tt>.
</li>
[*]Change the text to nothing (erase the value that is already there).
</li>
[*]In the Component Palette, select the <TT>JButton</tt> component, which looks
like a button being clicked.
</li>
[*]In your panel, click and drag the cursor to outline the button.
The Property Inspector now displays attributes of the JButton.
</li>
[*]In the Property Inspector, change the name and action command
to helloButton.
</li>
[*]Change the text to <TT>Say Hello!</tt>.
</li>
[*]Choose File | Save All.</li>
</ol>
Wiring Up the UI
In this section, we wire the UI so that clicking the button causes "Hello
World!" to display in the text field.</p>
<ol>
[*]In the Property Inspector, select the Events tab.
</li>
[*]Click the box next to the Action Performed field and press the Enter
key.
This creates a method, <TT>helloButton_actionPerformed()</tt>, which will
be invoked when the button is clicked, and displays the source code for the
method stub in the viewer.
</li>
[*]In the viewer, add the following command to the body of the method:
<TT>displayField.setText("Hello World!");</tt>
</li>
[*]Choose File | Save All.</li>
</ol>
Testing the Prototype Application
<ol>
[*]Choose Run | Run "HelloApp".
Your application appears, with a blank text field and a button labeled "Say
Hello!"
</li>
[*]Click the button.
The text "Hello World!" appears in the text field.
</li>
[*]Close your application.</li>
</ol>
Refining the UI
In this section, we polish the UI so that the components have the right size
and alignment, the text in the text field shows up red, and the panel uses the
portable GridBag layout instead of the JDeveloper-specific XYLayout.</p>
<ol>
[*]In the viewer, select the Design tab.
</li>
[*]Select your text field.
</li>
[*]Drag the edges of your text field until it is the size you want.
</li>
[*]Drag the center of the text field until it is the vertical position you
want.
</li>
[*]Right-click the text field and choose Align Center.
This centers your text field horizontally in the frame.
</li>
[*]In the property inspector, click the box next to the foreground field.
</li>
[*]Click the ellipses (...).
A color editor appears.
</li>
[*]Select Red from the dropdown list.
</li>
[*]Click OK.
</li>
[*]On your frame, select your button.
</li>
[*]Drag the right edge of your button until it is the horizontal size you want.
</li>
[*]Select your text field, and multi-select your button by control-clicking
it.
</li>
[*]Right-click your button or text field.
</li>
[*]Choose Same Size Vertical.
This sets the height of all selected components to that of the first selected
component (the text field).
</li>
[*]Right-click your button or text field.
</li>
[*]Choose Align Center.
This aligns the center of all selected components to that of the first selected
component (the text field).
</li>
[*]Select your panel by clicking anywhere on the grey background in the visual
designer.
</li>
[*]In the Property Inspector, click the box beside the layout field.
</li>
[*]Select GridBagLayout from the dropdown list.
</li>
[*]Choose File | Save All.</li>
</ol>
Running the Finished Application From Within JDeveloper
<ol>
[*]Choose Run | Run "HelloApp".
Your application appears, with a blank text field and a button labeled "Say
Hello!"
</li>
[*]Click the button.
The text "Hello World!" appears in the text field, in red.
</li>
[*]Close your application.</li>
</ol>
Deploying the Application to Your File System
<ol>
[*] In the Navigator, right-click <tt>HelloGui.jpr</tt> and choose New Deployment
Profile.
The Deployment Profile Wizard opens.
</li>
[*]If the Welcome page appears, click Next.
</li>
[*]On the Delivery page, select Web Application or Command-Line Application
from the dropdown list, and click Next.
</li>
[*]On the Staging Area page, in the Deployment Destination field, enter
<tt><JDeveloper>/HelloGui</tt>, where <tt><JDeveloper></tt>
is your JDeveloper root directory. Click Next.
</li>
[*]On the Project page, select all the <tt>.java</tt> files and click Next.
</li>
[*]Skip the Archive page and Applet Tags page by clicking Next on each.
</li>
[*]On the Libraries page, shuttle all libraries from the Project Libraries
list to the Deployed Libraries list, and click Next.
</li>
[*]On the Finish page, name the profile <tt>HelloGui.prf</tt>, and click Finish.
</li>
[*]When JDeveloper asks you if you want to deploy now, click Yes.</li>
</ol>
JDeveloper will archive your application files and copy this archive and all
other required libraries to <tt><JDeveloper>/HelloGui</tt>.</p>
Running the Application from the Command Line
<ol>
[*]Open a command-line prompt.
</li>
[*]Enter the following script.
Note: You may want to create a batch file containing this script. Be
sure to replace JDeveloper_Home with your JDeveloper home directory.
<pre>set __CLASSPATH_ROOT_DIR__=JDeveloper_Home\HelloGui
set CLASSPATH="%__CLASSPATH_ROOT_DIR__%\HelloGui.jar"
set CLASSPATH=%CLASSPATH%;"%__CLASSPATH_ROOT_DIR__%\xmlparserv2.jar"
set CLASSPATH=%CLASSPATH%;"%__CLASSPATH_ROOT_DIR__%\classes12.zip"
set CLASSPATH=%CLASSPATH%;"%__CLASSPATH_ROOT_DIR__%\jdev-rt.zip"
set CLASSPATH=%CLASSPATH%;"%__CLASSPATH_ROOT_DIR__%\swingall.jar"
cd JDeveloper_Home\HelloGui
jre -cp %CLASSPATH% helloGui.HelloApp</pre>
</li>
[*]Your application appears, with a blank text field and a button labeled "Say
Hello!"
</li>
[*]Click the button.
The text "Hello World!" appears in the text field, in red.
</li>
[*]Close your application.</li>
</ol>
</p>
</p><HR></BLOCKQUOTE>
null -
Error while running Hello World Page
Hi
I am getting the following error when I run the Hello World page from the Tutorial.
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SECURITY_APPL_LOGIN_FAILED.
## Detail 0 ##
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SECURITY_INVALID_DBC_PARAMETER. Tokens: ROUTINE = AppsConnectionManager.makeGuestConnection; FILE = D:\Jdeveloper\jdevhome\jdev\dbc_files\secure\test.dbc; PARAMETER = GUEST_USER_PWD;
## Detail 0 ##
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: AOLJ_JAVA_EXCEPTION. Tokens: MESSAGE = Not able to create new database connection: FNDSECURITY_APPL_LOGIN_FAILED;
## Detail 0 ##
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.apps.fnd.common.PoolException: Not able to create new database connection: FNDSECURITY_APPL_LOGIN_FAILED;
The DBC file is in place. After checking various posts I have confirmed details in the DBC file and they seem to be right.
Could someone please help me out here.
Regards
Deepakhttp://oracleanil.blogspot.com/2010/11/how-to-test-or-create-dbc-file-on.html
Thanks
--Anil
http://oracleanil.blogspot.com -
Error while running Hello world from Tutorial
Hi ,
I am facing a strange problem while running Hello world from tutorial. The page expires after running for half an hour and the log in the Jdeveloper is
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\Jdev\jdevbin\jdk1.4.2\bin\javaw.exe -client -classpath C:\Jdev\jdevbin\j2ee\home\oc4j.jar;C:\Jdev\jdevbin\jdev\lib\jdev-oc4j.jar -Xbootclasspath/p:C:\Jdev\jdevbin\jdev\appslibrt\ojdbc14.jar;C:\Jdev\jdevbin\jdev\appslibrt\nls_charset12.zip -DRUN_FROM_JDEV=true -mx256m -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 com.evermind.server.OC4JServer -config C:\Jdev\jdevhome\jdev\system9.0.3.5.1312\oc4j-config\server.xml
[waiting for the server to complete its initialization...]
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 5782 ms.
Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
Oracle9iAS (9.0.3.1.0) Containers for J2EE initialized
Tutalii: C:\Jdev\jdevbin\jdev\appslibrt\iasjoc.zip archive
[Feb 27, 2008 4:31:57 PM IST]:1204110117921:Thread[HttpRequestHandler-25086455,5,main]:-1:-1:sisatpat:9.182.220.120:-1:-1:UNEXPECTED:[fnd.common.logging.DebugEventManager.handlerException]:java.io.FileNotFoundException: C:\u01\VIS\FND.log (The system cannot find the path specified)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at oracle.apps.fnd.common.logging.FileHandleManager.getFileInternal(FileHandleManager.java:99)
at oracle.apps.fnd.common.logging.FileHandler.<init>(FileHandler.java:99)
at oracle.apps.fnd.common.logging.FileHandler.<init>(FileHandler.java:79)
at oracle.apps.fnd.common.logging.DebugEventManager.registerHandlers(DebugEventManager.java:1198)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:949)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:907)
at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:1025)
at oracle.apps.fnd.common.WebAppsContext.init(WebAppsContext.java:3486)
at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:537)
at oracle.apps.jtf.base.resources.Architecture.createWebAppsContext(Architecture.java:429)
at oracle.apps.jtf.base.resources.Architecture.createAppsContext(Architecture.java:422)
at oracle.apps.jtf.base.resources.Architecture.createAppsContext(Architecture.java:330)
at oracle.apps.jtf.cache.ArchitectureWrapper.createAppsContext(ArchitectureWrapper.java:90)
at oracle.apps.jtf.cache.appsimpl.AppsCacheLogger.<clinit>(AppsCacheLogger.java:34)
at oracle.apps.jtf.cache.appsimpl.AppsCacheEnvironment.getCacheLogger(AppsCacheEnvironment.java:67)
at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:595)
at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:364)
at oracle.apps.jtf.cache.CacheAdmin.isComponentRegistered(CacheAdmin.java:314)
at oracle.apps.fnd.cache.Cache.registerCacheIfNeeded(Cache.java:119)
at oracle.apps.fnd.cache.Cache.initCache(Cache.java:110)
at oracle.apps.fnd.cache.Cache.<init>(Cache.java:88)
at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:87)
at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:280)
at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileStore.java:482)
at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileStore.java:113)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContext.java:3834)
at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:942)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:825)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:807)
at oracle.apps.fnd.common.WebAppsContext.init(WebAppsContext.java:3484)
at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:537)
at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:346)
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
at test_fwktutorial._jspService(test_fwktutorial.jsp:45)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
at java.lang.Thread.run(Thread.java:534)
[Feb 27, 2008 4:31:57 PM IST]:1204110117890:Thread[HttpRequestHandler-25086455,5,main]:-1:-1:sisatpat:9.182.220.120:-1:-1:UNEXPECTED:[fnd.common.logging.FileHandler.publish]:Please check File Permission/Disk Space for: /u01/VIS/FND.log, defaulting Logging to STDERR
Can any one help!!
Thanks,
Sid..Sid,
1) Check your using the correct version of Jdev with your instance.
Metalink note 416708.1 - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12
Will give the mappings.
And check the Jdev setting
330236.1 - Configuring JDeveloper For Use With Oracle Applications 11i and R12
2) Instead of using the tutorial, create a sample page, Am and run the page.
Check what error you are getting.
Thanks.
With Regards,
Kali.
OSSI. -
Error while initiating start case from the EM for Hello World project
Hi Team,
I am getting the below error while testing the startCase from the EM. Applied the required patches.
<Dec 16, 2013 1:01:09 PM IST> <Error> <oracle.bpm.casemgmt.event> <BEA-000000> <Exception
BPM-73200
Error in raising event.
Error in raising event.
Review the error to correct the error.
at oracle.bpm.casemgmt.impl.CaseEventServiceImpl.raiseCaseEvent(CaseEventServiceImpl.java:12
0)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:149)
at oracle.bpm.casemgmt.interceptors.CaseServiceAdvice.invoke(CaseServiceAdvice.java:187)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy339.raiseCaseEvent(Unknown Source)
at oracle.bpm.casemgmt.interceptors.RaiseEventAdvice.raiseEvent(RaiseEventAdvice.java:190)
at oracle.bpm.casemgmt.interceptors.RaiseEventAdvice.processResult(RaiseEventAdvice.java:90)
at oracle.bpm.casemgmt.interceptors.CaseServiceAdvice.invoke(CaseServiceAdvice.java:209)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy338.startCase(Unknown Source)
at oracle.bpm.casemgmt.ejb.CaseManagementService.startCase(CaseManagementService.java:283)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doP
roceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.ja
va:34)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentI
nterceptorCallbackImpl.java:54)
at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invok
e(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doP
roceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
at $Proxy321.startCase(Unknown Source)
at oracle.bpm.casemgmt.ejb.CaseManagementService_m764e8_ICaseServiceImpl.__WL_invoke(Unknown
Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvo
ker.java:40)
at oracle.bpm.casemgmt.ejb.CaseManagementService_m764e8_ICaseServiceImpl.startCase(Unknown S
ource)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.ja
va:85)
at $Proxy194.startCase(Unknown Source)
at oracle.bpm.casemgmt.fabric.CaseManagementServiceEngine.request(CaseManagementServiceEngin
e.java:264)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMe
ssageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:182)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy380.request(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessi
ng(WebServiceEntryBindingComponent.java:1636)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMe
ssage(WebServiceEntryBindingComponent.java:1016)
at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java
:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.j
ava:1187)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcesso
r.java:1123)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.ja
va:581)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:235)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:195)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:487)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServle
t.java:523)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.
java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServ
letContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
ontext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2
273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: javax.naming.NameNotFoundException: Unable to resolve 'jms.bpm.CaseEventConnectionFactory
'. Resolved 'jms.bpm'; remaining name 'CaseEventConnectionFactory'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:412)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at oracle.bpm.casemgmt.event.CaseEventPublisher.init(CaseEventPublisher.java:87)
at oracle.bpm.casemgmt.event.CaseEventPublisher.publish(CaseEventPublisher.java:125)
at oracle.bpm.casemgmt.impl.CaseEventServiceImpl.raiseCaseEvent(CaseEventServiceImpl.java:11
4)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:149)
at oracle.bpm.casemgmt.interceptors.CaseServiceAdvice.invoke(CaseServiceAdvice.java:187)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy339.raiseCaseEvent(Unknown Source)
at oracle.bpm.casemgmt.interceptors.RaiseEventAdvice.raiseEvent(RaiseEventAdvice.java:190)
at oracle.bpm.casemgmt.interceptors.RaiseEventAdvice.processResult(RaiseEventAdvice.java:90)
at oracle.bpm.casemgmt.interceptors.CaseServiceAdvice.invoke(CaseServiceAdvice.java:209)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy338.startCase(Unknown Source)
at oracle.bpm.casemgmt.ejb.CaseManagementService.startCase(CaseManagementService.java:283)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doP
roceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.ja
va:34)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentI
nterceptorCallbackImpl.java:54)
at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invok
e(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doP
roceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
at $Proxy321.startCase(Unknown Source)
at oracle.bpm.casemgmt.ejb.CaseManagementService_m764e8_ICaseServiceImpl.__WL_invoke(Unknown
Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvo
ker.java:40)
at oracle.bpm.casemgmt.ejb.CaseManagementService_m764e8_ICaseServiceImpl.startCase(Unknown S
ource)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.ja
va:85)
at $Proxy194.startCase(Unknown Source)
at oracle.bpm.casemgmt.fabric.CaseManagementServiceEngine.request(CaseManagementServiceEngin
e.java:264)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMe
ssageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:182)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy380.request(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessi
ng(WebServiceEntryBindingComponent.java:1636)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMe
ssage(WebServiceEntryBindingComponent.java:1016)
at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java
:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.j
ava:1187)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcesso
r.java:1123)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.ja
va:581)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:235)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:195)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:487)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServle
t.java:523)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.
java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServ
letContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
ontext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2
273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
<Dec 16, 2013 1:01:10 PM IST> <Error> <oracle.bpm.casemgmt.instance> <BEA-000000> <Exception
BPM-73200
Error in raising event.
Error in raising event.
Review the error to correct the error.
at oracle.bpm.casemgmt.impl.CaseEventServiceImpl.raiseCaseEvent(CaseEventServiceImpl.java:12
0)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:149)
at oracle.bpm.casemgmt.interceptors.CaseServiceAdvice.invoke(CaseServiceAdvice.java:187)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy339.raiseCaseEvent(Unknown Source)
at oracle.bpm.casemgmt.interceptors.RaiseEventAdvice.raiseEvent(RaiseEventAdvice.java:190)
at oracle.bpm.casemgmt.interceptors.RaiseEventAdvice.processResult(RaiseEventAdvice.java:90)
at oracle.bpm.casemgmt.interceptors.CaseServiceAdvice.invoke(CaseServiceAdvice.java:209)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy338.startCase(Unknown Source)
at oracle.bpm.casemgmt.ejb.CaseManagementService.startCase(CaseManagementService.java:283)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doP
roceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.ja
va:34)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentI
nterceptorCallbackImpl.java:54)
at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invok
e(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doP
roceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
at $Proxy321.startCase(Unknown Source)
at oracle.bpm.casemgmt.ejb.CaseManagementService_m764e8_ICaseServiceImpl.__WL_invoke(Unknown
Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvo
ker.java:40)
at oracle.bpm.casemgmt.ejb.CaseManagementService_m764e8_ICaseServiceImpl.startCase(Unknown S
ource)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.ja
va:85)
at $Proxy194.startCase(Unknown Source)
at oracle.bpm.casemgmt.fabric.CaseManagementServiceEngine.request(CaseManagementServiceEngin
e.java:264)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMe
ssageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:182)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy380.request(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessi
ng(WebServiceEntryBindingComponent.java:1636)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMe
ssage(WebServiceEntryBindingComponent.java:1016)
at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java
:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.j
ava:1187)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcesso
r.java:1123)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.ja
va:581)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:235)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:195)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:487)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServle
t.java:523)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.
java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServ
letContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
ontext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2
273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: javax.naming.NameNotFoundException: Unable to resolve 'jms.bpm.CaseEventConnectionFactory
'. Resolved 'jms.bpm'; remaining name 'CaseEventConnectionFactory'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:412)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at oracle.bpm.casemgmt.event.CaseEventPublisher.init(CaseEventPublisher.java:87)
at oracle.bpm.casemgmt.event.CaseEventPublisher.publish(CaseEventPublisher.java:125)
at oracle.bpm.casemgmt.impl.CaseEventServiceImpl.raiseCaseEvent(CaseEventServiceImpl.java:11
4)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:149)
at oracle.bpm.casemgmt.interceptors.CaseServiceAdvice.invoke(CaseServiceAdvice.java:187)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy339.raiseCaseEvent(Unknown Source)
at oracle.bpm.casemgmt.interceptors.RaiseEventAdvice.raiseEvent(RaiseEventAdvice.java:190)
at oracle.bpm.casemgmt.interceptors.RaiseEventAdvice.processResult(RaiseEventAdvice.java:90)
at oracle.bpm.casemgmt.interceptors.CaseServiceAdvice.invoke(CaseServiceAdvice.java:209)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy338.startCase(Unknown Source)
at oracle.bpm.casemgmt.ejb.CaseManagementService.startCase(CaseManagementService.java:283)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doP
roceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.ja
va:34)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentI
nterceptorCallbackImpl.java:54)
at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invok
e(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doP
roceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
at $Proxy321.startCase(Unknown Source)
at oracle.bpm.casemgmt.ejb.CaseManagementService_m764e8_ICaseServiceImpl.__WL_invoke(Unknown
Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvo
ker.java:40)
at oracle.bpm.casemgmt.ejb.CaseManagementService_m764e8_ICaseServiceImpl.startCase(Unknown S
ource)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.ja
va:85)
at $Proxy194.startCase(Unknown Source)
at oracle.bpm.casemgmt.fabric.CaseManagementServiceEngine.request(CaseManagementServiceEngin
e.java:264)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMe
ssageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:182)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy380.request(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessi
ng(WebServiceEntryBindingComponent.java:1636)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMe
ssage(WebServiceEntryBindingComponent.java:1016)
at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java
:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.j
ava:1187)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcesso
r.java:1123)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.ja
va:581)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:235)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:195)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:487)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServle
t.java:523)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.
java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServ
letContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
ontext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2
273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
Could you please help me on this.
Thank you,
Keshav ChHi Keshav,
hard to say without seeing your source code. I'd recommend to try it with the Hello World approach that you can find here: http://www.ateam-oracle.com/case-management-in-practice-helloworld/
There you'll find in detail how to create a case mgmt. project and how to test it. If this doesn't work please send some details regarding your environment (Patchset, applied patches, etc.)
Regards, Danilo -
While running hello world program for 12.1.1 getting "Error Page"
Hi all,
I am beginner for JDeveloper, I have followed up the instructions given in tutorial documents to install these applications "Tutorials, LabSolutions and Hello World!" but all are giving me this error.
Error Page
You have encountered an unexpected error. Please contact the System Administrator for assistance.
I had tried most of the given solutions in this forum , but still I can not find solution for my problem.
Any help please!
Regards
HeshamHi,
right now I am playing with parameters , reading
and now i got this error please check if it make sense for you .
500 Internal Server Error
oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object. at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1509) at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:362) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171) at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148) at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1294) at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1149) at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1118) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1085) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1072) at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595) at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:593) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:570) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524) at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1108) at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:225) at OAErrorPage.jspService(_OAErrorPage.java:62) [OAErrorPage.jsp] at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813) at test_fwktutorial._jspService(_test__fwktutorial.java:104) [test_fwktutorial.jsp] at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) 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.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)Caused by: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object. at oracle.apps.fnd.common.Pool.createObject(Pool.java:1286) at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:1027) at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:583) at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:300) at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1719) at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2266) at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2203) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2061) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1871) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1715) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1728) at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1453) at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:170) at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1500) ... 49 moreCaused by: oracle.apps.fnd.common.AppsException: java.sql.SQLException: Io exception: Got minus one from a read call at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1423) at oracle.apps.fnd.security.AppsConnectionManager.localAppsConnect(AppsConnectionManager.java:1218) at oracle.apps.fnd.security.AppsConnectionManager.localAppsConnect(AppsConnectionManager.java:1113) at oracle.apps.fnd.security.AppsConnectionManager.localAppsConnect(AppsConnectionManager.java:1102) at oracle.apps.fnd.security.AppsConnectionManager.makeGuestConnection(AppsConnectionManager.java:787) at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:228) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at oracle.apps.fnd.common.Pool.createObject(Pool.java:1273) ... 62 moreCaused by: java.sql.SQLException: Io exception: Got minus one from a read call at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:287) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608) at java.sql.DriverManager.getConnection(DriverManager.java:525) at java.sql.DriverManager.getConnection(DriverManager.java:140) at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1410) ... 72 more
-------------- -
Exception in Hello World Program in Hibernate
Hi All
I am trying to run my first "Hello World" hibernate program in the book "Java Persitance with Hibernate". I have written the model class and the main class.
I have also create the mapping file Message.hbm.xml and hibernate configuration file hibernate.cfg.xml through hibernate tools. Now when I am running the main class i am getting the following exception.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.hibernate.test.HibernateUtil.<clinit>(HibernateUtil.java:17)
at com.hibernate.test.HelloWorld.main(HelloWorld.java:15)
Caused by: java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
at org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:223)
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:120)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:269)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:242)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:255)
at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:165)
at com.hibernate.test.HibernateUtil.<clinit>(HibernateUtil.java:15)
... 1 more
Caused by: java.lang.ClassNotFoundException: org.slf4j.impl.StaticLoggerBinder
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 9 moreI have added the following jars from the folder hibernate-distribution-3.5.2-Final\lib\required
commons-collections-3.1.jar
dom4j-1.6.1.jar
javassist-3.9.0.GA.jar
jta-1.1.jar
slf4j-api-1.5.8.jar
and hibernate3.jar to the classpath.
It would be great if someone could help me in resolving this problem
Thanks in advance
Fierof2user13519911 wrote:
I have posted this question here because this is a hibernate program with is related to database connectivity. What i would like to know is what is the jar file i am missing and why is it not present in the required folders of hibernate distribution.Yeah. With that kind of unproductive attitude I suddenly lose all interest in helping. So weird.
Guess I'll do what I like: be blunt. You are allowed to think. I suggest you do so. -
I have a bare minimum script with the following line (also had the line echo Hello World, but removed for simplicity).
#!/bin/sh <-- only line of code currently in the file
when I try to run, I get the following error. Likewise if the line is #!/bin/bash, but /bin/bash is then the bad interpreter.
-bash: ./test.sh /bin/sh: bad interpreter: Operation not permitted
I'm running from a terminal window.
Any helpful hints for resolution? Thank you in advance.I did some more searching and found the answer here: https://discussions.apple.com/thread/3733470?start=30&tstart=0
I obtained TextWrangler and recreated the file.
Thank you for your input. -
Hi,
I am new to OA Framework and trying to learn this thing.
I have developed Hello World Tutorial but it is giving following error on execution;
Exception Details.
oracle.apps.fnd.framework.OAException: No data found for region (/oracle/apps/ak/hello/webui/HelloWorldPG).
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.loadPage(JRAD2AKMapper.java:739)
at oracle.apps.fnd.framework.webui.OAPageBean.initializeCustomizationsMDS(OAPageBean.java:6138)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2126)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/ak/hello/webui/HelloWorldPG, XML Path = {1}. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
Non supported character set: oracle-character-set-560
at oracle.adf.mds.internal.MetadataManagerBase.getUserCustomizationData(MetadataManagerBase.java:2216)
at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCustHelper(MetadataManagerBase.java:2154)
at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCust(MetadataManagerBase.java:1897)
at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1360)
at oracle.adf.mds.MElement.findElement(MElement.java:97)
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.loadPage(JRAD2AKMapper.java:722)
at oracle.apps.fnd.framework.webui.OAPageBean.initializeCustomizationsMDS(OAPageBean.java:6138)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2126)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/ak/hello/webui/HelloWorldPG, XML Path = {1}. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
Non supported character set: oracle-character-set-560
at oracle.adf.mds.internal.MetadataManagerBase.getUserCustomizationData(MetadataManagerBase.java:2216)
at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCustHelper(MetadataManagerBase.java:2154)
at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCust(MetadataManagerBase.java:1897)
at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1360)
at oracle.adf.mds.MElement.findElement(MElement.java:97)
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.loadPage(JRAD2AKMapper.java:722)
at oracle.apps.fnd.framework.webui.OAPageBean.initializeCustomizationsMDS(OAPageBean.java:6138)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2126)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
Any help to resolve this issue is highly appreciated.
Regards,
Syed AhmedFollowing is OC4J Server output;
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
D:\3.0Documents\OAFramework\JD\jdevbin\jdk\bin\javaw.exe -client -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=2750 -classpath D:\3.0Documents\OAFramework\JD\jdevbin\j2ee\home\oc4j.jar;D:\3.0Documents\OAFramework\JD\jdevbin\jdev\lib\jdev-oc4j.jar -Xbootclasspath/p:D:\3.0Documents\OAFramework\JD\jdevbin\jdev\appslibrt\ojdbc14.jar;D:\3.0Documents\OAFramework\JD\jdevbin\jdev\appslibrt\nls_charset12.zip -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -Dhttp.proxyHost=proxy.stc.com.sa -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=*.stc.corp|*.stc.com.sa|172.*.*.*|10.*.*.* -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 com.evermind.server.OC4JServer -config D:\3.0Documents\OAFramework\JD\jdevhome\jdev\system9.0.3.5.1437\oc4j-config\server.xml
[waiting for the server to complete its initialization...]
Debugger connected to local process.
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 21328 ms.
Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
Oracle9iAS (9.0.3.1.0) Containers for J2EE initialized
TIME: runregion: initialization [16 ms]
Tutalii: D:\3.0Documents\OAFramework\JD\jdevbin\jdev\appslibrt\iasjoc.zip archive
ICX DIAGNOSTIC: FND_TOP = D:\3.0Documents\OAFramework\JD\jdevhome\jdev\dbc_files\
ICX DIAGNOSTIC: application_id = 601
ICX DIAGNOSTIC: responsibility_id = 24742
ICX DIAGNOSTIC: security_group_id = 0
ICX DIAGNOSTIC: mEncryptedSessionID = keF3uZCBcUtLKe4pLhvxyIeS:S
ICX DIAGNOSTIC: mSessionID = 1825688593
TIME: runregion: session and transaction creation [6110 ms]
ICX DIAGNOSTIC: mTransactionID = 683903617
JRAD_PERF : /oracle/apps/ak/hello/webui/HelloWorldPG - processRequest : 594ms -
Please take the time to answer this very simple but ANNOYING question.
does anybody know a good (preferably free) C compiler to build java compatable dll files??
The ones that are supposedly "the best out there, ect" seem to alway want to link dll's to exe's which defeats the whole point of a dll
Thanks in advance. BamkinInstallation
Install the IDE; Sun's JDK with NetBeans for Java and Cygwin Unix shell for WinXXxx with GNU's gcc for C/C++ and Fortran
Install Netbeans with JDK as a co-bundle
Read More about J2SE http://java.sun.com/j2se/overview.html
Read More about NetBeansTM http://www.netbeans.org/
Download the Download NetBeans IDE v 3.5.1 with J2SE v 1.4.2 COBUNDLE
http://java.sun.com/j2se/1.4.2/download.html
For:
Windows (.exe)
Now install both at one step JDK and NetBeans
Install the Netbeans-Module "cpp"
This module adds the functionality of an C/C++ and Fortran editor with syntax-highlighting for view and print:
1) Open your NetBeans
Go with your browser to: http://www.netbeans.org/catalogue/32-stable.html
and select the download button for CPP support: http://www.netbeans.org/download/nbms/33/stable/Unmaintained/cpplite.nbm
If your NetBeans installation is valid you can open it direct with your browser for the NetBeans installation process.
Configure the syntax highlighting in Java and in ?cpp? as you like in font, color and font-settings.
For print:
at: Menue>Tools>Options/IDE Configuration/System/Print Settings/C and C++Editor>Font & Colors(click)>Button?...?(click)>Frame:?Print Fonts and Colors?
At this Frame you have a list of the recognized syntax-elements and on the right side you can change there styles in font, font-settings, colors and see a preview of the actual settings.
For java, XML and all other do the same in the ?Print Settings? as you like most.
For screen-view:
at: Menue>Tools>Options/Editing/Editor Settings/C and C++Editor>Font & Colors(click)>Button?...?(click)>Frame:?Fonts and Colors?
The frame works as that for print does.
Install Cygwin, the UNIX-Shell running in windows!
I will explain the way starting from web:
Go to:
http://www.cygwin.com/setup.exe
and start the setup.exe
You have to choose:
1) Install from Internet
2) your directory for cygwin like: "D:\Programme\cygwin" and the install for all or just for you
3) choose a local package directory like "D:\Programme\cygwin"
4) choose the settings to access the web like "Use IE5 Settings"
5) choose the nearest you download server
6) Selection of the required packages
The Developer Package:
A tree of packages is listed you have to click at 6. line (+Devel) at the word Default
+Devel # Default
Default should changed to:
+Devel # Install
...this is your developer-pack including gcc
The Win32-API libraries:
but further you have to go to Libs (line 12) and now click to the '+' -sign:
+ Libs # Default
The lib tree should now opened.
go up to the 5. last line at the 6. column "Package" you should read w32api: Win32 API header and library ...
look back to column 3 "New" there stands Skip click on it [as long] that you see the version number (2.5-1) or any better
The Documentation:
The Documentation should help but it is not necessary to install it:
+ Doc # Default (line 7)
so that it changes to
+ Doc # Install.
Now you can finish your installation!
Follow the steps to finish the installation.
Overview to JINI by a simple example
Java code using an external native dll function from java
This is the view of the resulting directory-file-structure
For all the steps sampleRoot stands for your root to work with this sample!
+- sampleRoot
+- com
| +- myPackage
| +HelloWorldCaller.java
| +HelloWorldCaller.class
+HelloWoldImp.c
+HelloWoldImp.dll
+com_myPackage_HelloWorldCaller.h
The Java-code:
This code have a package-declaration so it resists at the subdirectories sampleRoot/com/myPackage!
package com.myPackage;
* HelloWorldCaller.java
* Created on 26. M?rz 2004, 13:23
* @author mike
class HelloWorldCaller {
//the declaration for the native method
public native void displayHelloWorld();
//this part of code is executed while class is loaded
static {
//loads the native library from native systems path
System.out.println("start to load the library");
System.loadLibrary("HelloWorldImp");
System.out.println("load should already be done");
//the constructor is empty and can be cleared
public HelloWorldCaller(){
//this is a caller for the native method but you can do it direct at main
public void doNativeCall(){
displayHelloWorld();
public static void main(String[] args) {
//instantiate and call from this instance the native method
new HelloWorldCaller().doNativeCall();
//this is the same without a calling method between
new HelloWorldCaller().displayHelloWorld();
Compile the Code:
You working-directory is the sampleRoot!
$ javac com/myPackage/HelloWorldCaller.java
Generate the C-Header File
You working-directory is the sampleRoot!
$ javah com.myPackage.HelloWorldCaller
The naming convention of the resulting header-file:
automatic generated by javah
Syntax of the C-header file name:
<packagename truncated with '_'>_<classname>.h
If you use no package this part ?<packagename truncated with '_'>_? is simply left.
+-- package name truncated with underscore
+-- class name
+ ending of a header filecom_myPackage_HelloWorldCaller.h
The naming convention of the resulting method declaration:
Syntax of the function signature:
Java_<packagename truncated with '_'>_<classname>_<functionname>
If you use no package this part ?<packagename truncated with '_'>_? is simply left.
+-- Java
+ Underscore
+-- package name truncated with underscore
+-- class name
+-- underscore
+-- method nameJava_com_myPackage_HelloWorldCaller_displayHelloWorld
The generated - com_myPackage_HelloWorldCaller.h -file:
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_myPackage_HelloWorldCaller */
#ifndef _Included_com_myPackage_HelloWorldCaller
#define _Included_com_myPackage_HelloWorldCaller
#ifdef __cplusplus
extern "C" {
#endif
* Class: com_myPackage_HelloWorldCaller
* Method: displayHelloWorld
* Signature: ()V
JNIEXPORT void JNICALL Java_com_myPackage_HelloWorldCaller_displayHelloWorld
(JNIEnv *, jobject);
#ifdef __cplusplus
#endif
#endif
The implementation of the native dll function - HelloWorldImp.c -file
* File: HelloWorldImp.c
* Author: mike
* Created on 26. M?rz 2004, 14:34
#include <jni.h>
#include <stdio.h>
#include "com_myPackage_HelloWorldCaller.h"
/* The implementation of the native method
JNIEXPORT void JNICALL Java_com_myPackage_HelloWorldCaller_displayHelloWorld(JNIEnv *env, jobject obj)
printf("Hello world!\n");
return;
Compile the HelloWorldImp.c ? file to a *.dll
On MS Win with Cygwin, the following command builds a dynamic link library HelloWorldImp.dll:
This command is one line without line-breaks.
Check your include because I use the j2sdk1.4.2_04 if you want to do like me than install it.
For j2sdk1.4.2_04:
$ gcc -Wall -mno-cygwin -I/cygdrive/c/j2sdk1.4.2_04/include
-I/cygdrive/c/j2sdk1.4.2_04/include/win32 -shared
HelloWorldImp.c -Wl,--add-stdcall-alias -o HelloWorldImp.dllFor j2sdk1.4.2 as co-installation with NetBeans:
$ gcc -Wall -mno-cygwin -I/cygdrive/c/j2sdk1.4.2/j2sdk1.4.2/include
-I/cygdrive/c/j2sdk1.4.2/j2sdk1.4.2/include/win32 -shared
HelloWorldImp.c -Wl,--add-stdcall-alias -o HelloWorldImp.dll
The used Switches:
-Wall : switches on all warnings
-mno-cygwin : switches off the use of unix-API's, instead of it uses win32-calls
-I<directory> : defines a path to a directory with include *.h-files
-shared : advices the compiler to make shared libraries (*.so for linux and *.dll for win)
-Wl,<option> : Pass an option to the linker (for Wl: l is an L not an 1 and stands for linker)
-Wl,--add-stdcall-alias : pass the switch --add-stdcall-alias to the linker, advices the linker to add standardcalls so the exports have an standard-call alias as well.
The exports of the resulting dll:
If you want to test the exports yourself use : http://ftp.berlios.de/pub/unimatrix-fulda/win-devel/impdef.zip and compile it.
impdef.exe is a small program resulting the dll's EXPORTS to standard-device, screen:
$ impdef HelloWorldImp.dll
EXPORTS
Java_com_myPackage_HelloWorldCaller_displayHelloWorld
Java_com_myPackage_HelloWorldCaller_displayHelloWorld@8On Linux:
Not tested, only a sample copy from an other helping guy's text!
gcc -I../ -o libtestjni.so testjni.c ***many .a and .o here*** -shared -Wl,-soname,libnative.so
-I/usr/java/jdk/include -I/usr/java/jdk/include/linux -static -lc
On Solaris, the following command builds a shared library libhello.so:
Not tested, only a sample copy from an other helping guy's text!
cc -G -I/usr/local/java/include -I/usr/local/java/include/solaris \
HelloWorldImp.c -o libhello.so
On Microsoft Windows, the following command builds a dynamic link library hello.dll using Microsoft Visual C++ 4.0:
Not tested, only a sample copy from an other helping guy's text!
cl -Ic:\java\include -Ic:\java\include\win32
-LD HelloWorldImp.c -Fehello.dll
Set Your Library Path
DOS shell (Windows 95/NT)
On Windows 9x/NT/2000/(XP), the loadLibrary() method searches for DLLs in the same manner as other language environments do.
The java.library.path is the same as the systems %PATH%-variable.
Add the directory where your *.dll-file exists
SET PATH=%PATH%;X:YourDirectory
or copy your *.dll-file to one of the allready in the PATH mounted directories.
UNIX
% setenv LD_LIBRARY_PATH mylibrarypath
where mylibrarypath is the name of the directory that contains libhello.so.
MacOS
The Java runtime searches the JavaSoft Folder in the Extensions folder in the System Folder for shared libraries. Create an alias to your shared library in the JavaSoft Folder.
Execute the code
If it works fine:
$ java com.myPackage.HelloWorldCaller
start to load the library
load should already be done
Hello world!
If the dll is not found you get:
$ java com.myPackage.HelloWorldCaller
start to load the library
Exception in thread "main" java.lang.UnsatisfiedLinkError: no HelloWorldImp in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at com.myPackage.HelloWorldCaller.<init>(HelloWorldCaller.java:24)
at com.myPackage.HelloWorldCaller.main(HelloWorldCaller.java:34)
The java.library.path is not as he should be see: ?Set Your Library Path?
If the dll is loaded, but the native method is not reachable you get something like:
$ java com.myPackage.HelloWorldCaller
Exception in thread "main" java.lang.UnsatisfiedLinkError: displayHelloWorld
at com.myPackage.HelloWorldCaller.displayHelloWorld(Native Method)
at com.myPackage.HelloWorldCaller.main(HelloWorldCaller.java:25)
Check the Naming of your native methods C-implementation and the generation of standard-calls.
Maybe you are looking for
-
Dump while executing - RBT_ENH_ACT - Update of indirect sales
hi friends, i am getting this following Dump while executing - RBT_ENH_ACT - Update of indirect sales. can someone kindly help me how to go about this plz as i cant find the component "UMENGE_UPD" anywhere. Runtime Errors
-
Unable to install ARD 3.0 on Mountain Lion
I recently went from Snow Leopard to Mountain Lion on my MacBook and now I cannot install Apple Remote Desktop 3.3 from disk. I need to install it before I can run the ARD update 3.6.1, which is the version for OS X 10.8.
-
Ipod nano 4th gen. accidentally synced to computer. can i get my data back
I accidentally synced and erased conents on my ipod. Is it possible to get my data back?
-
GLOBAL AD POSTING JOB Join the real Ad Posting Program. get paid $2 per ad. Post as many Ads you can. Call at +91-79-26826451. http://www.ongoingprofit.com/idevaffiliate/idevaffiliate.php?id=1918
-
How can I use urdu in n95?
any body can help me? How can I use urdu language in n95 ?