Error Java System: unknow error of portal comunication
Hi All!
I get the following error when opening a WAD Template in the WAD Application.
<b>"Error Java System: An unknow portal comunication error has ocurred"</b>
After accept this error, it opens the template and I can work with it, but when I make changes, these are not reflected when executing the template, until I open this template in other machine.
I have reviewed the test integration (between BW and Portal) according with the steps in the spro "Integration into Portal" and the test is successful in all the steps.
So, I dont know what can be wrong.
Thnks a lot for your help!
Yolanda.
Hi,
try this
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler
If it does not open
Check for OSS Note 989525
Hope this helps you
Regards
Karthik
Similar Messages
-
Hi Planning installation Gurus,
Did u get any luck to resolve this problem as i am also facing same problem "Error creating instance" during install of Planning 9.3.1. i tried 30-50 times reconfiguration every time same problem..
OS: Vista Premium
SQL Server 2005
Essbase:9.3.1
Error Message: "System Failure: Error while retrieving xml file from database"
Details of error:::::::::::::::::::::::::
at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
Can not get JDBC connection for SYS external changed actions.
Can not get JDBC connection.
java.lang.NullPointerException
at com.hyperion.planning.sql.HspSQLImpl.getConnection(Unknown Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
wn Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
Can not get JDBC connection for SYS external changed actions.
Can not get JDBC connection.
java.lang.NullPointerException
at com.hyperion.planning.sql.HspSQLImpl.getConnection(Unknown Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
wn Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
Can not get JDBC connection for SYS external changed actions.
Can not get JDBC connection.
Pls provide SolutionHi John,
though i am trying with SQl server authentication with different user but still status is same of planningSystemDB.properties
SYSTEM_DB_DRIVER=hyperion.jdbc.sqlserver.SQLServerDriver
SYSTEM_DB_URL=jdbc:hyperion:sqlserver://neeraj-PC:1433
SYSTEM_DB_USER=windowsAuthentication
SYSTEM_DB_PASSWORD=CAFBAEFNBGEAABHEDOADFKADACBGBIFHBLCDFBAFFH
SYSTEM_DB_CATALOG=plandb
SYSTEM_DB_TYPE=SQL
INSTANCE=
my steps:
Using SQL Server Management Studio
Changed Widows authentication to SQL server authentication mode
In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.
On the Security page, under Server authentication, select the new server authentication mode, and then click OK.
In the SQL Server Management Studio dialog box, click OK to acknowledge the requirement to restart SQL Server.
In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.
On the Security page, under Server authentication, select the new server authentication mode, and then click OK.
In the SQL Server Management Studio dialog box, click OK to acknowledge the requirement to restart SQL Server.
To restart SQL Server from SQL Server Management Studio
To enable the sa login by using Management Studio
In Object Explorer, expand Security, expand Logins, right-click sa, and then click Properties.
On the General page, you might have to create and confirm a password for the sa login.
On the Status page, in the Login section, click Enabled, and then click OK.
In Object Explorer, expand Security, expand Logins, right-click sa, and then click Properties.
On the General page, you might have to create and confirm a password for the sa login.
On the Status page, in the Login section, click Enabled, and then click OK.}}}
anything else should i change................. -
Hi all. I am trying System Copy.
During the Database Load I became the following Error
"An error occurred while processing service SAP NetWeaver'04 Support Release1> Java System> MS SQL Server> Migration - Target System Installation."
jload.log is:
info: trying to create table IMS_SYNCINXVIEW
com.sap.inst.jload.Jload dbImport
info: table IMS_SYNCINXVIEW created
com.sap.inst.jload.Jload dbImport
warning: DB Error during import of IMS_SYNCINXVIEW
com.sap.inst.jload.Jload printSQLException
warning: Message: The SQL statement "INSERT INTO "IMS_SYNCINXVIEW" ("ACTIVITYID","RESOURCEID","DOCUMENTTYPE","FORMATVERSION") VALUES (?,?,?,?)" contains the semantics error[s]: table "IMS_SYNCINXVIEW" unknown
com.sap.inst.jload.Jload printSQLException
warning: SQLState: SAP06
com.sap.inst.jload.Jload printSQLException
warning: ErrorCode: 1001123
com.sap.inst.jload.Jload dbImport
info: trying to create table J2EE_CONFIG
com.sap.inst.jload.Jload logStackTrace
warning: java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Buffer.java:404)
at java.nio.HeapByteBuffer.getChar(HeapByteBuffer.java:234)
at com.sap.inst.jload.io.DataFileEntry.<init>(DataFileEntry.java:52)
at com.sap.inst.jload.io.DataFile.getNextEntry(DataFile.java:354)
at com.sap.inst.jload.io.DataFile.findDataEntry(DataFile.java:397)
at com.sap.inst.jload.db.DBTable.create(DBTable.java:77)
at com.sap.inst.jload.Jload.dbImport(Jload.java:278)
at com.sap.inst.jload.Jload.executeJob(Jload.java:397)
at com.sap.inst.jload.Jload.main(Jload.java:621)
com.sap.inst.jload.db.DBConnection disconnect
info: disconnectedHi,
I have also faced the same error during system copy, the tables IMS_SYNCINXVIEW, PVC_ACTVERSVIEW, PVC_OBJVERSVIEW which are related to Development Infrastructure. These are bad tables and hence it has to be removed.
I found a file called negativTableListForJload.xml in C:\Program File
sapinst_instdir\NW04S\LM\COPY\MSS\SYSTEM\CENTRAL\AS-JAVA\install\sltools\
The import could be continued after removing the line
<object name="IMS_SYNCINXVIEW" action="insert"/>
(and of course the corresponding entries for all the other views) from
the file IMPORT.XML
So the steps u have to perform are
Please cancel the Installation by pressing the cancel button and then stop the sapinst and edit these files and again continue the old installation.
1) go to C:\Program File
sapinst_instdir\NW04S\LM\COPY\MSS\SYSTEM\CENTRAL\AS-JAVA
EDIT the IMPORT.XML i.e. delete the line
<object name="IMS_SYNCINXVIEW" action="insert"/>
2) now again got to C:\Program File
sapinst_instdir\NW04S\LM\COPY\MSS\SYSTEM\CENTRAL\AS-JAVA\install\sltools\
edit the negativTableListForJload.xml file. i.e. delete the lines which has the entry for these tables.
3) Restart the installation. Donot retry.
Reward point if u feel so.
cheers
Naveen.H -
Re: Product Instance Registration Error Message: "System Failure: Error w
Hi S9 installation Gurus,
Please try to resolve this long awaited issue with Planning installation as this is purely configuration related issue.
Detail of Problem:-
After Susessful configuration of
1) Foundation Services (Hyperion Shared Services)
2) Essbase administration services
3) Essbase Server
4) Hyperion reporting and analysis
5) Planning -----> Product options, Register with shared services, configure database, deploy to application server (Appache)
Error Point: when i tick ckeck box in front of Product instance registration
click next
create instance
click next
instance name-Plan1
Web tier host name: my machine name (neeraj-pc, as i installed locally all component of hyperion)
server port: 8300 (system suggesting)
tick on active instance
click next
Error Pop Up "System Failure: Error while retrieving xml file from database"
Details of PlanningSystemDB (file :- \Hyperion\common\config\PlanningSystemDB.properties)
SYSTEM_DB_DRIVER=hyperion.jdbc.sqlserver.SQLServerDriver
SYSTEM_DB_URL=jdbc:hyperion:sqlserver://neeraj-PC:1433
SYSTEM_DB_USER=puser
SYSTEM_DB_PASSWORD=GGAKFJ
SYSTEM_DB_CATALOG=p1db
SYSTEM_DB_TYPE=SQL
INSTANCE=
Note: puser (SQL Authenticated user)
Thanks
KumarAnswered by Mr, JohnGoodwin
-
OAS 9.0.4 display error: java.lang.verify.error
Hi,
I have an adf application, in jdevelper 10.1.2 and jheadstart 10.1.2...in oc4j embedded run correctly, but its deployed in:
oas 10g 9.0.4 display the following error:
java.lang.VerifyError: (class: oracle/adf/controller/lifecycle/PageLifecycle, method: initializeParameterValuesUsingRequestObject signature: (Loracle/adf/controller/lifecycle/LifecycleContext;Loracle/jbo/uicli/binding/JUCtrlActionBinding;)V) Incompatible object argument for funcÃf8?Ã?î<ul8?Ã?î<
at oracle.jheadstart.controller.strutsadf.action.JhsStrutsPageLifecycleFactory.getJSPLifeCycle(JhsStrutsPageLifecycleFactory.java:83)
at oracle.jheadstart.controller.strutsadf.action.JSPLifecycleFactory.getPageLifecycle(JSPLifecycleFactory.java:40)
at oracle.adf.controller.struts.actions.DataActionMapping.freeze(DataActionMapping.java:212)
at org.apache.struts.config.impl.ModuleConfigImpl.freeze(ModuleConfigImpl.java:503)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:474)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at oracle.jheadstart.controller.strutsadf.JhsActionServlet.init(JhsActionServlet.java:195)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2130)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4560)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2598)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:643)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
I configure mi app according to:
http://www.oracle.com/technology/products/jdev/collateral/papers/10g/as_supportmatrix.html
help me please...
RigobertoRigoberto,
Can you apply the steps as documented by Steve Muench at
http://radio.weblogs.com/0118231/stories/2005/05/20/stepsToDeployJheadstartTutorialApplication.html
and see whether the problem persists?
Steven Davelaar,
JHeadstart Team. -
Java System Clipboard error implementing inhereted lostOwnership procedure
I am trying to get a string from the system clipboard manipulate it then put the manipulated string back on the system clipboard. I'm fairly certain i have the accessing the clipboard correct, but i can't figure out an error i'm getting with part of it.
Error Message:
Syntax error on token "}", delete this token
It refers to the "}" that closes the scope of the lostOwnership procedure, which has to be implemented by the class because it is inherited from the "implements ClipboardOwner", but is not implemented by it.
Code:
public class Programming12 implements ClipboardOwner{
private static JFrame frame = new JFrame("HTS Programming 12");
private static JTextArea ta;
private static JButton start = new JButton("START");
private ClipboardOwner co = this;//must do this because need to use "this" as the ClipboardOwner inside a static
//function
public void lostOwnership(Clipboard clipboard, Transferable contents){}/*procedure*/Any help would be appreciated, even if you can possibly point me in the right direction.
Edited by: Bherms on Dec 13, 2009 10:41 PMIt works just fine for me (no syntax errors):
import java.awt.*;
import java.awt.datatransfer.*;
import java.awt.dnd.*;
import javax.swing.*;
public class ClipBoardTest implements ClipboardOwner
private static JFrame frame = new JFrame("HTS Programming 12");
private static JTextArea ta;
private static JButton start = new JButton("START");
private ClipboardOwner co = this;//must do this because need to use "this" as the ClipboardOwner inside a static
//function
public void lostOwnership(Clipboard clipboard, Transferable contents){}/*procedure*/
} -
Install Error (Operating System User Error)
Hello,
I am having a problem installing Oracle 9ias application server. I installed it once and then thought I messed the install up because I couldn't log on to the application manager. Anyway I deinstalled it using the product installer software they supply and then I rebooted and now I continue to get the following error. I am the only user who has ever tried to install the software.
All Oracle 9iAS installations on a host must be installed by the same operating system user. The initial Oracle 9iAS installation located at C:\ora9ias was installed by a different operating system user. Please exit the install, log in as the user who installed the inital Oracle 9iAS installation and restart the install.
Any ideas?Hi,
you must drop manually the references in regedit to old iAs orcle home. Then you must drop the key 'em_loc' in regedit located in HKEY_LOCAL_MACHINE>Software>ORACLE if this key is pointing to Oracle 9iAS home.
I have done this and I've installed my ias instance right in W2K. -
my iphone can not live, I plug into itunes, itunes can not squeeze my mendeteksinya.kemudian sleep + home button for 12 seconds and then I remove the sleep button and keep holding the home button. iphone finally detected. itunes iphone then showed the recovery mode. itunes was ordered to restore and update the iphone. after a successful download, itunes restore iphone too. but when the restore process, a message appears unknown error occurred (2002). I tried many times, but still just like that. if there was anything like my experience? Please help.
Are you using a valid Apple charger that came with the iPad?
Attempting to use a computer USB port, an incompatible charger, or attempting to charge via a wall socket that only receives power from a wall switch — can all lead to a low, or depleted battery condition. Has this iPad been wet, or dropped?
Verify all of the above, and correct. If the iPad still cannot hold a charge, consider taking to an Apple Store, or authorized service provider to evaluate it. -
Java system error, when publishing BI Queries to Portals...
Hello all,
I am getting the error 'Java system error: Exception in method processFunction.' when publishing the BI queries (7.0 with SP 14) into EP 7.0 portals. Our BI system is integrated successfully into Portals.
Further diagnosis shows 'An error occurred in the BI components on the SAP J2EE Engine'.
Please reply to this message with any relevant/useful details to resolve this problem. Thanks in advance...
Thanks,
Ram.also restart the J2EE engine from SMICM.
Hope it Helps
Chetan
@CP.. -
Java system error: Exception in method processFunction in BEX Broadcaster
Hi All,
We are trying to broadcast a BI7 Webtemplate with our enterprise portal. While clicking on "Create New setting " iam getting the error " Java system error: Exception in method processFunction ".
Detailed error description is
*Diagnosis
An error occurred in the BI components on the SAP J2EE Engine.
System Response
Procedure
Contact your system administrator to have the error analyzed in detail.
Procedure for System Administration
Start the Visual Administrator, log on to the SAP J2EE Engine and choose "<J2EE_SID>" ->"Server" -> "Services" -> "Log Viewer".
The file "defaultTrace.trc" includes detailed information about the error that occurred. In Windows, you can find this file in the Log Viewer under "Cluster <computer name>" -> "Server <server number>" -> "<drive>:\usr\sap\<SID>\JC<INSTANCE>\j2ee\cluster\server<NUMBER>\log". ". In Unix, the file is located under "/usr/sap/<SID>/JC<INSTANCE>/j2ee/cluster/server<NUMBER>/log".
If the file does not include enough detail about the error, you can increase the log level to obtain more information. To do this, choose "<J2EE_SID>" -> "Server" -> "Services" -> "Log Configurator". On the "Locations" tab page, choose "com" -> "sap" -> "ip" -> "bi" -> "webapplications". Using the selection list on the right side of the screen, you can increase the log level, whereby "DEBUG" represents the log level with the most information. You can save your settings by choosing the "Save" icon. The change to the log level is active immediately. Once you have successfully analyzed the error, you should set the log level back to its default value using the appropriate pushbutton; continuous writing to the log file negatively affects the overall performance of the system.
Notification Number RSBOLAP 018 *
Please let us know how to proceedHi,
This is a configuration issue. All components on the J2EE stack have to
be on the same SPS level. Please make sure of this as a first step.
For special requirements of BI with regards SPS levels please see SAP
Notes 873996 and 1013369.
Please run the latest version of the support desk tool as per SAP note
937697 and ensure that there is no error and then check for the issue
again.
Otherwise, I suggest you open a BW-BEX-ET-BC msg with SAP.
Rgds,
Colum -
JSP client in RMI system - java.rmi.UnmarshalException: error unmarshalling
Hi,
Im developing a login part for a distributed airline reservation system using JSP as the client but while executing the jsp, the error that is being catched is :
java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: AirlineImpl_Stub (no security manager: RMI class loader disabled)
Here are my codes:
//Interface - Airline.java
package Air;
import java.rmi.*;
public interface Airline extends Remote
public int CheckUname(String username) throws RemoteException;
}//implementation - AirlineImpl.java
import java.net.*;
import java.io.*;
import java.sql.*;
import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;
public class AirlineImpl extends UnicastRemoteObject implements Airline
public AirlineImpl() throws RemoteException
super();
public int CheckUname(String username) throws RemoteException
try
int UnameCount = 0;
String xxx = "eaglebeta";
if(username.equals(xxx)
UnameCount++;
return UnameCount;
catch (Exception e3)
System.out.println("Error: " + e3);
return 0;
}//Server - AirlineServer.java
import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;
public class AirlineServer
public static void main(String arg[])
try
Airline myAirline = new AirlineImpl();
Naming.rebind("Airline", myAirline);
System.out.println();
System.out.println("************************************");
System.out.println(" >>> Airline Reservation System <<< ");
System.out.println(" >>> Server is Listening! <<< ");
System.out.println("************************************");
System.out.println();
catch (RemoteException e)
//System.out.println("Error: " + e);
System.out.println("RMI Registry is not active!");
System.out.println("Activate RMI Registry and retry!");
System.out.println("Bye bye, exiting...");
catch (java.net.MalformedURLException e)
//System.out.println("URL Error: "+ e);
System.out.println("URL Malformed!");
System.out.println("Bye bye, exiting...");
}//JSP client - newuser.jsp
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="java.rmi.*, javax.servlet.*" %>
<%@ page import="java.util.*, java.lang.*, java.io.*, Air.Airline" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#99CCFF">
<%
Object Airline = null;
try
Airline Air = (Airline)Naming.lookup("rmi://localhost/Airline");
String Name = "eaglebeta";
if(Air.CheckUname(Name)>0)
%>
Username already exists, choose another name
<%
else
%>
<%=Name%>
<%
catch (Exception e1)
%>
<%=e1%>
<%
%>
</body>
</html>The server, implementation, interface and stub are in a folder named "Airline Server" located on my desktop.
The interface and stub again are in another folder named "Air" located in the "classes\Air" directory which is located in the tomcat 5.5 installation directory!
The JSP client is located in the "Root" folder in the tomcat 5.5 installation derectory!
1. I start the registry in the "Airline Server" folder by typing rmiregistry
2. Load the Airline Server - java AirlineServer
3. Call the jsp - http://localhost/newuser.jsp
And i get the following error:
java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: AirlineImpl_Stub (no security manager: RMI class loader disabled)
Please help me to solve this problem!When I am including security manager in my JSP code, the browser just get blank without any display
if(System.getSecurityManager() == null)
System.setProperty("java.security.policy", "java.policy");
System.setSecurityManager(new RMISecurityManager());
}Please, someone solve my problem! Im realy stuck and I don't know how to proceed! Provide me with a solution or any tutorial that would help me... -
Hi Guru:
Now I could create a web report and execute it.
But each time I save it, there is an error:
Java system Error: Bean RSWR_TEMPLATE_PROCESS_PROXY is not found.
How to solve it?
Thank you very very much.
Best regards,
Erici think its the problem with ur internet connection.i mean the proxy settings have to be checked to recover tht problem.
-
hello portal experts,
we made a homogen copy of our productive system to our test system. i think this caused a trouble in our test portal and i get the error java.lang.Exception:Error in NavigationGroupViewer.createListModel:No NavID!. can anybody tell me where the settings are made for the team viewer and how i can fix this problem.
early replies appreciated..
thanks,
Murat KayaHi Murat,
there can be a number of things that can give you that particular error message:
1. Is the teamviewer/explorer configured correctly in the backend? Are all the navigation paths correct?
2. Has the teamviewver iview been configured with the correct navigation path?
3. Do your users have the right profiles and security settings in the backend?
4. Is the communication between the portal and the backend working properly, ie sso, jco?
Best place to start is to look at the error description in the log in Visual Admin. That might give you an indication of where to start looking.
Cheers,
Dion -
Java.lang.UnsupportedOperationException Error in WAD Template
Hi Frnds,
My WAD Template and the default template to execute Query is working fine for all the Query. But there is only one Query For which when am trying to execute it in portal it's working fine for some selection(when there is no data) and for some selection criteria it's showing "500 Internal Server Error - java.lang.UnsupportedOperationException" error. But the Query is working fine in the TCODE-RSRT.
500 Internal Server Error
Information for Administrator:
To avoid this exception see the steps below. To help SAP better investigate this issue, you will need to provide the diagnostic information from these steps.
1. Most likely, the issue you are experiencing has already been corrected. Please make sure that the most recent patch level is deployed on your system according to notes 1033246 and 1011241. Starting with SAP NetWeaver 7.0 Support Package Stack 16 patch level 30, BI Java is delivered according to the synchronized delivery process described in the note 1164789.
2. Please ensure that NetWeaver Business Intelligence Diagnostics & Support Desktop Tool does not report any issues on your server according to note 937697. You can start it by clicking here (administrator permissions are required).
3. When opening any customer message on this issue, please attach:
Support Desktop Tool support info ZIP file according to note 937697,
Required information for reproduction according to note 948490.
Error Summary
Exception occured while processing the current request; this exception cannot be handled by the application or framework
If the information on this page does not help you locate and correct the cause of the problem, contact your system administrator
To facilitate analysis of the problem, keep a copy of this error page Hint: Most Web browsers allow you to select all content, and copy and paste it into an empty document (such as in an email or simple text file)
Root Cause:
The initial exception that caused the request to fail was:
java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.ComponentList.getSingleMembers(ComponentList.java:987)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.MemberAccessComparator.prepare(MemberAccessComparator.java:91)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.RsAxisTupleElementComparator.prepare(RsAxisTupleElementComparator.java:43)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.QvSorting.prepareForTupleElementSorting(QvSorting.java:317)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.RsAxis.sortTuples(RsAxis.java:2013)
So please helpHi,
please implement the ABAP correction of note:
1413377 : java.lang.UnsupportedOperationException
Import Support Package 22 for SAP NetWeaver 7.0 BI Java into your
BI system.
The Support Package is available when Note 1404367 "SAPBINEWS 7.0
BI JAVA Support Package 22", which describes this Support Package
in more detail, is released for customers.
In urgent cases, you can implement the correction instructions by
applying BI Java patches:
Apply the BI Java patch Support Package 20 Patch 30 for SAP
NetWeaver 7.0 BI Java to your BI system.
Support Package 20 Patch 30 is available when Note 1404370
"Released - NW 7.0 Support Package Stack 20 Patch 30 note for BI
Java", which describes this patch in more detail, has been
released for customers.
See Note 1033246 for the planned delivery dates of all BI Java
patches.
Regards,
Venkat
Edited by: Venkadesh S on Sep 23, 2011 5:12 PM -
Java.lang.InstantiationException: Error communicating with server:
Hello everybody, I am an easy Helloworld application, the deploy is fine, but when I execute the client it appears the next error:
java.lang.InstantiationException: Error communicating with server: Lookup error:
java.net.ConnectException: Connection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect; nested exception
is:
javax.naming.NamingException: Lookup error: java.net.ConnectException: C
onnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
at com.evermind.server.ApplicationClientContext.createContext(Applicatio
nClientContext.java:300)
at com.evermind.server.ApplicationClientInitialContextFactory.getInitial
Context(ApplicationClientInitialContextFactory.java:190)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at hello.HelloClient.main(HelloClient.java:33)
NamingException: Error reading application-client descriptor: Error communicatin
g with server: Lookup error: java.net.ConnectException: Connection refused: conn
ect; nested exception is:
java.net.ConnectException: Connection refused: connect; nested exception
is:
javax.naming.NamingException: Lookup error: java.net.ConnectException: C
onnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
This is my application client:
// HelloClient.java
package hello;
import javax.ejb.*;
import javax.naming.*;
import javax.rmi.PortableRemoteObject;
import java.io.*;
import java.util.*;
import java.rmi.RemoteException;
* A simple client for accessing an EJB.
public class HelloClient
public static void main(String[] args)
System.out.println("client started...");
try {
// Initial context properties are set in the jndi.properties file
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.ApplicationClientInitialContextFactory");
env.put(Context.PROVIDER_URL, "ormi://ecd11107.eadscasa.casa.corp:23791/helloworld");
env.put(Context.SECURITY_PRINCIPAL, "admin");
env.put(Context.SECURITY_CREDENTIALS, "123");
Context context = new InitialContext(env);
// This for use with com.evermind.server.rmi.RMIInitialContextFactory
//Object homeObject = context.lookup("HelloBean");
// This is for use with com.evermind.server.ApplicationClientInitialContextFactory
Object homeObject = context.lookup("java:comp/env/Helloworld");
// Narrow the reference to HelloHome.
HelloHome home =
(HelloHome) PortableRemoteObject.narrow(homeObject, HelloHome.class);
System.out.println("hello home");
// Create remote object and narrow the reference to Hello.
Hello remote =
(Hello) PortableRemoteObject.narrow(home.create(), Hello.class);
System.out.println(remote.sayHello("James Earl"));
} catch(NamingException e) {
System.err.println("NamingException: " + e.getMessage());
} catch(RemoteException e) {
System.err.println("RemoteException: " + e.getMessage());
} catch(CreateException e) {
System.err.println("FinderException: " + e.getMessage());
Can somebody helps me ???Thank you, but don�t work well yet. I checked the files orion-application.xml & principals.xml in the directory C:\servOracle\oracle\j2ee\home\application-deployments\helloworld but the result is the same, when I run the client the next error appears:
NamingException: Lookup error: javax.naming.NoPermissionException: Not allowed to look up HelloBean, check the namespace-access tag setting in orion-application.xml for details; nested exception is:
javax.naming.NoPermissionException: Not allowed to look up HelloBean, check the namespace-access tag setting in orion-application.xml for details
This is my orion-application.xml
<?xml version="1.0"?>
<!DOCTYPE orion-application PUBLIC "-//ORACLE//DTD OC4J Application runtime 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd">
<orion-application deployment-version="9.0.4.0.0" default-data-source="jdbc/OracleDS" treat-zero-as-null="true">
<ejb-module remote="false" path="helloworld-ejb.jar" />
<web-module id="helloworld-web" path="helloworld-web.war" />
<client-module path="helloworld-client" deployment-time="fce4439997" auto-start="false" />
<persistence path="persistence" />
<principals path="principals.xml" />
<jazn provider="XML" location="jazn-data.xml" />
<log>
<file path="application.log" />
</log>
<namespace-access>
<read-access>
<namespace-resource root="">
<security-role-mapping name="<jndi-user-role>">
<group name="users" />
</security-role-mapping>
</namespace-resource>
</read-access>
<write-access>
<namespace-resource root="">
<security-role-mapping name="<jndi-user-role>">
<group name="users" />
</security-role-mapping>
</namespace-resource>
</write-access>
</namespace-access>
</orion-application>
And this is my principals.xml
<?xml version="1.0"?>
<!DOCTYPE principals PUBLIC "//ORACLE//DTD OC4J Principals 9.04//EN" "http://xmlns.oracle.com/ias/dtds/principals-9_04.dtd">
<principals>
<groups>
<group name="users">
<description>users</description>
<permission name="rmi:login" />
</group>
<group name="guests">
<description>guests</description>
</group>
<group name="administrators">
<description>administrators</description>
<permission name="administration" />
</group>
</groups>
<user username="admin" password="ADMIN">
<description>The default administrator</description>
<group-membership group="administrators" />
<group-membership group="guests" />
<group-membership group="users" />
</user>
<user username="SCOTT" password="TIGER">
<description>no description</description>
<group-membership group="users" />
<group-membership group="administrators" />
</user>
</principals>
Thanks in advance, please help me....
Maybe you are looking for
-
I use DayLite with CardDAV for share the contacts with iContacts. With Mavericks doesn't work, when I create the CardDAV account all work fine, until I try to select this account from Accouts list, Maveriks contine to ask the password, with this mess
-
Need to restrict some hierarchy in RTP member selection
Hi There, We are using on rule which conatins RTP variable.As per our requirement while selecting that RTP varaibale member through member selection window can I restrict the dimension hierarchy to only level 0 members as there are many levels in thi
-
Java pulgin is enablesed and still not working with firefox but is working with my explorer browser
Java 1.7.0_10 from Oracle Corp is working with my Explorer but when I go to a sight with Firefox, it shows that its not installed. When I go into Firefox's plug-ins, it shows that its enabled....How do I fix this?
-
Resetting the Energy Preferences on OS X 10.5.8
Hello, I need help help resetting the Energy Preferences without re-installing OSX
-
Hi, I'm trying to configure my aiport express but I'm always getting the following message: 'An error happen when trying to connect to the wireless Apple device. Check that the network is correct and try it again. Error code: -4' The thing is that th