JDeveloper HttpConnection
Help
I am trying to open a connection in JDeveloper but I'm getting a NullPointerException at (hc.openInputStream()).There is no response from the connection.I'm using apache as the web container. Here is the code
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.util.StringTokenizer;
import java.util.Vector;
import javax.microedition.io.Connector;
import javax.microedition.io.HttpConnection;
import org.kxml.Xml;
import org.kxml.parser.ParseEvent;
import org.kxml.parser.XmlParser;
public class XMLDataParser{
protected XMLDataEventListener mXMLDataEventListener;
protected Vector columnVector = null;
protected Vector dataVector = null;
public void setXMLDataListener(XMLDataEventListener listener) {
mXMLDataEventListener = listener;
columnVector = new Vector();
dataVector = new Vector();
// Non-blocking.
public void parse(
final String url,
final String viewName,
final String parameters) {
Thread t = new Thread() {
public void run() {
// set up the network connection
HttpConnection hc = null;
int getResponse;
try {
//System.out.println(url + viewName + parameters);
(hc ==
(HttpConnection) Connector.open(
//url + viewName + parameters)){
getResponse = hc.getResponseCode();
System.out.println(getResponse);
// if (hc.getResponseCode()==HttpConnection.HTTP_OK){
// System.out.println("Connection OK");
// else {
// System.out.println("Connection Not Ok");
// if(hc == null)System.out.println("hc is null");
parse(hc.openInputStream(),viewName);
} catch (IOException ioe) {
mXMLDataEventListener.exception(ioe.toString());
} finally {
try {
if (hc != null)
hc.close();
} catch (IOException ignored) {
t.start();
// Blocking.
public void parse(InputStream in) throws IOException {
Reader reader = new InputStreamReader(in);
String metaDataStr = null;
String exception = null;
XmlParser parser = new XmlParser(reader);
ParseEvent pe = null;
parser.skip();
parser.read(Xml.START_TAG, null, "ScanAppConfig");
parser.skip();
pe = parser.read();
if (pe.getType() == Xml.START_TAG) {
String name = pe.getName();
// System.out.println("Tag Name=" + name);
if (name.equals("ConfigKeys")) {
while ((pe.getType() != Xml.END_TAG)
|| (pe.getName().equals(name) == false)) {
pe = parser.read();
metaDataStr = pe.getText();
// System.out.println(
// "ConfigKeys Parser Event=" + pe.toString());
columnVector = parseString(metaDataStr, columnVector);
boolean trucking = true;
boolean first = true;
while (trucking) {
pe = parser.read();
if (pe.getType() == Xml.START_TAG) {
String name = pe.getName();
// System.out.println("Inside trucking Tag Name =" + name);
if (name.equals("ConfigDetails")) {
int currentColumn = 0;
int totalColumns = columnVector.size();
while ((pe.getType() != Xml.END_TAG)
|| (pe.getName().equals(name) == false)) {
pe = parser.read();
if (pe.getType() == Xml.START_TAG
&& pe.getName().equals(
(String) columnVector.elementAt(
currentColumn))) {
currentColumn++;
pe = parser.read();
dataVector.addElement(pe.getText());
// System.out.println(pe.getText());
if (currentColumn > totalColumns) {
break;
} else {
while ((pe.getType() != Xml.END_TAG)
|| (pe.getName().equals(name) == false))
pe = parser.read();
if (pe.getType() == Xml.END_TAG
&& pe.getName().equals("ScanAppConfig")) {
trucking = false;
mXMLDataEventListener.itemParsed(columnVector, dataVector);
// Blocking.
public void parse(InputStream in, String viewName) throws IOException {
Reader reader = new InputStreamReader(in);
String metaDataStr = null;
String exception = null;
XmlParser parser = new XmlParser(reader);
ParseEvent pe = null;
parser.skip();
parser.read(Xml.START_TAG, null, "Test");
parser.skip();
parser.read(Xml.START_TAG, null, viewName);
parser.skip();
pe = parser.read();
if (pe.getType() == Xml.START_TAG) {
String name = pe.getName();
//System.out.println("Tag Name=" + name);
if (name.equals("Message")) {
while ((pe.getType() != Xml.END_TAG)
|| (pe.getName().equals(name) == false)) {
pe = parser.read();
//System.out.println("exception Parser Event=" + pe.toString());
exception = pe.getText();
//need investigation as the behavior of this tag
//is different from other tags!!!!!!!!
break;
//System.out.println("exception=" + exception);
mXMLDataEventListener.exception(exception);
if (pe.getType() == Xml.START_TAG) {
String name = pe.getName();
//System.out.println("Tag Name=" + name);
if (name.equals("MetaData")) {
while ((pe.getType() != Xml.END_TAG)
|| (pe.getName().equals(name) == false)) {
pe = parser.read();
metaDataStr = pe.getText();
//System.out.println("metaDataStr Parser Event=" + pe.toString());
columnVector = parseString(metaDataStr, columnVector);
mXMLDataEventListener.metaDataParsed(columnVector);
//CompID
// CompName
// ShipID
//ShipName
boolean trucking = true;
boolean first = true;
while (trucking) {
pe = parser.read();
if (pe.getType() == Xml.START_TAG) {
String name = pe.getName();
//System.out.println("Inside trucking Tag Name =" + name);
if (name.equals(viewName + "Details")) {
int currentColumn = 0;
int totalColumns = columnVector.size();
while ((pe.getType() != Xml.END_TAG)
|| (pe.getName().equals(name) == false)) {
pe = parser.read();
if (pe.getType() == Xml.START_TAG
&& pe.getName().equals(
(String) columnVector.elementAt(
currentColumn))) {
currentColumn++;
pe = parser.read();
dataVector.addElement(pe.getText());
// System.out.println(CompID);
if (currentColumn > totalColumns) {
break;
} else {
while ((pe.getType() != Xml.END_TAG)
|| (pe.getName().equals(name) == false))
pe = parser.read();
if (pe.getType() == Xml.END_TAG
&& pe.getName().equals("Test")) {
trucking = false;
mXMLDataEventListener.itemParsed(columnVector, dataVector);
public Vector parseString(String metaDataStr, Vector columnVector) {
if (metaDataStr == null) {
return columnVector;
StringTokenizer token = new StringTokenizer(metaDataStr, ",");
while (token.hasMoreTokens()) {
columnVector.addElement(token.nextToken());
return columnVector;
}
That would be the wrong place to get JDeveloper from *if* you are planning to use it to customize/extend Fusion Applications (which is what this particular forum is about).
But I am not sure if that is really your intend as your question here and on Stackoverflow doesn't mention Fusion Apps. If you want to just use JDeveloper independent of Fusion Apps, a better place to report this problem would be this forum: JDeveloper and ADF
If you do want to work with Fusion Applications and JDeveloper, you will need to get a different version of JDeveloper from eDelivery (as explained in the blog post https://blogs.oracle.com/fadevrel/entry/jdeveloper_versions_explained)
Hope this helps,
Oliver Steinmeier
Fusion Apps Developer Relations
https://blogs.oracle.com/fadevrel
Similar Messages
-
Soap request with attachment --problem in deploye to jboss useing Jdevelope
using Jdeveloper and oc4j application server i made two application.
In application one i exposed a web service method.In this application their is a handler class which able to handle soap request and response with attachment.
In application two a client is sends a soap request with attachment.
If i deploye it in oc4j it is working fine. But if i Deploye to JBoss server [i made a jboss application server connection] and then trying to send the soap request with attachment from the client application i gets the following errors--
Exception in thread "main" javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:152)
at etrans.TripBean.a.ClientGateWay.msgEnvelope(ClientGateWay.java:50)
at etrans.TripBean.a.ClientGateWay.main(ClientGateWay.java:60)
Caused by: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused
at java.security.AccessController.doPrivileged(Native Method)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:148)
... 2 more
Caused by: javax.xml.soap.SOAPException: Message send failed: Connection refused
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:458)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:865)
... 4 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:516)
at java.net.Socket.connect(Socket.java:466)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:208)
at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:202)
at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3115)
at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:3858)
at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:2921)
at HTTPClient.HttpOutputStream.close(HttpOutputStream.java:421)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.sendMessage(HttpSOAPConnection.java:724)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:373)
... 5 more
Am i made any mistake to deploye to jboss or it is not possiable to access the web service in such way?
please suggest me what is the procedure to recover from this.Hello,
How do you package you WS client application to be deployed in JBoss?
The JAX-RPC clients are not that portable you may need to recompile the client with JBoss WebService implementation/tools, and check that you do have the different deployment descriptors for the client too.
Regards
Tugdual Grall -
JDeveloper 11 - Remote Subversion and Uninstall does not cleanup very well
After getting all excited about JDeveloper 11, I found the following issues
1. Subversion - for the life of me, I could not figure out how to access a remote subversion repository - it seemed to insist that I have a local one
2. SOA is gone (found that in the release notes)
3. Uninstall for Windows does not clean up very well, stacks of stuff gets left behind - I expected the entire Middleware directory to disappear
Back to TP4 I go...
...LyallSusan,
Thanks for the help!
I tried your suggestion. I cleared the stored credentials, and then tried to browse the repository in Versioning Navigator. It didn't ask me about accepting SSL certificates. I got an error dialog box with message "Unable to open target repository". Clicking the "Details" button shows this:
org.tigris.subversion.svnclientadapter.SVNClientException: org.tigris.subversion.javahl.ClientException: svn: PROPFIND request failed on '/trunk/ROOT'
svn: svn.oursite.com
at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getList(AbstractJhlClientAdapter.java:292)
at oracle.jdevimpl.vcs.svn.nav.SVNRemoteContainer.openContainer(SVNRemoteContainer.java:154)
at oracle.jdevimpl.vcs.svn.nav.SVNRemoteContainer.openImpl(SVNRemoteContainer.java:140)
at oracle.ide.model.Node.open(Node.java:979)
at oracle.ide.model.Node.open(Node.java:927)
at oracle.ide.model.DefaultContainer.getChildren(DefaultContainer.java:76)
at oracle.ideimpl.explorer.ExplorerNode.getChildNodes(ExplorerNode.java:297)
at oracle.ideimpl.explorer.BaseTreeExplorer.addChildren(BaseTreeExplorer.java:360)
at oracle.ideimpl.explorer.BaseTreeExplorer.open(BaseTreeExplorer.java:1016)
at oracle.ideimpl.explorer.BaseTreeExplorer$4.run(BaseTreeExplorer.java:2003)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: org.tigris.subversion.javahl.ClientException: svn: PROPFIND request failed on '/trunk/ROOT'
svn: svn.oursite.com
at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:435)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1311)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.list(SVNClientImpl.java:247)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.list(SVNClientImpl.java:227)
at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getList(AbstractJhlClientAdapter.java:289)
... 17 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: PROPFIND request failed on '/trunk/ROOT'
svn: svn.oursite.com
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:69)
at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:126)
at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineProperties(DAVUtil.java:199)
at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineInfo(DAVUtil.java:162)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:150)
at org.tmatesoft.svn.core.wc.SVNBasicClient.getRevisionNumber(SVNBasicClient.java:348)
at org.tmatesoft.svn.core.wc.SVNBasicClient.getLocations(SVNBasicClient.java:462)
at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:418)
at org.tmatesoft.svn.core.wc.SVNLogClient.doList(SVNLogClient.java:654)
at org.tmatesoft.svn.core.wc.SVNLogClient.doList(SVNLogClient.java:683)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.list(SVNClientImpl.java:240)
... 19 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: PROPFIND request failed on '/trunk/ROOT'
svn: svn.oursite.com
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:86)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:541)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:245)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:233)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doPropfind(DAVConnection.java:97)
at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getProperties(DAVUtil.java:57)
at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getResourceProperties(DAVUtil.java:62)
at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getStartingProperties(DAVUtil.java:92)
at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:114)
... 28 more
The Apache version that our SVN is running on is 2.0.54.
Thanks,
--Rob -
Java.lang.ClassNotFoundException: HTTPClient.HTTPConnection
I am getting ClassNotFoundException while creating DataControl using URL Service Data Control for REST WebService. I am getting this after entering Connection information (Second screen on the wizard) and click on the Next. Below is the complete exception. Do I need to add any libraries. Any help would be appreciated. Thank YOU.
Performing action (299) New... [ from ProjectNavigatorWindow ] [ for ( ApplicationController.jpr, ApplicationController.jpr, OrderTrackingMobilApp.jws ) ]
java.lang.NoClassDefFoundError: HTTPClient/HTTPConnection
java.lang.NoClassDefFoundError: HTTPClient/HTTPConnection
o.adf.model.connection.url.HttpURLConnection.<init>(HttpURLConnection.java:146)
o.adf.model.connection.url.URLProviderFactory.newInstance(URLProviderFactory.java:117)
o.adfdtinternal.model.adapter.url.URLDCWizard$2.wizardValidatePage(URLDCWizard.java:515)
o.bali.ewt.wizard.WizardPage.processWizardValidateEvent(WizardPage.java:710)
o.bali.ewt.wizard.WizardPage.validatePage(WizardPage.java:680)
o.bali.ewt.wizard.BaseWizard.validateSelectedPage(BaseWizard.java:2367)
o.bali.ewt.wizard.BaseWizard._validatePage(BaseWizard.java:3072)
o.bali.ewt.wizard.BaseWizard.doNext(BaseWizard.java:2152)
o.bali.ewt.wizard.BaseWizard$Action$1.run(BaseWizard.java:3952)
j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:682)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:643)
j.a.EventQueue$1.run(EventQueue.java:641)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(Even.;.;..tQueue.java:652)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
j.a.Dialog$1.run(Dialog.java:1044)
j.a.Dialog$3.run(Dialog.java:1096)
j.security.AccessController.doPrivileged(Native Method)
j.a.Dialog.show(Dialog.java:1094)
j.a.Component.show(Component.java:1584)
j.a.Component.setVisible(Component.java:1536)
j.a.Window.setVisible(Window.java:841)
j.a.Dialog.setVisible(Dialog.java:984)
o.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
o.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
o.adfdtinternal.model.adapter.url.URLDCWizard.runWizard(URLDCWizard.java:1191)
o.adfdtinternal.model.adapter.url.JdxPKURLAddin.invokeDCWizard(JdxPKURLAddin.java:153)
o.adfdtinternal.model.adapter.url.JdxPKURLAddin.invoke(JdxPKURLAddin.java:91)
o.i.wizard.WizardManager.invokeWizard(WizardManager.java:446)
o.i.wizard.WizardManager$1.run(WizardManager.java:530)
j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:682)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:643)
j.a.EventQueue$1.run(EventQueue.java:641)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:652)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by:
java.lang.ClassNotFoundException: HTTPClient.HTTPConnection
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
j.lang.ClassLoader.loadClass(ClassLoader.java:247)
o.adf.model.connection.url.HttpURLConnection.<init>(HttpURLConnection.java:146)
o.adf.model.connection.url.URLProviderFactory.newInstance(URLProviderFactory.java:117)
o.adfdtinternal.model.adapter.url.URLDCWizard$2.wizardValidatePage(URLDCWizard.java:515)
o.bali.ewt.wizard.WizardPage.processWizardValidateEvent(WizardPage.java:710)
o.bali.ewt.wizard.WizardPage.validatePage(WizardPage.java:680)
o.bali.ewt.wizard.BaseWizard.validateSelectedPage(BaseWizard.java:2367)
o.bali.ewt.wizard.BaseWizard._validatePage(BaseWizard.java:3072)
o.bali.ewt.wizard.BaseWizard.doNext(BaseWizard.java:2152)
o.bali.ewt.wizard.BaseWizard$Action$1.run(BaseWizard.java:3952)
j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:682)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:643)
j.a.EventQueue$1.run(EventQueue.java:641)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:652)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
j.a.Dialog$1.run(Dialog.java:1044)
j.a.Dialog$3.run(Dialog.java:1096)
j.security.AccessController.doPrivileged(Native Method)
j.a.Dialog.show(Dialog.java:1094)
j.a.Component.show(Component.java:1584)
j.a.Component.setVisible(Component.java:1536)
j.a.Window.setVisible(Window.java:841)
j.a.Dialog.setVisible(Dialog.java:984)
o.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
o.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
o.adfdtinternal.model.adapter.url.URLDCWizard.runWizard(URLDCWizard.java:1191)
o.adfdtinternal.model.adapter.url.JdxPKURLAddin.invokeDCWizard(JdxPKURLAddin.java:153)
o.adfdtinternal.model.adapter.url.JdxPKURLAddin.invoke(JdxPKURLAddin.java:91)
o.i.wizard.WizardManager.invokeWizard(WizardManager.java:446)
o.i.wizard.WizardManager$1.run(WizardManager.java:530)
j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:682)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:643)
j.a.EventQueue$1.run(EventQueue.java:641)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:652)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)
Thanks,
RamaHi, Rama, we are researching into this issue. One question - can you verify that from JDeveloper, you can hit that URL? Do you need to go through Proxy Server to hit that URL? JDeveloper has its own proxy setting (in preference-http/web...) that it uses to try to resolve proxy server and hit external network sources.
Thanks,
Joe Huang -
JDeveloper crashing (Linux Machine).
My Jdeveloper 11g (11122) is crashing (program exists abruptly) whenever I try to open adfc-config.xml .
I started JDev from command line in order to analize the output, and the following error appeared:
*** buffer overflow detected ***: /home/skywalker/Oracle/jdev11122/jdk160_24/bin/java terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x45)[0xb76d5dd5]
/lib/i386-linux-gnu/libc.so.6(+0xfebaa)[0xb76d4baa]
/lib/i386-linux-gnu/libc.so.6(+0xffd6a)[0xb76d5d6a]
/lib/i386-linux-gnu/libgcrypt.so.11(+0x54d4e)[0x4cc3cd4e]
/lib/i386-linux-gnu/libgcrypt.so.11(+0x51aab)[0x4cc39aab]
/lib/i386-linux-gnu/libgcrypt.so.11(+0x52c32)[0x4cc3ac32]
/lib/i386-linux-gnu/libgcrypt.so.11(+0x514df)[0x4cc394df]
/lib/i386-linux-gnu/libgcrypt.so.11(+0x533e4)[0x4cc3b3e4]
/lib/i386-linux-gnu/libgcrypt.so.11(+0x518c7)[0x4cc398c7]
/lib/i386-linux-gnu/libgcrypt.so.11(gcry_create_nonce+0x63)[0x4cbeee13]
/usr/lib/i386-linux-gnu/libgnutls.so.26(+0x9e9aa)[0x4cdda9aa]
/usr/lib/i386-linux-gnu/libgnutls.so.26(+0x3e16f)[0x4cd7a16f]
/usr/lib/i386-linux-gnu/libgnutls.so.26(gnutls_global_init+0x1cd)[0x4cd6723d]
/usr/lib/i386-linux-gnu/libcups.so.2(httpInitialize+0x62)[0x6b1a58c2]
/usr/lib/i386-linux-gnu/libcups.so.2(_httpCreate+0x59)[0x6b1a5949]
/usr/lib/i386-linux-gnu/libcups.so.2(httpConnectEncrypt+0x42)[0x6b1a7f42]
/usr/lib/i386-linux-gnu/libcups.so.2(httpConnect+0x2b)[0x6b1a7fbb]
/home/skywalker/Oracle/jdev11122/jdk160_24/jre/lib/i386/xawt/libmawt.so(Java_sun_print_CUPSPrinter_canConnect+0x4f)[0x6dfbc7ff]
[0xb37d262a]
[0xb37caee1]
[0xb37caee1]
[0xb37cafa7]
[0xb37cb10d]
[0xb37c83e6]
/home/skywalker/Oracle/jdev11122/jdk160_24/jre/lib/i386/server/libjvm.so(+0x3cfbe1)[0xb6da6be1]
/home/skywalker/Oracle/jdev11122/jdk160_24/jre/lib/i386/server/libjvm.so(+0x5c5538)[0xb6f9c538]
/home/skywalker/Oracle/jdev11122/jdk160_24/jre/lib/i386/server/libjvm.so(+0x3cf455)[0xb6da6455]
/home/skywalker/Oracle/jdev11122/jdk160_24/jre/lib/i386/server/libjvm.so(+0x3cf518)[0xb6da6518]
/home/skywalker/Oracle/jdev11122/jdk160_24/jre/lib/i386/server/libjvm.so(+0x451ca7)[0xb6e28ca7]
/home/skywalker/Oracle/jdev11122/jdk160_24/jre/lib/i386/server/libjvm.so(+0x6c610f)[0xb709d10f]
/home/skywalker/Oracle/jdev11122/jdk160_24/jre/lib/i386/server/libjvm.so(+0x5c6b2e)[0xb6f9db2e]
/lib/i386-linux-gnu/libpthread.so.0(+0x6d4c)[0xb7790d4c]
/lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xb76c0ace]
======= Memory map: ========
08048000-08052000 r-xp 00000000 08:07 15341694 /home/skywalker/Oracle/jdev11122/jdk160_24/bin/java
08052000-08053000 rwxp 00009000 08:07 15341694 /home/skywalker/Oracle/jdev11122/jdk160_24/bin/java
09ecd000-0a627000 rwxp 00000000 00:00 0 [heap]
48eed000-49400000 rwxs 00000000 00:04 86867984 /SYSV00000000 (deleted)
49400000-494fe000 rwxp 00000000 00:00 0
494fe000-49500000 ---p 00000000 00:00 0
49600000-496fe000 rwxp 00000000 00:00 0
496fe000-49700000 ---p 00000000 00:00 0
49700000-497f9000 rwxp 00000000 00:00 0
497f9000-49800000 ---p 00000000 00:00 0
49800000-498fd000 rwxp 00000000 00:00 0
498fd000-49900000 ---p 00000000 00:00 0
49900000-49a00000 rwxp 00000000 00:00 0
49a00000-49bfd000 rwxp 00000000 00:00 0
49bfd000-49c00000 ---p 00000000 00:00 0
49c00000-49e00000 rwxp 00000000 00:00 0
49e00000-4a000000 rwxp 00000000 00:00 0
4a000000-4a200000 rwxp 00000000 00:00 0
4a200000-4a400000 rwxp 00000000 00:00 0
4a400000-4a600000 rwxp 00000000 00:00 0
4a600000-4a6fe000 rwxp 00000000 00:00 0
4a6fe000-4a700000 ---p 00000000 00:00 0
4a700000-4a800000 rwxp 00000000 00:00 0
4a800000-4a8a7000 rwxp 00000000 00:00 0
4a8a7000-4a900000 ---p 00000000 00:00 0
4a900000-4a9ff000 rwxp 00000000 00:00 0
4a9ff000-4aa00000 ---p 00000000 00:00 0
4aa00000-4aafa000 rwxp 00000000 00:00 0
4aafa000-4ab00000 ---p 00000000 00:00 0
4ab00000-4abfa000 rwxp 00000000 00:00 0
4abfa000-4ac00000 ---p 00000000 00:00 0
4ac00000-4acfa000 rwxp 00000000 00:00 0
4acfa000-4ad00000 ---p 00000000 00:00 0
4ad00000-4adfa000 rwxp 00000000 00:00 0
4adfa000-4ae00000 ---p 00000000 00:00 0
4ae00000-4aef9000 rwxp 00000000 00:00 0
4aef9000-4af00000 ---p 00000000 00:00 0
4af00000-4aff9000 rwxp 00000000 00:00 0
4aff9000-4b000000 ---p 00000000 00:00 0
4b000000-4b0f9000 rwxp 00000000 00:00 0
4b0f9000-4b100000 ---p 00000000 00:00 0
4b100000-4b1f9000 rwxp 00000000 00:00 0
4b1f9000-4b200000 ---p 00000000 00:00 0
4b200000-4b2ff000 rwxp 00000000 00:00 0
4b2ff000-4b300000 ---p 00000000 00:00 0
4b336000-4b339000 ---p 00000000 00:00 0
4b339000-4b387000 rwxp 00000000 00:00 0
4b3b0000-4b3b3000 ---p 00000000 00:00 0
4b3b3000-4b401000 rwxp 00000000 00:00 0
4b401000-4b404000 ---p 00000000 00:00 0
4b404000-4b452000 rwxp 00000000 00:00 0
4b452000-4b455000 ---p 00000000 00:00 0
4b455000-4b4a3000 rwxp 00000000 00:00 0
4b4a3000-4b4a6000 ---p 00000000 00:00 0
4b4a6000-4b4f4000 rwxp 00000000 00:00 0
4b4f4000-4b4f7000 ---p 00000000 00:00 0
4b4f7000-4b545000 rwxp 00000000 00:00 0
4b545000-4b547000 r-xp 00000000 08:06 1444662 /lib/libnss_mdns4.so.2
4b547000-4b548000 r-xp 00001000 08:06 1444662 /lib/libnss_mdns4.so.2
4b548000-4b549000 rwxp 00002000 08:06 1444662 /lib/libnss_mdns4.so.2
4b552000-4b554000 r-xs 0000d000 08:07 15467413 /home/skywalker/Oracle/jdev11122/jdeveloper/ide/lib/commons-logging-1.1.1.jar
4b554000-4b55a000 r-xs 00045000 08:07 15467385 /home/skywalker/Oracle/jdev11122/jdeveloper/ide/lib/commons-httpclient-3.1.jar
4b55a000-4b55d000 r-xs 0000e000 08:07 15467409 /home/skywalker/Oracle/jdev11122/jdeveloper/ide/lib/commons-io-1.2.jar
4b55d000-4b55f000 r-xs 0000a000 08:07 15467375 /home/skywalker/Oracle/jdev11122/jdeveloper/ide/lib/commons-codec-1.3.jar
4b55f000-4b562000 r-xs 0001b000 08:07 15598973 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.adf.model_11.1.1/jdev-cm.jar
4b562000-4b565000 ---p 00000000 00:00 0
4b565000-4b5b3000 rwxp 00000000 00:00 0
4b5b3000-4b5b4000 r-xs 00003000 08:07 15472497 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.adf.view_11.1.1/adf.constants.jar
4b5b4000-4b5b7000 ---p 00000000 00:00 0
4b5b7000-4b605000 rwxp 00000000 00:00 0
4b605000-4b616000 r-xs 000f3000 08:07 15470803 /home/skywalker/Oracle/jdev11122/jdeveloper/javavm/lib/aurora.zip
4b616000-4b634000 r-xs 003cc000 08:07 15471821 /home/skywalker/Oracle/jdev11122/jdeveloper/sqlj/lib/translator.jar
4b634000-4b63d000 r-xs 00066000 08:07 15471822 /home/skywalker/Oracle/jdev11122/jdeveloper/sqlj/lib/runtime12.jar
4b63d000-4b648000 r-xs 00074000 08:07 15472510 /home/skywalker/Oracle/jdev11122/oracle_common/modules/velocity-dep-1.4.jar
4b648000-4b649000 r-xs 00001000 08:07 15472614 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.dconfig-infra_11.1.1.jar
4b649000-4b64a000 r-xs 00005000 08:07 15472452 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.wsm.policies_11.1.1/wsm-policytool.jar
4b64a000-4b650000 r-xs 0002a000 08:07 15472451 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.wsm.policies_11.1.1/wsm-seed-policies.jar
4b650000-4b659000 r-xs 000a2000 08:07 15599404 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.wsm.agent.common_11.1.1/wsm-agent-core.jar
4b659000-4b660000 r-xs 0004d000 08:07 15472396 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.wsm.common_11.1.1/wsm-secpol.jar
4b660000-4b670000 r-xs 00160000 08:07 15472403 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.wsm.common_11.1.1/wsm-policy-core.jar
4b670000-4b67a000 r-xs 0009b000 08:07 15472394 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.wsm.common_11.1.1/wsm-pmlib.jar
4b67a000-4b67b000 r-xs 00003000 08:07 15599005 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.uix_11.1.1/uixadfrt.jar
4b67b000-4b6d7000 r-xs 003ec000 08:07 15599003 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.uix_11.1.1/uix2.jar
4b6d7000-4b6e4000 r-xs 000f0000 08:07 15599563 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.webservices_11.1.1/wsserver.jar
4b6e4000-4b6e8000 r-xs 00032000 08:07 15599556 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.webservices_11.1.1/mdds.jar
4b6e8000-4b6e9000 r-xs 00001000 08:07 15472515 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.security-api_11.1.1.jar
4b6e9000-4b6ee000 r-xs 0006e000 08:07 15472567 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.web-common_11.1.1.jar
4b6ee000-4b6f8000 r-xs 00075000 08:07 15472612 /home/skywalker/Oracle/jdev11122/oracle_common/modules/org.apache.bcel_5.1.jar
4b6f8000-4b6fe000 r-xs 00058000 08:07 15340572 /home/skywalker/Oracle/jdev11122/modules/javax.mail_1.4.jar
4b6fe000-4b71e000 r-xs 00148000 08:07 15599426 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.adf.share_11.1.1/adfsharembean.jar
4b71e000-4b721000 ---p 00000000 00:00 0
4b721000-4b76f000 rwxp 00000000 00:00 0
4b76f000-4b772000 ---p 00000000 00:00 0
4b772000-4b7c0000 rwxp 00000000 00:00 0
4b7c0000-4b7d5000 r-xp 00000000 08:07 15730081 /home/skywalker/Oracle/jdev11122/jdk160_24/jre/lib/i386/libdcpr.so
4b7d5000-4b7e8000 rwxp 00014000 08:07 15730081 /home/skywalker/Oracle/jdev11122/jdk160_24/jre/lib/i386/libdcpr.so
4b7e8000-4b8ae000 r-xp 00000000 08:07 15730441 /home/skywalker/Oracle/jdev11122/jdk160_24/jre/lib/i386/libmlib_image.so
4b8ae000-4b8af000 rwxp 000c5000 08:07 15730441 /home/skywalker/Oracle/jdev11122/jdk160_24/jre/lib/i386/libmlib_image.so
4b8af000-4b8b2000 ---p 00000000 00:00 0
4b8b2000-4b900000 rwxp 00000000 00:00 0
4b900000-4b903000 ---p 00000000 00:00 0
4b903000-4b951000 rwxp 00000000 00:00 0
4b951000-4b95b000 r-xs 001dc000 08:07 15599028 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.javacache_11.1.1/cache.jar
4b95b000-4b9bf000 r-xs 004aa000 08:07 15598949 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.iau_11.1.1/reports/AuditReportTemplates.jar
4b9bf000-4b9c2000 r-xs 00026000 08:07 15599077 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar
4b9c2000-4b9c5000 ---p 00000000 00:00 0
4b9c5000-4ba13000 rwxp 00000000 00:00 0
4ba13000-4ba14000 r-xs 00000000 08:07 15472119 /home/skywalker/Oracle/jdev11122/jdeveloper/uddi/lib/runner.jar
4ba14000-4ba1a000 r-xs 0003c000 08:07 15472116 /home/skywalker/Oracle/jdev11122/jdeveloper/uddi/lib/builtin_serialization.jar
4ba1a000-4ba1c000 r-xs 0000a000 08:07 15472118 /home/skywalker/Oracle/jdev11122/jdeveloper/uddi/lib/activation.jar
4ba1c000-4ba1d000 r-xs 00001000 08:07 15472129 /home/skywalker/Oracle/jdev11122/jdeveloper/uddi/lib/jaxm.jar
4ba1d000-4ba22000 r-xs 00023000 08:07 15472125 /home/skywalker/Oracle/jdev11122/jdeveloper/uddi/lib/saaj.jar
4ba22000-4ba23000 r-xs 00003000 08:07 15472127 /home/skywalker/Oracle/jdev11122/jdeveloper/uddi/lib/jaxrpc.jar
4ba23000-4ba51000 r-xs 0024b000 08:07 15472120 /home/skywalker/Oracle/jdev11122/jdeveloper/uddi/lib/wasp.jar
4ba51000-4ba55000 r-xs 000bf000 08:07 15472122 /home/skywalker/Oracle/jdev11122/jdeveloper/uddi/lib/wsdl2uddi_client_v3.jar
4ba55000-4ba58000 r-xs 00082000 08:07 15472117 /home/skywalker/Oracle/jdev11122/jdeveloper/uddi/lib/category_client_v3.jar
4ba58000-4ba63000 r-xs 002a9000 08:07 15472126 /home/skywalker/Oracle/jdev11122/jdeveloper/uddi/lib/uddiclient_api_v3.jar
4ba63000-4ba6d000 r-xs 00255000 08:07 15472121 /home/skywalker/Oracle/jdev11122/jdeveloper/uddi/lib/uddiclient_api_v2.jar
4ba6d000-4ba6f000 r-xs 00008000 08:07 15472123 /home/skywalker/Oracle/jdev11122/jdeveloper/uddi/lib/core_services_client.jar
4ba6f000-4ba72000 r-xs 00036000 08:07 15472128 /home/skywalker/Oracle/jdev11122/jdeveloper/uddi/lib/uddiclient_core.jar
4ba72000-4ba79000 r-xs 0007d000 08:07 15472124 /home/skywalker/Oracle/jdev11122/jdeveloper/uddi/lib/uddiclient.jar
4ba79000-4ba80000 r-xs 000a8000 08:07 15472493 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.adf.view_11.1.1/adf-faces-databinding-rt.jar
4ba80000-4ba83000 r-xs 0008c000 08:07 15599571 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.adf.controller_11.1.1/adf-controller-rt-common.jar
4ba83000-4bb1b000 r-xs 00752000 08:07 15472470 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.adf.view_11.1.1/adf-richclient-impl-11.jar
4bb1b000-4bb37000 r-xs 00188000 08:07 15472485 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.adf.view_11.1.1/adf-richclient-api-11.jar
4bb37000-4bb4b000 r-xs 0022c000 08:07 15599009 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.help_5.0/oracle_ice.jar
4bb4b000-4bb4f000 r-xs 0002d000 08:07 15599017 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.help_5.0/help-share.jar
4bb4f000-4bb56000 r-xs 0004b000 08:07 15599010 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.help_5.0/ohj.jar
4bb56000-4bba1000 r-xs 00473000 08:07 15472462 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.adf.view_11.1.1/trinidad-impl.jar
4bba1000-4bbb3000 r-xs 00163000 08:07 15472463 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.adf.view_11.1.1/trinidad-api.jar
4bbb3000-4bbb6000 ---p 00000000 00:00 0
4bbb6000-4bc04000 rwxp 00000000 00:00 0
4bc04000-4bc07000 ---p 00000000 00:00 0
4bc07000-4bc55000 rwxp 00000000 00:00 0
4bc55000-4bc58000 ---p 00000000 00:00 0
4bc58000-4bca6000 rwxp 00000000 00:00 0
4bca6000-4bcb2000 r-xs 000c5000 08:07 15472498 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.adf.view_11.1.1/dvt-databindings.jar
4bcb2000-4bcb6000 r-xs 0003e000 08:07 15471033 /home/skywalker/Oracle/jdev11122/jdeveloper/jdev/extensions/oracle.dvt.dt/mvclient.jar
4bcb6000-4bcbb000 r-xs 00055000 08:07 15472469 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.adf.view_11.1.1/adf-faces-databinding-dt-core.jar
4bcbb000-4bcbf000 r-xs 0002e000 08:07 15472467 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.adf.view_11.1.1/adf-view-databinding-dt-core.jar
4bcbf000-4bcc3000 r-xs 0013b000 08:07 15599570 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.adf.controller_11.1.1/adf-controller-api.jar
4bcc3000-4bccc000 r-xs 0004e000 08:07 15599381 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.facesconfigdt_11.1.1/facesconfigmodel.jar
4bccc000-4bcd2000 r-xs 00042000 08:07 15599380 /home/skywalker/Oracle/jdev11122/oracle_common/modules/oracle.facesconfigdt_11.1.1/taglib.jar
4bcd2000-4bcd3000 r-xs 00000000 08:07 15341277 /home/skywalker/Oracle/jdev11122/modules/features/weblogic.server.modules_10.3.5.0.jar/home/skywalker/Oracle/jdev11122/jdeveloper/jdev/bin/../../ide/bin/launcher.sh: line 484: 5795 Aborted (core dumped) ${JAVA} "${APP_VM_OPTS[@]}" ${APP_ENV_VARS} -classpath ${APP_CLASSPATH} ${APP_MAIN_CLASS} "${APP_APP_OPTS[@]}"
Do you have any suggestions how to fix issue ? I've tried to reinstall but the same problem appear.
Right now I am unable to work at my project .
Thank you,
AndreiIt seems that is not specific to a certain adf-config.xml . I've tried with two different already existing projects, and I also started a new project from scratch - it crashes in the same manner.
This problem is jdev11122 specific. The problem doesn't reproduce on jdev11115 (on the same machine).
PS: Today I've switched to jdev11122 . In about 2 hours of usage it randomly crashed (exiting) several times. The opening of an adf-config.xml was the single reproducible crash I could obtain.
Oher info: I am using a 3.2.0-25-generic-pae kernel, linux distribution is xubuntu (xfce) 12.04 .
Edited by: Andrei Ciobanu on Aug 9, 2012 2:49 PM -
SSL Help required : using JDeveloper
I am using a single self signed certificate created using keytool on both the client and server end. (i.e. the same keystore as the truststore and keystore as well as the same on the client and the server)
Tried this sample code to fetch the WSDL of my webservice in JDeveloper. Successfully did this.
===========================================================
import HTTPClient.HTTPConnection;
import HTTPClient.HTTPResponse;
import javax.security.cert.X509Certificate;
import oracle.security.ssl.OracleSSLCredential;
import java.io.IOException;
import javax.net.ssl.SSLPeerUnverifiedException;
import javax.net.ssl.SSLSession;
public class SSLSocketClientWithClientAuth {
public static void main(String[] args) {
if (args.length < 4) {
System.out.println("Usage: java HTTPSConnectionTest [host] [port] " +
"[wallet] [password]");
System.exit(-1);
String hostname = args[0].toLowerCase();
int port = Integer.decode(args[1]).intValue();
String walletPath = args[2];
String password = args[3];
HTTPConnection httpsConnection = null;
OracleSSLCredential credential = null;
try {
httpsConnection = new HTTPConnection("https", hostname, port);
} catch (IOException e) {
System.out.println("HTTPS Protocol not supported");
System.exit(-1);
try {
credential = new OracleSSLCredential();
credential.setWallet(walletPath, password);
} catch (IOException e) {
System.out.println("Could not open wallet");
System.exit(-1);
httpsConnection.setSSLEnabledCipherSuites(new String[]{"SSL_RSA_WITH_RC4_128_SHA","SSL_RSA_WITH_3DES_EDE_CBC_SHA","SSL_RSA_WITH_RC4_128_MD5","SSL_RSA_WITH_DES_CBC_SHA","SSL_DH_anon_WITH_3DES_EDE_CBC_SHA"});
// httpsConnection.setSSLCredential(credential);
System.out.println("Set credentials and cipher suite");
try {
httpsConnection.connect();
System.out.println("Connected!!!!!");
} catch (IOException e) {
System.out.println("Could not establish connection");
e.printStackTrace();
System.exit(-1);
//javax.servlet.request.
X509Certificate[] peerCerts = null;
/* try {
SSLSession sslSession = httpsConnection.getSSLSession();
System.out.println("Getting session.........");
httpsConnection.connect();
}catch(Exception e){
e.printStackTrace();
System.out.println("null Getting session.........");
System.exit(-1);
try{
peerCerts =
(httpsConnection.getSSLSession()).getPeerCertificateChain();
} catch (javax.net.ssl.SSLPeerUnverifiedException e) {
System.err.println("Unable to obtain peer credentials");
e.printStackTrace();
System.exit(-1);
String peerCertDN =
peerCerts[peerCerts.length - 1].getSubjectDN().getName();
peerCertDN = peerCertDN.toLowerCase();
if (peerCertDN.lastIndexOf("cn=" + hostname) == -1) {
System.out.println("Certificate for " + hostname +
" is issued to " + peerCertDN);
System.out.println("Aborting connection");
System.exit(-1);
try {
HTTPResponse rsp = httpsConnection.Get("/spmlws/HttpSoap11?wsdl");
System.out.println("Server Response: ");
System.out.println(rsp.getText());
System.out.println("Server Response: ");
System.out.println(rsp.getText());
} catch (Exception e) {
System.out.println("Exception occured during Get");
e.printStackTrace();
System.exit(-1);
=====================================================
But on using the client proxy generated for my webservice using JDeveloper and then setting the system properties such as
System.setProperty("javax.net.ssl.keyStore",keyStore);
System.setProperty("javax.net.ssl.keyStorePassword", keyStorePassword);
System.setProperty("javax.net.ssl.trustStore", trustStore);
System.setProperty("javax.net.ssl.trustStorePassword",trustStorePassword);
System.setProperty("javax.net.ssl.keyStoreType","JKS");
System.setProperty("javax.net.ssl.trustStoreType","JKS");
I get the following exception:
<MSG_TEXT>IOException in ServerSocketAcceptHandler$AcceptHandlerHorse:run</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[javax.net.ssl.SSLProtocolException: handshake alert: no_certificate
at com.sun.net.ssl.internal.ssl.ServerHandshaker.handshakeAlert(ServerHandshaker.java:1031)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1535)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038)
at oracle.oc4j.network.ServerSocketAcceptHandler.doSSLHandShaking(ServerSocketAcceptHandler.java:250)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:868)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
]]></SUPPL_DETAIL>
Please can anybody help me with this!!!!
Thanks in advance
NileshHi,
Try the following.
String_arctest model = new String_arctest();
ReturnTestString str=new ReturnTestString(model);
str.setArg1("HalloWelt");
Request_ReturnTestString req=new Request_ReturnTestString(model);
req.addReturnTestString(str);
wdContext.nodeRequest_ReturnTestString().bind(req);
wdContext.nodeRequest_ReturnTestString()
.currentRequest_ReturnTestStringElement().modelObject().execute();
wdContext.nodeResponse().invalidate();
wdContext.nodeResponse().nodeReturnTestStringResponse().invalidate();
Regards, Anilkumar -
JDeveloper & NetBean Integration
Hello all,
Wishes for the day.
I am trying to integrate NetBeans 5 with JDeveloper10.1.3 for my web application.
Here is the problem. I have one servlet in JDeveloper which can take three parameters.
I have one class who wants to initiate the servlet from JDeveloper and pass it three required parameters.
I have both of them on my computer. So what would i do?
The url I am using in NetBeans' class is
http://82.44.45.22:8989/HiberRSS-HibernateData-context-root/" +
"scrapFromHTML?strSearch="+strSearch+"&strUrl="+strUrl+"&strFlag="+addUrl;
Still can not see the html web page generated by the servelet.
Please help me.
Looking forward to it.
Greate RegardsHello Shay,
I am trying to pass some parameters from a stand alone mobile application (NetBeans mobility pack) to my servlet (JDeveloper). I can read the servlet output stream from my NetBeans' class using HTTPConnection.
But I would like to process those parameters on servlet (JDeveloper), how would I do that? ne code or class or method?
Thanks a lot.
Regards. -
Error While Running a page on JDeveloper
Hi All ,
I am getting the following error while running a page in Jdeveloper . Can any body help me?
(AppsContext.java:686) at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:846) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) 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:797) at java.lang.Thread.run(Thread.java:534) oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-00904: "SERVERRESP_ENABLED_FLAG": invalid identifier ; (Could not lookup message because there is no database connection) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862) at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:352) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) 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:797) at java.lang.Thread.run(Thread.java:534) ## Detail 0 ## java.sql.SQLException: ORA-00904: "SERVERRESP_ENABLED_FLAG": invalid identifier at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141) at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2487) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550) at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1328) at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169) at oracle.apps.fnd.profiles.ExtendedProfileStore.getMultiSpecificProfileFromDB(ExtendedProfileStore.java:368) at oracle.apps.fnd.common.WebAppsContext.setProfileValues(WebAppsContext.java:4177) at oracle.apps.fnd.common.AppsContext.setDBEnv(AppsContext.java:3407) at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2508) at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2398) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2257) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2072) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1976) at oracle.apps.fnd.profiles.Profiles.getConnection(Profiles.java:2494) at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1304) at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169) at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148) at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147) at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008) at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931) at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570) at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:873) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:858) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:827) at oracle.apps.fnd.common.AppsContext.(AppsContext.java:686) at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:846) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) 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:797) at java.lang.Thread.run(Thread.java:534) ">check your DBC file, we have discussed this issue in the forum, search for SERVERRESP_ENABLED_FLAG
-
Error while creating a application server connection in jdeveloper 10.1.3.2
When I am trying to create a connection using the wizard with the following inputs
hostname as :- localhost
RMI Por as 22667
When I use the test conection receive the following error
racle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException: Error while getting remote MBeanServer for url: ormi://localhost:22667/default
at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:502)
at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)
at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)
at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)
at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)
at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)
at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269)
at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76)
at oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75)
at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:423)
at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
at java.lang.Thread.run(Thread.java:613)
Caused by: javax.naming.NamingException: Error reading application-client descriptor: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused] [Root exception is java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]]
at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:127)
at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)
... 14 more
Caused by: java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
... 20 more
Caused by: oracle.oc4j.rmi.OracleRemoteException: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
at com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
... 21 more
Caused by: javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
... 26 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.<init>(Socket.java:365)
at java.net.Socket.<init>(Socket.java:207)
at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:682)
at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
... 28 more
---- Embedded exception
javax.naming.NamingException: Error reading application-client descriptor: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused] [Root exception is java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]]
at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:127)
at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)
at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)
at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)
at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)
at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)
at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)
at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269)
at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76)
at oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75)
at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:423)
at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
... 20 more
Caused by: oracle.oc4j.rmi.OracleRemoteException: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
at com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
... 21 more
Caused by: javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
... 26 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.<init>(Socket.java:365)
at java.net.Socket.<init>(Socket.java:207)
at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:682)
at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
... 28 more
---- Embedded exception
java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)
at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)
at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)
at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)
at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)
at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)
at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269)
at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76)
at oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75)
at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:423)
at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
at java.lang.Thread.run(Thread.java:613)
Caused by: oracle.oc4j.rmi.OracleRemoteException: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
at com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
... 21 more
Caused by: javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
... 26 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.<init>(Socket.java:365)
at java.net.Socket.<init>(Socket.java:207)
at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:682)
at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
... 28 moreCaused by: java.net.ConnectException: Connection refused
Is the Oracle application server running? -
Error While Running a ADF Page from JDeveloper
Hi
I am facing the following problem while running a page from JDeveloper 11g
please find the below stack trace and help me in fixing this
IntegratedWebLogicServer startup time: 181886 ms.
IntegratedWebLogicServer started.
[Running application TestApp on Server Instance IntegratedWebLogicServer...]
[12:39:33 PM] ---- Deployment started. ----
[12:39:33 PM] Target platform is (Weblogic 10.3).
[12:39:35 PM] Retrieving existing application information
[12:39:35 PM] Running dependency analysis...
[12:39:36 PM] Deploying 2 profiles...
[12:39:43 PM] Wrote Web Application Module to C:\Documents and Settings\hari.kempula\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\TestApp\ViewControllerWebApp.war
[12:39:44 PM] Wrote Enterprise Application Module to C:\Documents and Settings\hari.kempula\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\TestApp
[12:39:44 PM] Deploying Application...
<ConfigHelper><getParsedElements> oracle.adf.share.config.ConfigHelper
java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
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 oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.invokeIO(MetadataRegistryBigImpl.java:130)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.openStream(MetadataRegistryBigImpl.java:50)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl.getDomDocument(MetadataRegistryImpl.java:602)
at oracle.adf.share.config.ConfigHelper.getParsedElements(ConfigHelper.java:221)
at oracle.adf.share.config.ADFSettingsImpl.parseSettings(ADFSettingsImpl.java:144)
at oracle.adf.share.config.ADFSettingsImpl.readConfig(ADFSettingsImpl.java:134)
at oracle.adf.share.config.ADFSettingsImpl.<init>(ADFSettingsImpl.java:68)
at oracle.adf.share.config.ConfigContainerFactory.findOrCreateADFSettings(ConfigContainerFactory.java:88)
at oracle.adf.share.config.ConfigContainerFactory.findOrCreateConfig(ConfigContainerFactory.java:65)
at oracle.adf.share.ADFContext.getADFSettings(ADFContext.java:701)
at oracle.adf.controller.config.ControllerSettings.getCurrent(ControllerSettings.java:51)
at oracle.adf.controller.config.ControllerSettings.getPhaseListeners(ControllerSettings.java:74)
at oracle.adf.controller.v2.lifecycle.ADFLifecycle.initControllerConfigListeners(ADFLifecycle.java:38)
at oracle.adf.controller.v2.lifecycle.ADFLifecycle.setInstance(ADFLifecycle.java:22)
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl.<init>(JSFLifecycleImpl.java:33)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:39)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
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:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:243)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:202)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1801)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3045)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1397)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<May 7, 2010 12:39:58 PM GMT+05:30> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! \java\META-INF\adf-settings.xml (The system cannot find the path specified).
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
<May 7, 2010 12:39:58 PM GMT+05:30> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1273216184760' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
<May 7, 2010 12:39:58 PM GMT+05:30> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'TestApp'.>
<May 7, 2010 12:39:58 PM GMT+05:30> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'TestApp'.>
<May 7, 2010 12:39:58 PM GMT+05:30> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
[12:39:58 PM] #### Deployment incomplete. ####
#### Cannot run application TestApp due to error deploying to IntegratedWebLogicServer.
[12:39:58 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
[Application TestApp stopped and undeployed from Server Instance IntegratedWebLogicServer]
[Running application TestApp on Server Instance IntegratedWebLogicServer...]
[12:45:12 PM] ---- Deployment started. ----
[12:45:12 PM] Target platform is (Weblogic 10.3).
[12:45:12 PM] Retrieving existing application information
[12:45:12 PM] Running dependency analysis...
[12:45:12 PM] Deploying 2 profiles...
[12:45:13 PM] Wrote Web Application Module to C:\Documents and Settings\hari.kempula\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\TestApp\ViewControllerWebApp.war
[12:45:13 PM] Wrote Enterprise Application Module to C:\Documents and Settings\hari.kempula\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\TestApp
[12:45:13 PM] Redeploying Application...
<ConfigHelper><getParsedElements> oracle.adf.share.config.ConfigHelper
java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
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 oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.invokeIO(MetadataRegistryBigImpl.java:130)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.openStream(MetadataRegistryBigImpl.java:50)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl.getDomDocument(MetadataRegistryImpl.java:602)
at oracle.adf.share.config.ConfigHelper.getParsedElements(ConfigHelper.java:221)
at oracle.adf.share.config.ADFSettingsImpl.parseSettings(ADFSettingsImpl.java:144)
at oracle.adf.share.config.ADFSettingsImpl.readConfig(ADFSettingsImpl.java:134)
at oracle.adf.share.config.ADFSettingsImpl.<init>(ADFSettingsImpl.java:68)
at oracle.adf.share.config.ConfigContainerFactory.findOrCreateADFSettings(ConfigContainerFactory.java:88)
at oracle.adf.share.config.ConfigContainerFactory.findOrCreateConfig(ConfigContainerFactory.java:65)
at oracle.adf.share.ADFContext.getADFSettings(ADFContext.java:701)
at oracle.adf.controller.config.ControllerSettings.getCurrent(ControllerSettings.java:51)
at oracle.adf.controller.config.ControllerSettings.getPhaseListeners(ControllerSettings.java:74)
at oracle.adf.controller.v2.lifecycle.ADFLifecycle.initControllerConfigListeners(ADFLifecycle.java:38)
at oracle.adf.controller.v2.lifecycle.ADFLifecycle.setInstance(ADFLifecycle.java:22)
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl.<init>(JSFLifecycleImpl.java:33)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:39)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
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:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:243)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:202)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1801)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3045)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1397)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<May 7, 2010 12:45:18 PM GMT+05:30> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! \java\META-INF\adf-settings.xml (The system cannot find the path specified).
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
<May 7, 2010 12:45:18 PM GMT+05:30> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1273216513742' for task '1'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
<May 7, 2010 12:45:18 PM GMT+05:30> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'TestApp'.>
<May 7, 2010 12:45:18 PM GMT+05:30> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'TestApp'.>
<May 7, 2010 12:45:18 PM GMT+05:30> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
[12:45:18 PM] #### Deployment incomplete. ####
[12:45:18 PM] Remote deployment failed
#### Cannot run application TestApp due to error deploying to IntegratedWebLogicServer.
[Application TestApp stopped and undeployed from Server Instance IntegratedWebLogicServer]Thanks in Advance
KumarHi Frank,
I am using JDeveloper Studio Edition Version 11.1.1.2.0,
Even i try to run different application but still i am getting the same error.
Regards,
Kumar
Edited by: harikumarmpl on May 7, 2010 2:50 AM -
Urgent.....Error while running a jsp report from Jdeveloper
Hi,
I am getting following error while running a jsp report from Jdeveloper. I am using version 10.1.2.1.0. The same report is working fine when I am running it from report builder. ( Both these tools were installed using Oracle Developer Suite 10g version 10.1.2). I did search in oracle discussion forums and google, but I could not arrive at a resolution of error. Any help in resolving this issue would be grateful.
Error details:
Page url : http://<hostipaddress>:8988/Reports-reportproject-context-root/MyReport.jsp
Reports Error Page
Wed Oct 17 20:03:22 IST 2007
javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
at MyReport.jspService(MyReport.jsp:4)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Could anyone help me out in resolving this issue.
Thanks
Siva...Hi,
I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
Thanks
Siva... -
Urgent...Error while running a jsp report in Jdeveloper
Hi,
I am getting following error while running a jsp report from Jdeveloper. I am using version 10.1.2.1.0. The same report is working fine when I am running it from report builder. ( Both these tools were installed using Oracle Developer Suite 10g version 10.1.2). I did search in oracle discussion forums and google, but I could not arrive at a resolution of error. Any help in resolving this issue would be grateful.
Error details:
Page url : http://<hostipaddress>:8988/Reports-reportproject-context-root/MyReport.jsp
Reports Error Page
Wed Oct 17 20:03:22 IST 2007
javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
at MyReport.jspService(MyReport.jsp:4)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Could anyone help me out in resolving this issue.
Thanks
Siva...Hi,
I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
Thanks
Siva... -
Error while deploying a Java Stored Procedure using JDeveloper
Hi,
I was going thru the Oracle By Example article: "Developing SQL and PL/SQL with JDeveloper". (http://www.oracle.com/technology/obe/obe9051jdev/ide1012/plsqlobe/obeplsql.htm)
One of the items in this article is - "Creating and Deploying a Java Stored Procedure"
I was able to create a java class, compile it. Created a deployment profile. created a pl/sql wrapper. While trying to deploy the java stored procedure, I am getting the following error:
Invoking loadjava on connection 'hr_conn' with arguments:
-order -resolve -thin
errors : class package1/mypackage/JavaStoredProc
ORA-29521: referenced name java/lang/StringBuilder could not be found
The following operations failed
class package1/mypackage/JavaStoredProc: resolution
oracle.aurora.server.tools.loadjava.ToolsException: Failures occurred during processing
at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:863)
at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:116)
at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:46)
at oracle.jdevimpl.deploy.OracleDeployer.deploy(OracleDeployer.java:97)
at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:474)
at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:361)
at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:285)
at oracle.jdevimpl.deploy.StoredProcProfileDt$Action$1.run(StoredProcProfileDt.java:383)
#### Deployment incomplete. #### Oct 27, 2005 1:38:56 PM
Appreciate your help on this..I am using Jdeveloper 10.1.3 Early Access Version. JDK comes with it. I also have another JDK on my machine (JDK1.4.2_09)
-
Error while deploying a JSR 168 portlet developed in JDeveloper 10.1.3.2
When deploying a JSR 168 portlet created using JDeveloper 10.1.3.2 (Web Center Suite edition), I get the error :
"Shared library "oracle.wsrp" could not be found."
Error Log:
---- Deployment started. ---- Sep 20, 2007 9:31:42 AM
Target platform is Oracle Application Server 10g 10.1.3 (PolestarAppServerConnection).
Wrote WAR file to C:\Projects\eAlliance\JSR168\ViewController\deploy\jsr168.war
Wrote EAR file to C:\Projects\eAlliance\JSR168\ViewController\deploy\jsr168.ear
Backing up generic archive file :/C:/Projects/eAlliance/JSR168/ViewController/deploy/jsr168_generic.ear
Creating WSDLs for the WSRP Application
WSDLs for the WSRP Application have been created
Uploading file jsr168.ear ...
Uploading file jsr168.ear ...
Application Deployer for jsr168 STARTS.
Copy the archive to /home/soahome/orasoa/j2ee/home/applications/jsr168.ear
Initialize /home/soahome/orasoa/j2ee/home/applications/jsr168.ear begins...
Unpacking jsr168.ear
Done unpacking jsr168.ear
Unpacking jsr168.war
Done unpacking jsr168.war
Initialize /home/soahome/orasoa/j2ee/home/applications/jsr168.ear ends...
Starting application : jsr168
Initializing ClassLoader(s)
application : jsr168 is in failed state
Operation failed with error:
Shared library "oracle.wsrp" could not be found.
Deployment failed
Elapsed time for deployment: 39 seconds
#### Deployment incomplete. #### Sep 20, 2007 9:32:21 AM
Steps To recreate the error:
1)Create a new Application in JDeveloper
2)Click "New" in "ViewController" and click on WebTier->Portlets->Standards based(JSR 168) from the wizard.
3)Go thru JSR 168 Portlet wizard steps 1 thru' 8 accepting all defaults.
4)Click "New" in "ViewController" and click on General->Deployment Profiles->WAR File from the wizard.
5)Enter a name and hit OK. Then in the "WAR Deployment Profile Properties" page, select "Specify J2EE Web Context Root" and enter the name similar to what is in the "Enterprise application name" text box in the same screen. Hit OK.
6)Right click on the deploy file created under "Resources" and select "Deploy to AppServer" (I am deploying to a remote 10.1.4 Portal Server that has already been configured in my connections tab.
7)Note the above noted error message in the Deployment Log tab.
Can you give me any suggestions?
Thanks,
Bipin RajDoes the \j2ee\home\shared-lib directory contain a directory oracle.wsrp?
Does the <OC4J_HOME>/j2ee/home/config/server.xml file contain a shared-lib declaration for oracle.wsrp?
<shared-library name="oracle.wsrp" version="1.0">
<code-source path="wsrp-container.jar"/>
<code-source path="wsrp-types.jar"/>
<code-source path="wsrp-jaxb.jar"/>
<code-source path="jaxb-api.jar"/>
<code-source path="jaxb-impl.jar"/>
<code-source path="jaxb-libs.jar"/>
<code-source path="namespace.jar"/>
<code-source path="xsdlib.jar"/>
<code-source path="relaxngDatatype.jar"/>
<import-shared-library name="oracle.gdk"/>
<import-shared-library name="oracle.xml"/>
<import-shared-library name="oracle.jdbc"/>
<import-shared-library name="oracle.cache"/>
</shared-library> -
Error while Creating a basic portal application using JDeveloper
Hi,
I am trying to build a portal application using the following tutorial on JDeveloper 11.1.1.5.0 on Windows XP.
[http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10273/createapp.htm#CCHEGDIC|http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10273/createapp.htm#CCHEGDIC]
I have configured all the prereqs for this tutorial. When i run the application, following message appears on the log file.
Target Portal.jpr is not runnable, using default target index.html.
and the webpage contains following error
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
+10.4.5 404 Not Found+
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
Following is the WLS log for the application run.
+[12:53:24 PM] ---- Deployment started. ----+
+[12:53:24 PM] Target platform is (Weblogic 10.3).+
+[12:53:24 PM] Retrieving existing application information+
+[12:53:24 PM] Running dependency analysis...+
+[12:53:24 PM] Deploying 3 profiles...+
+[12:53:28 PM] Wrote MAR file to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL\AutoGeneratedMar+
+[12:53:31 PM] Wrote Web Application Module to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL\NTSL_PortalWebApp.war+
+[12:53:32 PM] Info: Namespace '/oracle/adf/share/prefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/oracle/webcenter/lifecycle/importexport' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/oracle/webcenter/lock' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/oracle/webcenter/rc' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/persdef' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/shared/oracle/wcps' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/xliffBundles' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/oracle/webcenter/search/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/oracle/webcenter/framework/scope/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/oracle/webcenter/page/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/pageDefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/oracle/adf/portlet' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/oracle/adf/portletappscope' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/oracle/webcenter/doclib/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/oracle/webcenter/portalapp' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/oracle/webcenter/security/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/oracle/webcenter/siteresources/shared' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Namespace '/oracle/webcenter/quicklinks/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[12:53:32 PM] Info: Any customizations created while running the application will be written to 'C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.mds.dt\adrs\NTSL_PORTAL\AutoGeneratedMar\mds_adrs_writedir'.+
+[12:53:35 PM] Wrote Enterprise Application Module to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL+
+[12:53:35 PM] Deploying Application...+
+<Jul 25, 2011 12:53:44 PM GMT+05:00> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: oracle.apps.common.resource, referenced from: C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.webcenter.framework\owur7d]. Make sure the referenced optional package has been deployed as a library.>+
+<Jul 25, 2011 12:53:53 PM GMT+05:00> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element web-app in the deployment descriptor in C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\tmp\_WL_user\jaxrs-framework-web-lib\829i9k\WEB-INF\web.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>+
+<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
Caller should ensure that a DefaultContext is proper for this use.
Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
This message may be avoided by performing initADFContext before using getCurrent().
To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
+<EclipseLinkLogger> <basicLog> 2011-07-25 12:54:27.409--ServerSession(28900695)--PersistenceUnitInfo ServiceFrameworkPUnit has transactionType RESOURCE_LOCAL and therefore jtaDataSource will be ignored+
+<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
Caller should ensure that a DefaultContext is proper for this use.
Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
This message may be avoided by performing initADFContext before using getCurrent().
To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
+<LoggerHelper> <log> Cannot map nonserializable type "interface oracle.adf.mbean.share.config.runtime.resourcebundle.BundleListType" to Open MBean Type for mbean interface oracle.adf.mbean.share.config.runtime.resourcebundle.AdfResourceBundleConfigMXBean, attribute BundleList.+
+[12:54:48 PM] Application Deployed Successfully.+
+[12:54:48 PM] Elapsed time for deployment: 1 minute, 24 seconds+
+[12:54:48 PM] ---- Deployment finished. ----+
Run startup time: 84155 ms.
+[Application NTSL_PORTAL deployed to Server Instance IntegratedWebLogicServer]+
Target URL -- http://127.0.0.1:7101/mytutorial/index.html
+<JUApplicationDefImpl> <logDefaultDynamicPageMapPattern> The definition at NTSL.portal.portal.DataBindings.cpx, uses a pagemap pattern match that hides other cpx files.+
+<NavigationCatalogException> <<init>> oracle.adf.rc.exception.DefinitionNotFoundException: cannot find resource catalog using MDS reference /oracle/webcenter/portalapp/navigations/default-navigation-model.xml Root Cause=[MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"] [Root exception is oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"]+
+<SkinFactoryImpl> <getSkin> Cannot find a skin that matches family portal and version v1.1. We will use the skin portal.desktop.+
+<Logger> <error> ServletContainerAdapter manager not initialized correctly.+
+[Application termination requested. Undeploying application NTSL_PORTAL.]+
+[01:04:42 PM] ---- Deployment started. ----+
+[01:04:42 PM] Target platform is (Weblogic 10.3).+
+[01:04:42 PM] Undeploying Application...+
+<Jul 25, 2011 1:04:42 PM GMT+05:00> <Warning> <Deployer> <BEA-149085> <No application version was specified for application 'NTSL_PORTAL'. The undeploy operation will be performed against the currently active version 'V2.0'.>+
INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
+<BPELConnectionUtil> <getWorklistConnections> The Worklist service does not have a ConnectionName configuration entry in adf-config.xml that maps to a BPELConnection in connections.xml, therefore the Worklist service was not configured for this application.+
+<NotificationSenderFactory> <getSender> Notification sender is not configured+
+<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
Caller should ensure that a DefaultContext is proper for this use.
Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
This message may be avoided by performing initADFContext before using getCurrent().
To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
+[01:04:48 PM] Application Undeployed Successfully.+
+[01:04:48 PM] Elapsed time for deployment: 6 seconds+
+[01:04:48 PM] ---- Deployment finished. ----+
+[Application NTSL_PORTAL stopped and undeployed from Server Instance IntegratedWebLogicServer]+
+[Running application NTSL_PORTAL on Server Instance IntegratedWebLogicServer...]+
+[01:05:40 PM] ---- Deployment started. ----+
+[01:05:40 PM] Target platform is (Weblogic 10.3).+
+[01:05:40 PM] Retrieving existing application information+
+[01:05:40 PM] Running dependency analysis...+
+[01:05:41 PM] Deploying 3 profiles...+
+[01:05:42 PM] Wrote MAR file to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL\AutoGeneratedMar+
+[01:05:44 PM] Wrote Web Application Module to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL\NTSL_PortalWebApp.war+
+[01:05:45 PM] Info: Namespace '/oracle/adf/share/prefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/oracle/webcenter/lifecycle/importexport' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/oracle/webcenter/lock' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/oracle/webcenter/rc' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/persdef' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/shared/oracle/wcps' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/xliffBundles' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/oracle/webcenter/search/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/oracle/webcenter/framework/scope/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/oracle/webcenter/page/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/pageDefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/oracle/adf/portlet' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/oracle/adf/portletappscope' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/oracle/webcenter/doclib/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/oracle/webcenter/portalapp' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/oracle/webcenter/security/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/oracle/webcenter/siteresources/shared' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Namespace '/oracle/webcenter/quicklinks/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
+[01:05:45 PM] Info: Any customizations created while running the application will be written to 'C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.mds.dt\adrs\NTSL_PORTAL\AutoGeneratedMar\mds_adrs_writedir'.+
+[01:05:47 PM] Wrote Enterprise Application Module to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL+
+[01:05:47 PM] Deploying Application...+
+<Jul 25, 2011 1:05:52 PM GMT+05:00> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: oracle.apps.common.resource, referenced from: C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.webcenter.framework\owur7d]. Make sure the referenced optional package has been deployed as a library.>+
+<Jul 25, 2011 1:05:54 PM GMT+05:00> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>+
+<Jul 25, 2011 1:05:54 PM GMT+05:00> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00003. Log messages will continue to be logged in C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>+
+<Jul 25, 2011 1:06:01 PM GMT+05:00> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element web-app in the deployment descriptor in C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\tmp\_WL_user\jaxrs-framework-web-lib\829i9k\WEB-INF\web.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>+
+<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
Caller should ensure that a DefaultContext is proper for this use.
Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
This message may be avoided by performing initADFContext before using getCurrent().
To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
+<EclipseLinkLogger> <basicLog> 2011-07-25 13:06:36.117--ServerSession(28713857)--PersistenceUnitInfo ServiceFrameworkPUnit has transactionType RESOURCE_LOCAL and therefore jtaDataSource will be ignored+
+<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
Caller should ensure that a DefaultContext is proper for this use.
Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
This message may be avoided by performing initADFContext before using getCurrent().
To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
+<LoggerHelper> <log> Cannot map nonserializable type "interface oracle.adf.mbean.share.config.runtime.resourcebundle.BundleListType" to Open MBean Type for mbean interface oracle.adf.mbean.share.config.runtime.resourcebundle.AdfResourceBundleConfigMXBean, attribute BundleList.+
+[01:06:54 PM] Application Deployed Successfully.+
+[01:06:54 PM] Elapsed time for deployment: 1 minute, 14 seconds+
+[01:06:54 PM] ---- Deployment finished. ----+
Run startup time: 73985 ms.
+[Application NTSL_PORTAL deployed to Server Instance IntegratedWebLogicServer]+
Target URL -- http://127.0.0.1:7101/mytutorial/index.html
+<JUApplicationDefImpl> <logDefaultDynamicPageMapPattern> The definition at NTSL.portal.portal.DataBindings.cpx, uses a pagemap pattern match that hides other cpx files.+
+<NavigationCatalogException> <<init>> oracle.adf.rc.exception.DefinitionNotFoundException: cannot find resource catalog using MDS reference /oracle/webcenter/portalapp/navigations/default-navigation-model.xml Root Cause=[MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"] [Root exception is oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"]+
+<SkinFactoryImpl> <getSkin> Cannot find a skin that matches family portal and version v1.1. We will use the skin portal.desktop.+
+<Jul 25, 2011 1:11:04 PM GMT+05:00> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=DeploymentTaskSummaryPage&DeploymentTaskSummaryPortlethandle=com.bea.console.handles.JMXHandle%28%22com.bea%3AName%3DADTR-0%2CType%3DDeploymentTaskRuntime%2CDeployerRuntime%3DDeployerRuntime%22%29.>+The below message comes when you don't specify any default file for your webcenter portal application and this should not be any problem.
Target Portal.jpr is not runnable, using default target index.html.
Can you answer to my questions:
1. Did you just created a new wcp application in jdev and ran it with out doing any changes? If you have done what are the changes?
2. How did you ran your application? (right clicking a particular page or right clicking your portal project and selected "run" option?
Maybe you are looking for
-
I have windows 7, I just had to do a factory restore. I have a click free for a backup for my computer so when i went to restore my couputer all my music and movies are there but when my power went out ,I want to watch a movie in the new Itunes non
-
All of a sudden, I can't see the artwork of audio files in Finder any more. I am pretty certain that I was able to see the artwork (cover art) a few days ago. This happens with mp3's, m4b's, and m4a's. All of the files reside on a external USB disk.
-
Which details to use while renewing subscription?
Hi, I have a Subscription that needs to be renewed. Last time I bank deposit ZAR 117.04 in the month of April for 3 months. How should I make the payment now? The instructions clearly says that the payment reference number can only be used once. Curr
-
I have an account balance in the Itunes store. When I try to purchase a book by redeeming part of this balance, the system asks for a Redeem Code. I do not have one, nor do I remember ever establishing such a code. The balance arises from entering
-
Classic Scenario - ECC Partner Functions in Backend PO
H All, I've searched the forums and can't seem to find a definitive answer to my question 1. When I create a PO in ECC for a vvendor with one Ordering Address Partner (OA) or one Invoice Presented By partner (PI) the partners are automatically assign