Exception while connecting to Content server from JDeveloper
I am getting following exception while connecting from jDeveloper
java.lang.NullPointerException
at oracle.stellent.wcm.jdev.shared.connection.ConnectionContext.<init>(ConnectionContext.java:53)
at oracle.stellent.wcm.jdev.features.rescat.IdcConnectionPanel.testAndLogin(IdcConnectionPanel.java:344)
at oracle.stellent.wcm.jdev.features.rescat.IdcConnectionPanel.access$000(IdcConnectionPanel.java:75)
at oracle.stellent.wcm.jdev.features.rescat.IdcConnectionPanel$1.doInBackground(IdcConnectionPanel.java:505)
at javax.swing.SwingWorker$1.call(SwingWorker.java:277)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at javax.swing.SwingWorker.run(SwingWorker.java:316)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
please Help
~Hari
Ok. I found out why it is happening.
If I follow the section 3.1.2 and setup the site studio connection then everything is fine
3.1.2 Creating a Content Server Connection
http://download.oracle.com/docs/cd/E17904_01/doc.1111/e13650/ssxa_creatingsites.htm#CIHJGHFC
If I try to create a content server connection from file->new->content server connection then I get a null pointer exception.
I am sure someone from Oracle will fix it soon. For now all is well with Site Studio.
Similar Messages
-
Error while connecting to SQL SERVER from OWB
HI All,
I got the following error while connecting to SQL SERVER from OWB(10gR2).
1). Created DSN with (GMSCADA)
2). tnsnames file is updated with the following information
GMSCADA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.60.29)(PORT = 1433))
(CONNECT_DATA =
(SERVICE_NAME = SA)
3). Tried to connect to SQL SERVER frm OWB
Username: sa
password: sa
host: 172.16.60.29
port: 1433
service name: GMSCADA
schema: sa
I got the following error, when I click Test Connection:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from OWB_3095
Regards,
Kumar.Hi David,
What is Gateway, How I have to setup, Please let me know.
I tried according to the Demo, But still I am facing the same problem. Which system IP I have to put in the host details.
Can u please let me know.
Regards,
Kumar. -
An error occurred while accessing the content repository from JDeveloper
Hello,
I'm using Jdeveloper Studio Edition Version 11.1.1.5.0
I created Content Repository conection, following:
RIDC Socket Type: socket
Server hostname: localhost
Content Server Listener Port: 4444
Executing "Teste Connection" result "Success!"
But, trying connect, I receive:
oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic listFolder
An error occurred while accessing the content repository.
and when I login to my portal and go to administration page, then I am getting this error
"Messages for this page are listed below.
Could not retrieve members from policy store.
and when I go to services tab then i am getting this error "The Documents service is unavailable.
Error contacting the content repository."
Please help me to resolve this problem.
Thank You,
Muhammad Nasircan anybody help me to resolve this issue please.
-
Error while connecting to MDM server from Webdynpro
Hi ,
I am trying to connect to MDM server (5.5 SP04 no patches) through a webdynpro application . The following is the piece of code that I am using as a test .
CatalogData CatalogData = new CatalogData();
int resultLogin = 0;
try {
resultLogin = CatalogData.Login("USNOC01AQ05",2005,"Admin","Erico1234","English [US]");
}catch(Exception e){
wdContext.currentContextElement().setValueattr("Not Connected");
//System.out.println("Error while establishing connection");
if (resultLogin != RC.RC_OK){
wdContext.currentContextElement().setValueattr("Not Connected");
//System.out.println("Error logging to the SDM server");
//System.exit(-1);
wdContext.currentContextElement().setValueattr("Connected");
//System.out.println("MDM server connected");
The import statements are as follows
import a2i.common.CatalogData;
import a2i.generated.RC;
I have put the following jar files in the java build path
MDM4J
mdm-admin
mdm-common
mdm-core
mdm-data
mdm-protocol
When I deploy my application I get the following error
java.lang.NoClassDefFoundError: a2i/common/CatalogData
It can't be determined from the exception chain, which class loader failed to load the above class. But at least the class loader of the current application does not contain a resource with name 'a2i/common/CatalogData'.
What do you guys think is the problem ?
Regards
DeepaK SinghHi ,
I found a document which says that MDM4J is the legacy API and is considered deprecated .The MDM Java API is the new one .I have both of them in the java build path . I am not sure if this is that cause of the problem .
Now I had a look at the javadoc for the new API but I am not able to locate the class to obtain a connection to the MDM server from a custom application being built in Netweaver Developer Studio . Can someone help me out with the same ?What would be the code to obtain the connection to the MDM server with the new JAVA API ?
Regards
DeepaK Singh -
Problem connecting to SQL Server from JDeveloper 10g using jdbc third party
I am using Oracle 10g Jdeveloper and I tried to setup a database
connection to SQL Server using various Drivers for JDBC as Merlin, jtds, inet.tds, etc.
(I had no problem to set up a connection to an Oracle Database using the
Oracle JDBC driver).
When I am testing the connection throughout the wizard, I do receive
this error message: "Unable to find driver:
com.microsoft.jdbc.sqlserver.SQLServerDriver".
I m not understanding from last 3 days where to place the corresponding JAR files so thaI may not get the Error.
When I hit n trialed at various directories of the JDeveloper as </rootDir/jdbc/lib>
</rootDir/lib>
</root/jdev/my Work/Application1/Project1/public_html>
</root/jdev/my Work/Application1/Project1/public_html/web-inf/>
when I tested the connection I do received:
"Unable to find driver:
xxx.xxx.xxx.xxxxxxx Unable to find driver:
Obviously it can't locate the Micrososft JDBC driver but I can't
figure out why.
I tried all kind of things without any success. Is somebody can help
me and took me beyond this.
I m trying to build DataSource connection from JavaBeans.
Please make me out of this cave. I m not finding any of the way to do this.
The last code I tried is
try {
Class.forName("com.inet.pool.PoolDriver");
com.inet.tds.TdsDataSource tds = new com.inet.tds.TdsDataSource();
tds.setServerName( "local" );
tds.setDatabaseName( "bluff" );
tds.setUser( dbUserName );
tds.setPassword( dbPassword );
DataSource ds = tds;
Connection con = ds.getConnection(dbUserName,dbPassword);
Statement stmt;
ResultSet rs = null;
Thanks,you are confusing me at least as your error is discussing the microsoft driver yet you are configuring the inet datasource.
I do not use JDeveloper, but you need to make sure that whatever is servicing your web app/JavaBean has access to the driver. Not sure why you are not doing a JNDI look up of the resoure, but because you are not you can stick the driver jar in the lib directory within the WAR bundle. I would suggest that you add the driver to the lib/ext or the lib directory which is loaded at boot time for your web container and then use JNDI to look up your DataSource to reduce your coding maintenance headaches. -
Impossible to connect to BPEL server from Jdeveloper
We have installed the soa suite in the following way
- oracle home 1 on server 1: http server
- oracle home 2 on server 1: apps server with two oc4j, one for the jsso and em and another one for bpel.
I want to deploy the bpel process from jdeveloper.
I first do a server connection to the server 1. When I try to test the connection I get an error
Error getting OC4J Process for: opmn-home+oc4j-oraclesoa.smartwavesa.com-6004-default:
Error connecting to OPMN (is it running?): Connection refused: connect
So I tried to modify the opmn.xml of oracle home 2 by adding the following line
<ipaddr remote=”0.0.0.0” request=”0.0.0.0”/>
After this modification I am able to connect to oracle home 2 from jdeveloper BUT the http URL of enterprise manager and bpel console are no more available.
So my question is how can I enable the deployment of bpel process from Jdeveloper to the server 1?
Thanks for your helpYes admin instance is running on home 2 and more precisely on oc4j_home.
BPEL and ESB is also running on home 2 but on another oc4j oc4j_soa
If I use the standard configuration (the one that has been created during the installation) I am able to reach all the consoles BPEL, ESB or Enterprise Manager.
Here the output of opmnctl status of http server oracle home
ias-component | process-type | pid | status | uid | memused | uptime | ports
HTTP_Server HTTP_Server | 6434 | Alive | 974986920 | 146956| 0:52:13 | https1:4443,http2:7200,http1:7777
Here the output of opmnctl status of soa server oracle home
ias-component | process-type | pid | status | uid | memused | uptime | ports
ASG | ASG | N/A | Down | N/A | N/A | N/A | N/A
OC4JGroup:default_group | OC4J:oc4j_soa | 6524 | Alive | 1632905918 | 304852 | 0:54:15 | jms:12602,ajp:12502,rmis:12702,rmi:12402
OC4JGroup:default_group | OC4J:home | 6525 | Alive | 1632905917 | 179788 | 0:54:15 | jms:12601,ajp:12501,rmis:12701,rmi:12401
Thanks for your help -
Error while connecting to SAP Server from Windows XP Client.
Hi,
I am facing the problem while i am trying to connect my Windows XP Clients( With Service Pack 3, DI-API Installed and Microsoft SQL Server Native Client Installed) to SAP server i got follwoing Error.
Connection Failed :
SQL State : '08001'
SQL Server Error : 233
[Microsoft][SQL Native Client]Named Pipe Provider Could not open the connection SQL Server [233].
Connection Failed :
SQL State : "HYT00"
SQL Server Error : 0
[Microsoft][SQL Native Client]Login Timeout Expired
Connection Failed:
SQL State :'08001'
SQL Server Error : 233
[Microsoft][SQL Native Client]An Error has occured while establishing new connection to the server.
When connecting SQL Server 2005, this failure may caused by the fact that under the default setting SQL Server does not allow remote connection.
Regards,
Arpit ShahHi Arpit,
Solution of Error in starting B1 after installation should help here too.
Kind regards
Mario
SAP Business One Forums team -
SQL Exception while connecting MS SQL DB from Weblogic - URGENT
We are getting lot of errors like this in our server logs.
Let us know how to resolve these errors.
<Dec 11, 2013 3:05:01 AM EST> <Error> <Lease> <BEA-403302> <An unexpected SQL exception occured java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Violation of PRIMARY KEY constraint 'PK_LEASE'. Cannot insert duplicate key in object 'dbo.P13N_LEASE'. The duplicate key value is (JobManagerImpl)..
java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Violation of PRIMARY KEY constraint 'PK_LEASE'. Cannot insert duplicate key in object 'dbo.P13N_LEASE'. The duplicate key value is (JobManagerImpl).Hello,
WLP Version ?
Emmanuel -
Getting error in JDeveloper 11.1.1.6 after Connecting to Content server
Hi,
We are getting below error in JDeveloper 11.1.1.6 after getting "success" to connect content server. We are able to connect to content server but repository is not being loaded into JDeveloper and it gives below error.
Please guide.
Performing action Properties...[ from oracle.jdeveloper.appresources.ApplicationResourcesWindow ]
oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic:May 10, 2012 6:57:31 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic getItem
WARNING: An error occurred while accessing the content repository.
javax.naming.NamingException: May 10, 2012 6:57:31 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic throwGeneric
ALL: An error occurred while accessing the content repository.
[Root exception is javax.jcr.RepositoryException: Error communicating with Content Server.]
at oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic.throwGeneric(AbstractRepositoryLogic.java:35)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:145)
at oracle.webcenter.content.internal.model.rc.ContentResource.init(ContentResource.java:219)
at oracle.webcenter.content.internal.model.rc.ContentResource.getContentID(ContentResource.java:327)
at oracle.webcenter.content.internal.model.rc.ContentResource.getResourceId(ContentResource.java:313)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.jcr.RepositoryException: Error communicating with Content Server.
at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:122)
at oracle.stellent.jcr.IdcPersistenceManager.getRootNode(IdcPersistenceManager.java:971)
at oracle.stellent.jcr.IdcPersistenceManager.getResourceByAbsolutePath(IdcPersistenceManager.java:529)
at oracle.jcr.impl.TransientLayer.getResourceByRelativePath(TransientLayer.java:455)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:1108)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:302)
at oracle.webcenter.doclib.internal.model.JCRUtils.getNode(JCRUtils.java:55)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:125)
... 9 more
oracle.webcenter.content.internal.model.rc.ContentResource:May 10, 2012 6:57:32 PM oracle.webcenter.content.internal.model.rc.ContentResource getContentID
WARNING: An error occurred while accessing the content repository.
javax.naming.NamingException: May 10, 2012 6:57:31 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic throwGeneric
ALL: An error occurred while accessing the content repository.
[Root exception is javax.jcr.RepositoryException: Error communicating with Content Server.]
at oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic.throwGeneric(AbstractRepositoryLogic.java:35)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:145)
at oracle.webcenter.content.internal.model.rc.ContentResource.init(ContentResource.java:219)
at oracle.webcenter.content.internal.model.rc.ContentResource.getContentID(ContentResource.java:327)
at oracle.webcenter.content.internal.model.rc.ContentResource.getResourceId(ContentResource.java:313)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.jcr.RepositoryException: Error communicating with Content Server.
at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:122)
at oracle.stellent.jcr.IdcPersistenceManager.getRootNode(IdcPersistenceManager.java:971)
at oracle.stellent.jcr.IdcPersistenceManager.getResourceByAbsolutePath(IdcPersistenceManager.java:529)
at oracle.jcr.impl.TransientLayer.getResourceByRelativePath(TransientLayer.java:455)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:1108)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:302)
at oracle.webcenter.doclib.internal.model.JCRUtils.getNode(JCRUtils.java:55)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:125)
... 9 more
oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic:May 10, 2012 6:57:32 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic listFolder
WARNING: An error occurred while accessing the content repository.
javax.naming.NamingException: May 10, 2012 6:57:32 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic throwGeneric
ALL: An error occurred while accessing the content repository.
[Root exception is javax.jcr.RepositoryException: Error communicating with Content Server.]
at oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic.throwGeneric(AbstractRepositoryLogic.java:35)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:249)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.jcr.RepositoryException: Error communicating with Content Server.
at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:122)
at oracle.stellent.jcr.IdcPersistenceManager.getRootNode(IdcPersistenceManager.java:971)
at oracle.stellent.jcr.IdcPersistenceManager.getResourceByAbsolutePath(IdcPersistenceManager.java:529)
at oracle.jcr.impl.TransientLayer.getResourceByRelativePath(TransientLayer.java:455)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:1108)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:302)
at oracle.webcenter.doclib.internal.model.JCRUtils.getNode(JCRUtils.java:55)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:227)
... 6 more
Performing action Refresh[ from oracle.jdeveloper.appresources.ApplicationResourcesWindow ]
May 10, 2012 7:12:30 PM oracle.stellent.jcr.IdcPersistenceManager listFolder
SEVERE: Could not list contents of folder with ID = dCollectionID:-1
oracle.stellent.ridc.protocol.ServiceException: No service defined for COLLECTION_DISPLAY.
at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)
at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
at oracle.stellent.jcr.IdcPersistenceManager.listFolder(IdcPersistenceManager.java:690)
at oracle.stellent.jcr.IdcPersistenceManager.getChildResources(IdcPersistenceManager.java:648)
at oracle.jcr.impl.TransientLayer.getChildResources(TransientLayer.java:534)
at oracle.jcr.impl.FolderNode.getNodes(FolderNode.java:116)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:233)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
at java.lang.Thread.run(Thread.java:662)
oracle.stellent.ridc.protocol.ServiceException: No service defined for COLLECTION_DISPLAY.
o.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)
o.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
o.stellent.jcr.IdcPersistenceManager.listFolder(IdcPersistenceManager.java:690)
o.stellent.jcr.IdcPersistenceManager.getChildResources(IdcPersistenceManager.java:648)
o.jcr.impl.TransientLayer.getChildResources(TransientLayer.java:534)
o.jcr.impl.FolderNode.getNodes(FolderNode.java:116)
o.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:233)
o.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
o.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
o.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
o.j.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
o.j.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
j.lang.Thread.run(Thread.java:662)
Regards,
BhaveshThanks Srinath.
We have resolved the issue but we had to follow below steps as we were not able to see Folder_g in componet list.
1. After login to content server, navigated to Admin Server.
2. In Advanced component manager, we have updated component configuration with selecting Folder_g and press Update
3. After that we followed the steps 2 and 3 as you mentioned.
Regards,
Bhavesh -
Error while creating connection for Application server in Jdeveloper
Hi,
I am trying to create a new connection for my weblogic server from JDeveloper
I am using weblogic 6.1
The error is :javax.naming.AuthenticationException [Root exception is java.lang.SecurityException : attemting to add an object which is not an instance 0f java.security.Principal to a subject's Principal set
I am currectly passing my userID and password. but still it is giving the above exception.
Please advise me.
With thanks
Murthy
HI
In JDeveloper 10.1.3.1.0,
1. Click on the tab for the Connections navigator.
2. Right click on Application Server and select New Application Server Connection.
3. Enter a descriptive name for the new connection, and select the appropriate connection type from the drop down list. Click Next.
4. Specify oc4jadmin for User Name, then enter the oc4jadmin password. Click Next.
5. Select Single Instance for Connect To, then provide the host name where BPEL is installed, the OPMN port number, and the OC4J instance name (the default for 10.1.3.1 is oc4j_soa). Click Next.
6. Click Test Connection. If you have been successful, you should see "Success!"
7. Now, right click on Integration Server and select New Integration Server Connection.
8. Specify a connection name and click Next.
9. In the drop down list by Application Server, select the Application Server Connection you just created. Again, specify the host name where BPEL is installed and the port number. This port number will be the same that you specified for the Integration Server Connection to the home OC4J container. Click Next.
10. Test the connection. You should see something like:
Application Server: OK
BPEL Process Manager Server: OK
ESB Server: OK
11. Now, return to the Applications navigator, and try to redeploy your process using the Integration Server Connection just created. (It is possible that you will have to close JDeveloper and then reopen it for this to work.)
Cheers
Anirudh Pucha -
"untrusted server cert chain" exception while connecting LDAP server
While connecting to LDAP server using JNDI over JSSE ..This is happening when trying to get the initial context
using
InitialDirContext initContext = new InitialDirContext(env);
where env is a hash table set with the default parametes.The certificate used for is a Novell CA certificate converted to X509 format and the key store is initialized with thisThis got resolved when in the code the following
System.setProperty("javax.net.ssl.tmrustStore", CertFileName);
where cert file name is the filename with complete path.the file is a CA certificate of the LDAP server
in X509 format -
Howto make connection to Oracle UCM from JDeveloper IDE?
I am trying to make a connection to Oracle Content Server from my JDeveloper IDE. I found while searching that this can be done by the following steps:
1)Click on Application Resources on the left hand side widget.
2)On Right clicking on Connections , a New Connection menu opens up.
3)Select Content Repository from this menu.
But in my case i am not getting the Content Repository option in the New Connection menu. Many other options are also missing. Is there some issue with my JDeveloper installation. How can i get this option in the New Connections menu? Can anyone help with this?
Thanks in advanceYou can create a connection to UCM for Site Studio for External Applications (SSXA) - see chapter 3 of this manual: http://download.oracle.com/docs/cd/E17904_01/doc.1111/e13650/toc.htm
The question is, however, if it is what you are looking for. If you want to integrate a Java application with UCM (e.g. check-in a document from Java), then you don't need a connection created in the way above - you will create it ad hoc in your Java program - take a look at RIDC (or CIS or WebServices) here: http://download.oracle.com/docs/cd/E17904_01/doc.1111/e10807/toc.htm -
Runtime error while connecting to Coherence server
Hi,
I am facing runtime exception while connection from java client to coherence server. I am trying to get named cache object, please find below cliend and server logs, any
help would be helpful :
Client logs :
2012-07-25 11:25:49.735/19.240 Oracle Coherence GE 3.7.1.0 <D5> (thread=Invocation:Management, member=4): Service Management joined the cluster with senior service member 1
2012-07-25 11:25:51.033/20.538 Oracle Coherence GE 3.7.1.0 <D5> (thread=DistributedCache, member=4): Service DistributedCache joined the cluster with senior service member 1
2012-07-25 11:25:51.033/20.538 Oracle Coherence GE 3.7.1.0 <Error> (thread=DistributedCache, member=4): An exception (java.lang.RuntimeException) occurred reading Message MemberWelcome Type=-2 for Service=PartitionedCache{Name=DistributedCache, State=(SERVICE_STARTED), Not initialized}
2012-07-25 11:25:51.033/20.538 Oracle Coherence GE 3.7.1.0 <Error> (thread=DistributedCache, member=4): Terminating PartitionedCache due to unhandled exception: java.lang.RuntimeException
2012-07-25 11:25:51.033/20.538 Oracle Coherence GE 3.7.1.0 <Error> (thread=DistributedCache, member=4):
java.lang.RuntimeException: Service DistributedCache was unable to instantiate MessageType=1882023278
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.instantiateMessage(Grid.CDB:14)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$MemberWelcome.read(PartitionedCache.CDB:20)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.deserializeMessage(Grid.CDB:19)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:31)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:662)
2012-07-25 11:25:51.050/20.555 Oracle Coherence GE 3.7.1.0 <D5> (thread=DistributedCache, member=4): Service DistributedCache left the cluster
2012-07-25 11:25:51.066/20.571 Oracle Coherence GE 3.7.1.0 <Error> (thread=main, member=4): Error while starting service "DistributedCache": (Wrapped: Failed to start Service "DistributedCache" (ServiceState=SERVICE_STOPPED)) java.lang.RuntimeException: Service DistributedCache was unable to instantiate MessageType=1882023278
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:38)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:6)
at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:39)
at com.tangosol.coherence.component.util.safeService.SafeCacheService.startService(SafeCacheService.CDB:5)
at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:27)
at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.java:1105)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:937)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:919)
at com.tangosol.net.DefaultConfigurableCacheFactory.configureCache(DefaultConfigurableCacheFactory.java:1296)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:297)
at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:204)
at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:181)
at com.limited.esb.test.LoadStore.main(LoadStore.java:10)
Caused by: java.lang.RuntimeException: Service DistributedCache was unable to instantiate MessageType=1882023278
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.instantiateMessage(Grid.CDB:14)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$MemberWelcome.read(PartitionedCache.CDB:20)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.deserializeMessage(Grid.CDB:19)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:31)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:662)
Server logs :
2012-07-25 11:25:49.345/8475.657 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluste
r, member=1): Member(Id=4, Timestamp=2012-07-25 11:25:49.173, Address=10.136.33.
168:8090, MachineId=52816, Location=site:,machine:KETTIBCOD04,process:3876, Role
=LimitedEsbTestLoadStore) joined Cluster with senior member 1
2012-07-25 11:25:49.751/8476.063 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluste
r, member=1): Member 4 joined Service Management with senior member 1
2012-07-25 11:25:51.050/8477.362 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluste
r, member=1): Member 4 left service DistributedCache with senior member 1
Thanks..Can you paste your clients cache configs and override xml
-
Unable to connect to administration server from essbase console,
Hi All..
After successfully completely installation and configuration of essbase 11.1.2.3 iam unable to connect to administration server from essbase console,
and also while connecting to oracle database it says "oracle not found".
essbase 11.1.2.3 is installed in windows 2008 server R1.
kindly help us.Hi John
and thanks again for the reply
These log files has following information
and rest of files are empty in the specified path.
HyS9RaFrameworkAgentOut :
Java App Loader V1.3 (C)2006 by Hyperion Inc.
$> java -cp . -Dloader.application=xxx.app com.brio.one.common.utils.Loader [arguments]
> Reading application file 'C:\Oracle\Middleware\EPMSystem11R1\common\raframeworkrt\11.1.2.0\bin\agent.app'...
> Loading classes...
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/wksagent.jar ...OK
file:C:/Oracle/Middleware/modules/javax.activation_1.1.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/foundation.jar ..........OK
file:C:/Oracle/Middleware/oracle_common/lib/java/shared/jsch/0.1.37/jsch-0.1.37.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/iona63.jar ..................OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/comutil1_01.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/eiengine.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/misc/11.1.2.0/servlet-api.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/JakartaCommons/jakarta-commons.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/logJavaUtil.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/javax.zip ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/bqservice.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/bcel-5.1.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/scorecard-search-api.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/waservices.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/jlib/11.1.2.0/epm_j2se.jar ...OK
file:C:/Oracle/Middleware/modules/com.bea.core.apache.velocity.dep_1.4.jar ...OK
file:C:/Oracle/Middleware/modules/com.bea.core.apache.velocity_1.4.jar ...OK
file:C:/Oracle/Middleware/modules/javax.mail_1.4.jar ...OK
> Creating URLClassLoader...
> Setting New Context ClassLoader...
> Loading Main class 'com.oracle.cmc.Agent'...
> Getting 'main' method...
> Starting application...
HyS9EssbaseStudio_epmsystem1-syserr:
INFO Server configuration file: C:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseStudio\Server\server.properties.
06:38:01 07/05/13 INFO Logger configuration file: C:\Oracle\Middleware\user_projects\epmsystem1\BPMS\bin\logging.xml.
06:38:01 07/05/13 INFO Starting up.
06:38:01 07/05/13 INFO Oracle Essbase Studio Server. Version 11.1.2.3.000, Build 4386, March 26 2013. Copyright © 2008 - 2013, Oracle. All rights reserved
06:38:14 07/05/13 (system) INFO Root folder for flat datasource files has been created: `C:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseStudio\Server\.\datafiles`.
06:38:14 07/05/13 (system) WARNING Failed to load driver for sap.
06:38:14 07/05/13 (system) WARNING Failed to load driver for teradata.
06:38:14 07/05/13 (system) WARNING Failed to load driver for netezza.
06:38:17 07/05/13 (system) SEVERE Unable to establish connection to MySQL server: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server..
06:38:19 07/05/13 (system) SEVERE Unable to establish connection to MySQL server: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server..
06:38:19 07/05/13 (system) SEVERE Catalog.CannotInitializeStorage=Cannot initialize catalog storage. Make sure the server.properties file contains the correct information.
-------------- Exception --------------
com.hyperion.cp.catalog.exceptions.CatalogInitializationException: Cannot initialize data storage engine.
at com.hyperion.cp.catalog.storage.StorageFactory.initialize(StorageFactory.java:91)
at com.hyperion.cp.catalog.Catalog.initialize(Catalog.java:104)
at com.hyperion.cp.catalog.Catalog.initialize(Catalog.java:198)
at com.hyperion.cp.catalog.Catalog.<clinit>(Catalog.java:81)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.hyperion.cp.catalog.CatalogInitializer.run(CatalogInitializer.java:71)
at com.hyperion.cp.server.RequestListener$SystemTask.run(RequestListener.java:1507)
at com.hyperion.cp.server.RequestListener.runSystemTask(RequestListener.java:233)
at com.hyperion.cp.server.RequestListener.init(RequestListener.java:174)
at com.hyperion.cp.server.ServerMain.initServer(ServerMain.java:214)
at com.hyperion.cp.server.ServerMain.main(ServerMain.java:296)
Caused by: com.hyperion.cp.driver.util.DriverConnectionException: Cannot establish connection to MySQL server.
at com.hyperion.cp.driver.adapters.sql.mysql.MySQLConnection.createSQLConnection(MySQLConnection.java:130)
at com.hyperion.cp.driver.adapters.sql.SQLConnection$ConnectionPool.<init>(SQLConnection.java:1229)
at com.hyperion.cp.driver.adapters.sql.SQLConnection.construct(SQLConnection.java:450)
at com.hyperion.cp.driver.ConnectionManager.getConnection(ConnectionManager.java:113)
at com.hyperion.cp.driver.DriverEngine.getConnection(DriverEngine.java:60)
at com.hyperion.cp.server.QueueableTask.setMetadataConnection(QueueableTask.java:53)
at com.hyperion.cp.catalog.storage.StorageFactory.initialize(StorageFactory.java:73)
... 11 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
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 com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:344)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2333)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2370)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2154)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
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 com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:207)
at com.hyperion.cp.driver.adapters.sql.mysql.MySQLConnection.createSQLConnection(MySQLConnection.java:123)
... 17 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:218)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:257)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:294)
... 32 more -
Unable to connect to Admin Server from second machine using WLST
Hello,
PROBLEM
Can't get WLST to connect to admin server from 2nd host to register the domain.
SETUP
I have 2 Centos VMs running on Oracle Virtual box in a single laptop. Both the VMs use "Bridged Networking".
VM-1 CONFIG
cat /etc/hosts
192.168.1.17
dom1 dom1.my mac1
192.168.1.51
centos2 mac2
VM-1 hosts admin server & one managed server
VM-2 CONFIG
192.168.1.51
mac2
192.168.1.17
centos1 mac1
VM-2 hosts just one managed server
I can start up admin on VM-1 fine. The node manager is reachable too. Both the VMs are can be pinged from each other. I can also telnet to the admin server's port ( telnet 192.168.1.17 7001) from the second server.
My HOST OS is Windows 7. I can ping from windows to both the VM IPs too. The reverse is working fine as well.
I've tried both mechanisms of copying the whole domain from machine 1 over to machine2 & also using the pack.sh/unpack.sh combinations to transfer the domains.
When I invoke WLST, this is what happens
./wlst.sh
CLASSPATH=/apps/prod/appservers/weblogic/wls_10_3_6/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/apps/prod/appservers/weblogic/wls_10_3_6/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/lib/tools.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/server/lib/weblogic_sp.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/server/lib/weblogic.jar:/apps/prod/appservers/weblogic/wls_10_3_6/modules/features/weblogic.server.modules_10.3.6.0.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/server/lib/webservices.jar:/apps/prod/appservers/weblogic/wls_10_3_6/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/apps/prod/appservers/weblogic/wls_10_3_6/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/apps/prod/appservers/weblogic/wls_10_3_6/utils/config/10.3/config-launch.jar::/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/common/derby/lib/derbynet.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/common/derby/lib/derbyclient.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/common/derby/lib/derbytools.jar::
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> connect('weblogic','weblogic123','t3://192.168.1.17:7001')
Connecting to t3://192.168.1.17:7001 with userid weblogic ...
Traceback (innermost last):
File "<console>", line 1, in ?
File "<iostream>", line 22, in connect
File "<iostream>", line 648, in raiseWLSTException
WLSTException: Error occured while performing connect : Error connecting to the server : Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
Use dumpStack() to view the full stacktrace
wls:/offline> dumpStack()
This Exception occurred at Fri Oct 11 17:11:07 NZDT 2013.
java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
wls:/offline>
Also, I can't invoke weblogic.Admin from the second VM despite setting the environment using "setWLSEnv.sh". i get the error "Error: Could not find or load main class weblogic.Admin".
Please could you help me fix this? I've spent 3 days now trying numerous things without much luck :-(
Kind RegardsHi Raj,
Issue is with NM registry with domain home. Please follow the below steps and let us know the status.
1 . Check whether the node manager port ( default 5556 ) is opened for communication on both Admin and Managed server.
2 . After opening the port - We would need to enroll the node manager home with domain home to establish the communication between Admin and Managed server.
a . Start the Administration Server.
b . Using the Administration Console update the Node Manager credentials from the Advanced options under domain_nameArrow symbolSecurityArrow symbolGeneral.
c . Invoke WLST and connect to an Administration Server using the connect command. See Using the WebLogic Scripting Tool in WebLogic Scripting Tool.
d . Run nmEnroll using the following syntax:
nmEnroll([domainDir], [nmHome])
Running nmEnroll() ensures that the correct Node Manager user and password token are supplied to each Managed Server. Once these are available for each Managed Server, you can use nmConnect() in a production environment.
Note: You must run nmEnroll() on each machine that is running a Managed Server. Additionally, you should run nmEnroll() for each domain directory on each machine.
For more info : General Node Manager Configuration
Thanks
Lakshman
Maybe you are looking for
-
Cubes - how to extract a single dimension and save it in a table
Hi, I am new to the cubes concept, although I've used it several times in the past to analyse the data but never explored options beyond that. using excel, I can get different dimentions from the cube such as customer information, location, etc. is t
-
How to export keynote to power point when sharing with other people
I had to manipulate a master's of someone else on keynote, record my slides and then post it to a discussion board, it kept removing my recording when I exported it to power point for presentation. I could not do it and I tried everything renaming i
-
Drivers compatible with OS X Yosemite?
I can´t use the scanfunction from my new MAC, but the printer is working. Does HP not provide functioning drivers for OS X Yosemite? I use HP Laserjet M1120 MFP and have a urgent need for my scan.
-
Upgraded to Exchange 2007 - Problems with opening attachments in e-mail Treo700wx
We upgraded our server at work to Exchange 2007. Ever since then, there have been multiple problems, on of which I am not able to open pdf files, excel or word files on my handheld 700wx. Anyone else have this problem. Talked with Verizon, they su
-
Nokia Music Manager shuts down immediately after o...
Hi again, the music manager still shuts down straight away even after i've uninstalled and reinstalled the latest version. I have no idea why! pc suite version: version 6.83.14.1 connectivity cable drivers: 6.83.9.0 solution : 7.7.10.0 Right now I'm