Running OWB Client from Unix
Hi
I am trying to remember how to run OWB client (10gr1) from a unix command. Can anyone please help with what command you run from unix?
Thanks
GB
Hi,
To start Warehouse Builder using UNIX:
1.Start a shell.
2.Navigate (cd) to <OWB ORACLE HOME>/owb/bin/unix
3. Invoke owbclient.sh
Thanks,
Sutirtha
Similar Messages
-
I use to login to linux server by Xmanager by windows machine which requires a username and password, when i changed the password recently OWB started showing a error when exiting OWB client open on server throuh XMANAGER, It is asking for a permission on a particular folder..............can anybody tell me which folder requires the permission to run OWB client on server???
This is probably complaining about either the preference properties files or some other user preference files in owb/bin/admin
Cheers
David -
When running a scenario from Unix ( $ prompt)it cant found the DTD for xml
Dear All,
I have created an interface that extracts xml messages from JMS queue ( OC4J) successfully. After extracting the message from JMS queue, the interface parse the message and put into an oracle database.
After when I have created a scenario from the above Interface and tried to run the scenario from $ promt in unix using startscen.sh, it is giving following error message.
# call the configuration setup file--- Mandatory for running ODI scenario
. $ODI_HOME/bin/odiparams.sh;
# Call the scenario for getting Message from JMS queue
. $ODI_HOME/bin/startscen.sh PKG_JMS_XML 001 GLOBAL "-v=5" | tee out_$$.txt;
The error I am getting as below
03/09/2009 05:09:40 PM(main): SnpExpTxt.getObjectLst : :
[FirstDate:2009-03-09 17:09:40.0
FirstUser:SUNOPSIS AGENT
IndChange:null
IntVersion:null
ITxt:5194100
LastDate:2009-03-09 17:09:40.0
LastUser:SUNOPSIS AGENT
Txt:0 : 08001 : java.sql.SQLException: Cannot load connection class because of underlying exception: 'java.sql.SQLException: No DTD found and no XML file provided: the XML schema cannot be created'.
java.sql.SQLException: Cannot load connection class bec
TxtOrd:0, FirstDate:2009-03-09 17:09:40.0
FirstUser:SUNOPSIS AGENT
IndChange:null
IntVersion:null
ITxt:5194100
LastDate:2009-03-09 17:09:40.0
LastUser:SUNOPSIS AGENT
Txt:ause of underlying exception: 'java.sql.SQLException: No DTD found and no XML file provided: the XML schema cannot be created'.
at com.sunopsis.jdbc.driver.JMSXMLDriver.connect(JMSXMLDriver.java)
at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.
TxtOrd:1, FirstDate:2009-03-09 17:09:40.0
FirstUser:SUNOPSIS AGENT
IndChange:null
IntVersion:null
ITxt:5194100
LastDate:2009-03-09 17:09:40.0
LastUser:SUNOPSIS AGENT
Txt:java)
at com.sunopsis.sql.SnpsConnection.c(SnpsConnection.java)
at com.sunopsis.sql.i.run(i.java)
TxtOrd:2]
Anybody please help ?
regards
UmapadaHello,
Try to remove and recreate your package and scenario, I had the same issue and solved doing it.
It seems for me that the package cannot update its contents, for example, if you change something in your interface, you must recreate your package and scenario to update the changes.
What ODI version do you use? If you use an old version, try to update to ODI 10.1.3.5
Regards,
Wallace Galvão
São Paulo - Brazil -
How can i run application client from the command prompt ?
Hi,
I'm new to java & EJB. so can any body tell me the command to run the application client from the command prompt. Here is the code to print hello world:
/* Remote interface */
public interface Hello extends javax.ejb.EJBObject
public String hello() throws java.rmi.RemoteException;
/* Home interface */
public interface HelloHome extends javax.ejb.EJBHome
Hello create() throws java.rmi.RemoteException, javax.ejb.CreateException;
/* Stateless session bean class */
public class HelloBean implements javax.ejb.SessionBean
private javax.ejb.SessionContext ctx;
public void ejbCreate(){
System.out.println("ejbcreate()");
public void ejbRemove(){
System.out.println("ejbRemove()");
public void ejbActivate(){
System.out.println("ejbActivate()");
public void ejbPassivate(){
System.out.println("ejbejbPassivate()");
public void setSessionContext(javax.ejb.SessionContext ctx){
this.ctx=ctx;
public String hello(){
System.out.println("hello()");
return "Hello, world!";
/*Client class */
import javax.naming.Context;
import javax.naming.InitialContext;
import java.util.Properties;
public class HelloClient
public static void main(String[] args) throws Exception{
Properties props=System.getProperties();
Context ctx=new InitialContext(props);
Object obj=ctx.lookup("HelloHome");
HelloHome home=(HelloHome)javax.rmi.PortableRemoteObject.narrow(obj,HelloHome.class);
Hello hello=home.create();
System.out.println(hello.hello());
hello.remove();
I have stored .java files in c:\ejb
I have successfully created the .class files using javac command in the following directory :
c:\ejb
I have also created Helloworld.ear file in c:\ejb using sun application server which contains the following files:
ejb-jar-ic.jar
app-client-ic.jar
sun-j2ee-ri.project
application.xml
sun-application.xml
Manifest.mf
But the problem is that i'm not able to run the HelloWorld.class file successfully from the command prompt. So please suggest me the comand.
Thanx in advance.
Best regards,
PankajHi
You can run this code from the command prompt in the same way as you run any other simple java program. The only thing is you need to set the Home and Local interfaces in the classpath.And obviously if u had deployed the bean in ur app server container, then its all over.
And one more thing is that u need to set the provider URL in the InitialContext created in the client program.
Thanks
Arun B -
Can anybody tell me how to run PL/SQL Procedure from unix prompt.
You can start a sqlplus script from unix prompt, e.g.
sqlplus <youruser>/<yourpassword>@<yourdb> @yourscript.sqlEdited by: hm on 01.01.2011 02:33 -
Running stored procedure from unix shell
Hi
I have a stored procedure proc1 stored in a file, code1.txt in my home directory /home/user. How do i execute this file which contains the stored procedure from unix shell? I would really appreciate it if somebody gives me the complete shell script to accomplish the above task.
Thanks.To put everything together into a single posting:
The EXEC command is a SQL*Plus macro command. It is not a SQL or PL/SQL command.
The only way to execute a stored proc from a client, is to wrap the call in an anonymous PL/SQL block. I.e you need a BEGIN and END PL/SQL wrapper around the call.
E.g.BEGIN
-- calling a stored proc to start leave processing
scott.StartLeaveProcessing;
END;The EXEC macro in SQL*Plus does this automatically for you. Thus less typing. But do not confuse this command with the PL/SQL language.
Second issue. Use bind variables when making calls from clients. And not just for SQL statements, but also for PL/SQL. Unfortuantely this tends to be a hack in SQL*Plus due to the way SQL*Plus itself treats its bind variable assignments. But in principle, this is what you should do when calling an Oracle stored proc from a client:
SQL> -- define a host variable
SQL> var EMPID varchar2(100)
SQL> var FROM_DEPT number
SQL> var TO_DEDPT number;
SQL>
SQL> -- assign values to these (this is where SQL*Plus hacks it)
SQL> exec :EMPID := 100;
SQL> exec :FROM_DEPT := 1;
SQL> exec :TO_DEPT := 2;
SQL>
SQL> -- now make the stored proc call for moving employee 100 from
SQL> -- department 1 to department 2
SQL> EXEC scott.EmployeeTransfer( :EMPID, :FROM_DEPT, :TO_DEPT );
SQL>To do this from a Unix shell script:
#!/bin/bash
# environment variables
# --> put environment such as ORACLE_HOME, ORACLE_SID, TWO_TASK
# etc. here <--
# redirect STDIN from TTY (keyboard typewriter device) to the input from
# this file - which means SQL*Plus will not read from the keyboard but read
# from this file its input until the EOF marker/text is encountered
sqlplus -s /nolog << EOF
connect scott/tiger
var EMPID varchar2(100)
var FROM_DEPT number
var TO_DEDPT number;
exec :EMPID := 100;
exec :FROM_DEPT := 1;
exec :TO_DEPT := 2;
exec scott.EmployeeTransfer( :EMPID, :FROM_DEPT, :TO_DEPT );
exit;
EOF
#eof -
How to run OWB mappings from SQL*Plus
Hi:
I used to run OWB mappings using the sample code RUN_MY_OWB_STUFF in a customized PL/SQL procedure. This works for OWB 10g release 1 but not for OWB Paris (10g Release 2) because the execution always returns FAILURE.
Is there something new in OWB Paris that RUN_MY_OWB_STUFF doesn't work anymore?
Thanks,
Hazbleydi C. VerásteguiHi Maruthi:
I already check the input parameters of the mapping. I'm setting them as a custom parameters. This is the output of the execution:
16:01:11 SQL> EXEC PR_RUN_OWBMAPPING_TABLA2('MPG_EMPLEADOS_NOMINA_PERIODO',2007,01);
Stage 1: Decoding Parameters
| location_name=LOC_DM_STAGING
| task_type=PLSQL
| task_name=MPG_EMPLEADOS_NOMINA_PERIODO
Stage 2: Opening Task
| l_audit_execution_id=39635
Stage 3: Overriding Parameters
| P_ANO%CUSTOM='2007'
| P_MES%CUSTOM='1'
Stage 4: Executing Task
| l_audit_result=3 (FAILURE)
Stage 5: Closing Task
Stage 6: Processing Result
| exit=3
By the way, RUN_MY_OWB_STUFF is the same as RUN_OWB_CODE.sql except for the two first parameters (p_result and p_audit_id):
create or replace procedure run_owb_code
( p_result out number
, p_audit_id out number
, p_repos_owner in varchar2 default null
, p_location_name in varchar2 default null
, p_task_type in varchar2 default null
, p_task_name in varchar2 default null
, p_system_params in varchar2 default '","'
, p_custom_params in varchar2 default '","'
, p_oem_friendly in number default 0
is
CREATE OR REPLACE function run_my_owb_stuff
( p_repos_owner in varchar2 default null
, p_location_name in varchar2 default null
, p_task_type in varchar2 default null
, p_task_name in varchar2 default null
, p_system_params in varchar2 default '","'
, p_custom_params in varchar2 default '","'
, p_oem_friendly in number default 0
) return number
is
How do you invoke your wrapper PL/SQL with these two first parameters?
Thanks in advance,
Hazbleydi C. Verástegui -
How to run the client from server
HI FRIENDS,
I HAVE A SMALL PROBLEM WITH MY PROGRAM.I WANTED TO START THE CLIENT FROM SERVER I.E THE CLIENT SHOULD BE EXECUTED AS SOON AS THE SERVER STARTS EXECUTION.SOME OF THEM SAID THAT THIS CAN BE DONE BY USING 'EXEC' COMMAND.BUT I COULDNT.SO PLEASE ANYONE HELP ME IN DOING THIS.
BYE
KPHI FRIENDS,
I HAVE A SMALL PROBLEM WITH MY
MALL PROBLEM WITH MY PROGRAM.I WANTED TO START THE
CLIENT FROM SERVER I.E THE CLIENT SHOULD BE EXECUTEDCan't be done, unless the server and the client are on the same machine, or you have some other COM object or service set up to allow someone to do this remotely -
Running ssl client from multiple applications fails in Sap j2ee engine
There are two applications making ssl connections to third party.
At a time only one application is able to make connection while other
throws error message <b>"No trusted certificate found".</b>
Currently we have two j2ee applications running in SAP j2ee server. Both applications makes ssl connection to third party servers. Lets call first application as A1 and second application as A2.
A1 is an internet shopping application . It makes ssl connection to third party services at two places . One is while fetching the shipping charges from UPS site.
Code Snippet:
java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
System.getProperties().put("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
String lo_url = new URL("https://wwwcie.ups.com/ups.app/xml/Rate");
lo_connection = (URLConnection) lo_url.openConnection();
At other place A1 connects to cybersource service using webservice +ssl for credit card authentication using cybersource API. It uses certificate in p12 format.
Code Snippet:
com.cybersource.ws.client.axis.soap.RequestMessage lo_requestMessage = new com.cybersource.ws.client.axis.soap.RequestMessage();
Properties lo_cybsProperties = new Properties();
lo_cybsProperties.setProperty("merchantId","arvato");
lo_cybsProperties.setProperty("merchantRefCode","1234")
lo_requestMessage.setMerchantID( "arvato");
lo_requestMessage.setMerchantReferenceCode( "1234" );
lo_cybsProperties.setProperty("cybersourceURL","https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor");
lo_cybsProperties.setProperty("keysDir", "./WEB-INF/config");
lo_requestMessage.setBillTo(setBillToAddress(po_mdsBillingAddress) );
// add ship to address
lo_requestMessage.setShipTo(setShipToAddress(po_mdsShiToAddress));
lo_requestMessage.setPurchaseTotals( setPurchaseTotal() );
//set cc details
lo_requestMessage.setCard( setCardDetails(po_mdsCreditCard) );
Set Items and total tax calculation
lo_replyMessage = com.cybersource.ws.client.axis.soap.Client.runTransaction( lo_requestMessage, lo_cybsProperties );
A2 Application
This application connects to Motorola secured web service to fetch details of mobile hand set. It uses keystore to create ssl connection with Motorola webservice.
Code Snippet
try {
TrustManager[] trustAllCerts = new TrustManager[]{
new X509TrustManager() {
public java.security.cert.X509Certificate[] getAcceptedIssuers() {
return new java.security.cert.X509Certificate[0];
public void checkClientTrusted(java.security.cert.X509Certificate[] certs, String authType) {}
public void checkServerTrusted(
java.security.cert.X509Certificate[] certs, String authType) {
SSLContext sc = SSLContext.getInstance("SSL");
sc.init(null, trustAllCerts, new java.security.SecureRandom());
} catch (Exception e) {
e.printStackTrace();
System.setProperty("javax.net.ssl.trustStore","SapWSM.keystore");
System.setProperty("javax.net.ssl.trustStorePassword","xxxx");
System.setProperty("javax.net.ssl.keyStore","SapWSM.keystore");
System.setProperty("javax.net.ssl.keyStorePassword","xxxx");
Problem Cases :
Case 1
Step 1 : Server starts
Step 2 : User access A1 first
Step3: A1 Connects to UPS using https (It is able to connect)
Step4: A1 connects to cybersource using webservice+ssl (It is able to connect)
Step 5: Another user access A2
Step6: A2 tries connection to Motorola webservice over ssl
Result connectivity fails with description "No trusted certificate found".
Case2
Step 1 : Server starts
Step 2 : User access A2 first
Step3: A2 tries connection to Motorola webservice over ssl (It is able to connect)
Step 5: Another user access A1
Step6: A1 connects to cybersource using webservice+ssl
Result connectivity fails with description "No trusted certificate found".
Case3
Step 1 : Server starts
Step 2 : User access A2 first
Step3: A2 tries connection to Motorola webservice over ssl (It is able to connect)
Step 5: Another user access A1
Step6: A1 connects to UPS using ssl
Result connectivity fails with description "No trusted certificate found".Hi Please answer my query it is really <b>
urgen
t</b> and we are not able to run both the applications in same server -
Running sql script from unix using
Hello!
When i run the following sql, it doesn't executes any statement after the 1st SQL.
anyone know the reason?
#!/bin/bash
set -x
echo test
sqlplus /nolog << EOF
set serveroutput on size 1000000
conn userid/pwd@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=10.92.xxx.xxx)(Port=1521))(CONNECT_DATA=(SID=oradbid)))
select '1st sql output' from dual;
exit
EOF.
sqlplus /nolog << EOF
set serveroutput on size 1000000
conn userid/pwd@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=10.92.xxx.xxx)(Port=1521))(CONNECT_DATA=(SID=oradbid)))
select '2nd sqloutput' from dual;
exit
EOF
--------------------------------You have to remove . (dot) after first EOF.
Best regards
Maxim -
Running Stored Pocedures from UNIX
Hi,
Does anybody have an example of a Unix script that kicks off a series of stored procedures (after checking the status of the previous one) within a package?
Thanks
Rajhi
use like this
sqlplus -s bo/bopassword@wsstest @t.sql
PL/SQL procedure successfully completed.
contents of t.sql are like this
exec some_proc
exit
once you execute the above command sqlplus -s ....
it connects in silent mode with the specified username,password and connect string and it executes the specified script
and the output of the commands in the script t.sql will be returned. capture the output/redirect the output of the command
and check for the string PL/SQL procedure succesfully completed.
then you can think that the procedure is executed succesfully if not you can take necessary action
hope this helps
all the best
prakash
[email protected] -
How to run client from other machine in ejb
Please help me this problem .
When i run on local . Every thing is ok .
But when i run from different machine , it not work .
Although , i hava changed jnp://localhost:1099 to jnp:/xxx.xxx.xxx:1099 , xxx... this is my ipaddress .
I am using : net bean 6.9 , j2ee 1.4 , jboss application server 4.2.3GA
Thanks allThanks jverd and gimbal2 helped me .
I hava just write the small programme "Hello word "
This is my code .
I create EJB module : invokes : hello.java , helloRemote.java , helloRemoteHome.java .
hello.java*
package demo;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;
+public class hello implements SessionBean {+
private SessionContext context;
+public void setSessionContext(SessionContext aContext) {+
context = aContext;
+}+
+public void ejbActivate() {+
+}+
+public void ejbPassivate() {+
+}+
+public void ejbRemove() {+
+}+
+public void ejbCreate() {+
+}+
+public String getMessage() {+
return "hello word";
+}+
+}+
helloRemote.java*
package demo;
import java.rmi.RemoteException;
import javax.ejb.EJBObject;
+public interface helloRemote extends EJBObject {+
String getMessage() throws RemoteException;
+}+
helloRemoteHome.java*
package demo;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
+public interface helloRemoteHome extends EJBHome {+
demo.helloRemote create() throws CreateException, RemoteException;
+}+
ejb-jar.xml*
+<?xml version="1.0" encoding="UTF-8"?>+
+<ejb-jar version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">+
+<display-name>helloword</display-name>+
+<enterprise-beans>+
+<session>+
+<display-name>helloSB</display-name>+
+<ejb-name>hello</ejb-name>+
+<home>demo.helloRemoteHome</home>+
+<remote>demo.helloRemote</remote>+
+<ejb-class>demo.hello</ejb-class>+
+<session-type>Stateless</session-type>+
+<transaction-type>Container</transaction-type>+
+</session>+
+</enterprise-beans>+
+<assembly-descriptor>+
+<container-transaction>+
+<method>+
+<ejb-name>hello</ejb-name>+
+<method-name>*</method-name>+
+</method>+
+<trans-attribute>Required</trans-attribute>+
+</container-transaction>+
+</assembly-descriptor>+
+</ejb-jar>+
And now , from diffrent machine . I created the web application . I have added "hello.jar" into web application .
After , i create one servlet to call getMessage method .
This is the code :
test.java*
package demo;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.naming.Context;
import javax.naming.InitialContext;
+public class test extends HttpServlet {+
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
+throws ServletException, IOException {+
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
+try {+
System.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
System.setProperty(Context.PROVIDER_URL,"localhost:1099");//i hava changed localhost to my ipaddress . xxx.xxx.xxx:1099
InitialContext cxt=new InitialContext();
Object obj=cxt.lookup("hello");
helloRemoteHome home=(helloRemoteHome)obj;
helloRemote helloObj=home.create();
out.println("<html>");
out.println("<head>");
out.println("<title>Servlet test</title>");
out.println("</head>");
out.println("<body>");
out.println("Servlet test at " helloObj.getMessage());+
out.println("</body>");
out.println("</html>");
+}+
catch(Exception ex)
+{+
+}+
+finally {+
out.close();
+}+
+}+
protected void doGet(HttpServletRequest request, HttpServletResponse response)
+throws ServletException, IOException {+
processRequest(request, response);
+}+
protected void doPost(HttpServletRequest request, HttpServletResponse response)
+throws ServletException, IOException {+
processRequest(request, response);
+}+
+public String getServletInfo() {+
return "Short description";
+}// </editor-fold>+
+}+
The result when i run on local : hello word
But when i run the client from different machine , the result is : nothing appear . -
OWB on Windows & Unix Env.
Hi All,
Client, Server configuration is as follows:
OWB Client will exist on Windows NT or 2000 env.
OWB Repositories on Windows NT or 2000 env.
Source & Target Oracle Schemma on Oracle Server on Unix env.
I guess this configuration should work since OWB connects to Oracle Schema on Unix or Windows environment by DBLink object.
Also i believe OWB for Unix environment is available. But in that case i will need to install OWB Repositories on Oracle Server on Unix environment & also OWB Client for Unix instead of OWB client on Windows NT.
I would like to know is my assumption correct & will there be any compatibility issue especially from OWB & Oracle database in future?
Thanks in Advance.
Regards,
VidyanandVidyanand,
Currently remote Target Schemas (remote to Runtime Repository) are not supported. So you would have to keep Runtime Repository schema and one to many Target Schemas in the same database. Design Repository can be installed elsewhere. Source schemas can reside elsewhere (obviously OWB does not install source schemas, it accesses existing ones).
Please see "Oracle9i Warehouse Builder Update: Runtime Environment" whitepaper
http://otn.oracle.com/products/warehouse/pdf/OWB_RuntimeChanges.pdf , page 11 where your exact question is addressed and illustrated with a nice diagram.
So to achieve this architecture you would:
1. Obtain OWB 9.2 both for Windows and your Unix platform.
2. On Windows, run Universal Installer, select "OWB Design Time Install" in a third screen.
3. On Windows, run Repository Assistant to create Design Repository.
4. On Unix, run Universal Installer, select "OWB Server Side Install" in a third screen.
5. On Unix, run Runtime Assistant to create Runtime Repository, Runtime Access User (optional for security) and Target Schema.
Nikolai -
Owb client+performance+x-windows
Hi,
We are using 11.2.0.1 and finding the performance of OWB slow e.g opening mappings, control center etc.
Machine has enough memory (2.5 GB and checked memory being used in task manager for owb.exe (about 400 M), total being used on PC at any time for all applications aboout 1.5gb and ruled out network latency as tested other cleint/server applications to access the same machine and dataabse and these are fine performance-wise.
The server is located in the same building as the cleint and is a UNIX server.
We are using the cumulative patch recommended by Oracle for performance reasons - still same problem.
Anybody any other tips to get design center/control center to open quickly etc?
Used previous suggestions such as Tools/Optimise repository etc and purging of audit tables.
Another question
Is it possible to run owb client (i.e. open/amend/deploy/run mapppings etc with the windows interface directly on the UNIX server (~e.g using x-windows) as opposed to the client WINDOWS pc
Many ThankHi
There are patches with performance related fixes in this area, if you can upgrade to 11.2.0.2 that is advised otherwise there is a mega patch for 11.2.0.1;
BEST --> OWB 11.2.0.2 + megapatch v3 (12874883)
ALTERNATE --> OWB 11.2.0.1 + patch for bug 10270220: Mega Patch v2 (supersedes patch 9802120)
Cheers
David -
Error in calling EJB Client from Remote Machine.
While running the client from local machine, it works perfectly.
But when I try to run the same client from remote machine it gives me the error.
I deployed the ejb in sun server 1.4 with jndi as "xxx.xxx.xxx.xxx/MyTemperature".
Following is the code snippet from the clint.
Context initial = new InitialContext();
Object objref = initial.lookup("192.168.0.20/MyTemperature");
home = (TemperatureHome) PortableRemoteObject.narrow(objref, TemperatureHome.class);
Temperature degreeConverter = home.create();Following is the error
E:\EJBRemoteTest>java TempClient.TemperatureClient
May 14, 2008 10:00:24 AM com.sun.corba.ee.impl.legacy.connection.SocketFactoryCo
nnectionImpl <init>
WARNING: ORBUTIL.connectFailure
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
RBUtilSystemException.java:1739)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
RBUtilSystemException.java:1757)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
init>(SocketFactoryConnectionImpl.java:74)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.
createConnection(SocketFactoryContactInfoImpl.java:77)
at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begin
Request(CorbaClientRequestDispatcherImpl.java:152)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
lientDelegateImpl.java:121)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie
ntDelegateImpl.java:214)
at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java
:69)
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
a:58)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at TempClient.TemperatureClient.main(TemperatureClient.java:17)
Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection ref
used: connect
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
etFactory.java:520)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
init>(SocketFactoryConnectionImpl.java:58)
... 10 more
Caused by: java.net.ConnectException: Connection refused: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
etFactory.java:511)
... 11 more
Caught an unexpected Exception!
javax.naming.CommunicationException: Can't find SerialContextProvider [Root exce
ption is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: N
o]
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
a:66)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at TempClient.TemperatureClient.main(TemperatureClient.java:17)
Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed:
No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
RBUtilSystemException.java:1739)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
RBUtilSystemException.java:1757)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
init>(SocketFactoryConnectionImpl.java:74)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.
createConnection(SocketFactoryContactInfoImpl.java:77)
at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begin
Request(CorbaClientRequestDispatcherImpl.java:152)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
lientDelegateImpl.java:121)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie
ntDelegateImpl.java:214)
at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java
:69)
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
a:58)
... 3 more
Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection ref
used: connect
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
etFactory.java:520)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
init>(SocketFactoryConnectionImpl.java:58)
... 10 more
Caused by: java.net.ConnectException: Connection refused: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
etFactory.java:511)
... 11 moreThis is a stateless session bean.
Can anybody provide me solution for this
I also tried with java.util.Properties class but result is same.You are running on Windows 9x or Me, right? The darn OS has 300 or so bytes allocated for environment by default.
Try setting the Initial environment to 4096 in the Properties|Memory tab for the batch file. That will get rid of "Out of environment space". The syntax error is another matter; Windows (except NT and derivatives) shells do not allow '=' in an environment variables value. You cannot overcome that. Some software (Sybase for instance) interprets # as = just because of that. Unfortunately, the JVM doesn't take such an approach.
Better, grab copies of Unix utilities for Windows (www.gnu.org) including the wonderful shell 'bash' and write .sh scripts, which are inherently more powerful.
Maybe you are looking for
-
Install error for Oracle 10g on Solaris x86 64-bit. NETCA won't run
Hi All, I'm installing Oracle 10.2.0.1 on Solaris x86 64-bit. I run the Oracle installer and all runs well until the NETCA portion of the install. It then errors (error file below). When i attempt to run NETCA outside of the installer i'm getting the
-
Not able to edit existing text in a converted to Word PDF file.
I cannot edit text in a converted to word PDf file. I can only add text. Why? I am using Export PDF
-
Can anyone explain how to correct printing when only the first page prints?
I am having a problem printing pdf document. I am using Adobe Acrobat X, MacBook Air. The first page of the pdf will print, but the remaining pages of the document do not. I occurs on multiple printers. I have tried "Print as Image" and that works
-
Platforms supported by JMS adapter
Hi , Can anybody tell which platform/OS the JMS adapter supports ? Regards, Tarang
-
Produktaktivierung nach 3. Installation
1. Installation wurde gelöscht und der PC verkauft 2. Installation wurde durch einen Festplattenaustausch durch den ASUS-Service vernichtet.