J2sdkee1.2.1 to j2sdkee1.3
Regedit shows several references to 1.2.1 although I used Add/Remove Progams to remove 1.2.1 . I realize this is not unusual, but what I would like to know is how to fix it. Now when I try to run deploytool from c:\j2sdkee1.3\bin, I get the following output:
C:\j2sdkee1.3\bin>deploytool
Deployment tool version 1.3. Type deploytool -help for command line options. Sta
rting...
Error: Could not connect to localhost - org.omg.CORBA.COMM_FAILURE: minor code
: 1398079689 completed: No
(For more detail, see file 'C:\DOCUME~1\SCHWAR~1\LOCALS~1\Temp\.j2eeDeploytoo
lExceptionLog.out')
Deploytool does come up, but then I get errors trying to create a jar file for the bean. Any suggestions?
Betty
I would award Duke Dollars if I could just figure out how!
I think the reason you have no replies to this is that like me most people probably don't know what DeployTool is.
Is there any support or forums available for DeployTool, if so I suggest you try them.
Similar Messages
-
J2sdkee1.3.1 with j2sdk1.4.0
hi all,
I'm using jdbc3 for some of the code i have written, and so I use j2sdk1.4.0 .. and also Im using j2ee server.. j2sdkee1.3.1..
and have set my java home in the j2ee server as j2sdk1.4.0
my question is did any body, have any problem using j2sdkee1.3.1 with
j2sdkee1.4.0 ???
I use windows2000 prof sp-2
im getting the following error in random when I shut down the server using
j2ee -stop
is this due to the jdk version mismatch??
error message in the server console is
Shutting down the J2EE server.
Shutting down JMS service...
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77F82D8F
Function=RtlInitUnicodeString+0x1B
Library=C:\WINNT\System32\ntdll.dll
Current Java thread:
at java.lang.Shutdown.halt(Native Method)
at java.lang.Shutdown.exit(Shutdown.java:211)
- locked <0AA93568> (a java.lang.Class)
at java.lang.Runtime.exit(Runtime.java:90)
at java.lang.System.exit(System.java:713)
at com.sun.enterprise.server.J2EEServer.shutdown(J2EEServer.java:1039)
at com.sun.enterprise.server.ServerObjectImpl.shutdown(ServerObjectImpl.java:19)
at org.omg.stub.com.sun.enterprise.server._ServerObjectImpl_Tie._invoke(Unknown
at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:3
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java
Dynamic libraries:
0x00400000 - 0x00406000 C:\j2sdk1.4.0\bin\java.exe
0x77F80000 - 0x77FFB000 C:\WINNT\System32\ntdll.dll
0x77DB0000 - 0x77E0C000 C:\WINNT\system32\ADVAPI32.dll
0x77E80000 - 0x77F35000 C:\WINNT\system32\KERNEL32.DLL
0x77D40000 - 0x77DAD000 C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
0x6D330000 - 0x6D442000 C:\j2sdk1.4.0\jre\bin\client\jvm.dll
0x77E10000 - 0x77E74000 C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
0x77570000 - 0x775A0000 C:\WINNT\System32\WINMM.dll
0x6D1D0000 - 0x6D1D7000 C:\j2sdk1.4.0\jre\bin\hpi.dll
0x6D300000 - 0x6D30D000 C:\j2sdk1.4.0\jre\bin\verify.dll
0x6D210000 - 0x6D228000 C:\j2sdk1.4.0\jre\bin\java.dll
0x6D320000 - 0x6D32D000 C:\j2sdk1.4.0\jre\bin\zip.dll
0x6D2D0000 - 0x6D2DD000 C:\j2sdk1.4.0\jre\bin\net.dll
0x75050000 - 0x75058000 C:\WINNT\System32\WSOCK32.dll
0x75030000 - 0x75043000 C:\WINNT\System32\WS2_32.DLL
0x75020000 - 0x75028000 C:\WINNT\System32\WS2HELP.DLL
0x55600000 - 0x55629000 C:\WINNT\System32\wspwsp.dll
0x74FD0000 - 0x74FEF000 C:\WINNT\system32\msafd.dll
0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
0x785C0000 - 0x785CC000 C:\WINNT\System32\rnr20.dll
0x77980000 - 0x779A4000 C:\WINNT\System32\DNSAPI.DLL
0x77340000 - 0x77353000 C:\WINNT\System32\iphlpapi.dll
0x77520000 - 0x77525000 C:\WINNT\System32\ICMP.DLL
0x77320000 - 0x77337000 C:\WINNT\System32\MPRAPI.DLL
0x75150000 - 0x75160000 C:\WINNT\System32\SAMLIB.DLL
0x75170000 - 0x751BF000 C:\WINNT\System32\NETAPI32.DLL
0x77BE0000 - 0x77BEF000 C:\WINNT\System32\SECUR32.DLL
0x751C0000 - 0x751C6000 C:\WINNT\System32\NETRAP.DLL
0x77950000 - 0x7797A000 C:\WINNT\system32\WLDAP32.DLL
0x77A50000 - 0x77B3A000 C:\WINNT\system32\OLE32.DLL
0x779B0000 - 0x77A4B000 C:\WINNT\system32\OLEAUT32.DLL
0x773B0000 - 0x773DE000 C:\WINNT\System32\ACTIVEDS.DLL
0x77380000 - 0x773A2000 C:\WINNT\System32\ADSLDPC.DLL
0x77830000 - 0x7783E000 C:\WINNT\System32\RTUTILS.DLL
0x77880000 - 0x7790D000 C:\WINNT\System32\SETUPAPI.DLL
0x77C10000 - 0x77C6E000 C:\WINNT\System32\USERENV.DLL
0x774E0000 - 0x77512000 C:\WINNT\System32\RASAPI32.DLL
0x774C0000 - 0x774D1000 C:\WINNT\System32\rasman.dll
0x77530000 - 0x77552000 C:\WINNT\System32\TAPI32.dll
0x71780000 - 0x7180A000 C:\WINNT\system32\COMCTL32.DLL
0x70BD0000 - 0x70C34000 C:\WINNT\system32\SHLWAPI.DLL
0x77360000 - 0x77379000 C:\WINNT\System32\DHCPCSVC.DLL
0x775A0000 - 0x77625000 C:\WINNT\System32\CLBCATQ.DLL
0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll
0x777F0000 - 0x777F5000 C:\WINNT\System32\rasadhlp.dll
0x6D1F0000 - 0x6D1F6000 C:\j2sdk1.4.0\jre\bin\ioser12.dll
0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
0x690A0000 - 0x690AB000 C:\WINNT\System32\PSAPI.DLL
Local Time = Sun Aug 04 10:57:13 2002
Elapsed Time = 76463
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
# An error report file has been saved as hs_err_pid1636.log.
# Please refer to the file for further information.
Thanks a lot for any help...
-Jerj2sdkee1.3.1 with j2sdk1.4.0 works good for me, but
on Windows NT 4.0SP6. Don't know on W2K.hi Martin,
Thanks a lot.
Actually there were problems during deployment of ejb
applications too. java.exe was generating errors, and were
raising NamingExceptions during run.
The gnumake utility I was running, for the deployment, reported
" Error5 " during this.. which I think is something similar to
I/O Error..
Anyway I tried using j2sdk1.4.0_01 , the latest release .,
and till now these errors have not reoccured.
Now I assume this was due to some problem with the j2sdk1.4.0
since the latest jdk seems to have solved it..
Thanks again.
-Jer -
Jsp taglib problems in J2ee server of j2sdkee1.3
Fresh from solving the problems with usebean in jsp, I again got a problem with the custom tags of JSP
I am using Jdk1.3 and j2sdkee1.3, windows98
The class file is stored in a package called my in the c:\j2sdkee1.3\lib\classes\my folder
and the tld and jsp file stored in c:\j2sdkee1.3\public_html folder
when I access the atm.jsp page, I got this error message
A Servlet Exception Has Occurred
org.apache.jasper.compiler.ParseException: End of content reached while more parsing required: tag nesting error?
Here is the ATMJsp.tld code
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>ATMJsp</shortname>
<info>a tag library for the atm details</info>
<tag>
<name>ATM</name>
<tagclass>my.atmtag</tagclass>
<bodycontent>JSP</bodycontent>
<info>Outputs of the ATM Counter</info>
</tag>
</taglib>
I try:
When I put the <bodycontent> tags below the <info> tags, I got the error message that the tag doesn't allow "bodycontent" here
I don't know what caused the problem ... is there some mistake in the above code?
Include other file to make it more clear---* atm.jsp and atmtag.java
atm.jsp
<%@ page import="my.atmtag" %>
<%@ taglib uri="ATMJsp.tld" prefix="atmjsp" %>
<%@ page errorPage="errorpage.jsp" %>
<!DocType HTML Public "-//W3C//DTD// HTML 4.0 Translational//EN">
<html>
<head></head>
<body>
<h3 align=center>ATM counters that need cash</h3>
<table><tr>
<td></td>
<td><atmjsp:ATM></td>
</tr>
</body>
</html>
atmtag.java
package my;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import java.io.*;
import java.sql.*;
import java.math.*;
import java.util.*;
//tag handler
public class atmtag extends TagSupport
Connection connect=null;
Statement state=null;
ResultSet result=null;
public atmtag() throws ClassNotFoundException
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
public int doStartTag() throws JspTagException
return EVAL_BODY_INCLUDE;
public int doEndTag() throws JspTagException
try
JspWriter out=pageContext.getOut();
connect=DriverManager.getConnection("jdbc:odbc:EarnestBank","","");
String strquery="select cCounter_id, cAddress, mCashBalance from Counter where mCashBalance<=10000";
state=connect.createStatement();
ResultSet result=state.executeQuery(strquery);
String sid=null;
String saddress=null;
String sbalance=null;
Vector v=new Vector();
while(result.next())
sid=result.getString(1);
saddress=result.getString(2);
sbalance=result.getString(3);
v.add(sid);
v.add(saddress);
v.add(sbalance);
for (int i=0; i<v.size();i++)
String str=(String)v.elementAt(i);
pageContext.getOut().write(str);
catch(Exception ex)
return EVAL_PAGE;
Pls help me to get through this hurdle
Thanks1) To handle <bodycontent> you should inherit from BodyTagSupport
class
2) You should use your bean like: <td><atmjsp:ATM/></td>
with closing slash - it's bodyless tag - this mistake
causes JSP compiler to report error
Enjoy!
Paul -
Error when launching j2ee (j2sdkee1.3.1) in Windows XP Professional
Hi!
I use j2sdk1.4.2_03 on Windows XP Professional and I just installed j2sdkee1.3.1.
(I do have assigned environment variables J2EE_HOME, JAVA_HOME and PATH accordingly)
When launching > j2ee -verbose I do get the following error:
Could anyone give me some hints about this problem?
It would be much appreciated.
~~maite
C:\>j2ee -verbose
J2EE server listen port: 1050
Naming service started:1050
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:176)
at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:68)
at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:70)
at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:641)
at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:583)
at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1007)
at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:690)
at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1088)
at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:981)
at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:2425)
at com.sun.enterprise.naming.SerialContextProviderImpl.initSerialContextProvider(SerialContextProviderImpl.java:37)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:233)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
java.rmi.RemoteException
at com.sun.enterprise.naming.SerialContextProviderImpl.initSerialContext
Provider(SerialContextProviderImpl.java:46)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:233)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972) java.rmi.RemoteException
at com.sun.enterprise.naming.SerialContextProviderImpl.initSerialContextProvider(SerialContextProviderImpl.java:46)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:233)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
java.lang.RuntimeException
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:346)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
Error executing J2EE server ...
------------------------------------------------------------------------------------------------------------------------Sorry, I just learned from another message in the forum that it was a firewall problem. It is working now.
-
i installed jdk1.3 standard edition. then i installed jdk1.2.1 enterprise edition. however, when i compile, i get the error message "package javax.servlet does not exist". what am i doing wrong?
thanks.In j2sdk The package is
j2sdkee1.x/lib/j2ee.jar
and in JavaWebServer
It is in
jws/lib/servlet.jar
u copy these jar files in to
jdk1.3/jre/lib/ext
folder
then u dont need to add these jar files into classpath
otherwise include these jar files path into ur classpath
Bye -
Problem in executing beans in j2sdkee1.2.1
I have an email application which uses a bean called webmailbean.java. I could successfully execute this mail application under java webserver2.0 but it fails under j2sdkee1.2.1 server. I have kept this bean in a package called test and placed this bean in c:\j2sdkee1.2.1\lib\classes\test\abc.class and trying to use this bean in my jsp page.
It is giving an error message like this:Cannot create bean of class webmailbean.While other examples which uses beans are working fine in j2ee server why this application fails?
plz any one help me
Thanks in advance,
ananth krishnaI had an error like this 2 days ago
After several posts here I eventually found out (thru a guess on my part) that the inf flat file that the bean referred to was corrupted.
You might do well to read some of the replies to that post, as they may help you:
http://forum.java.sun.com/thread.jsp?forum=45&thread=162685 -
Problem in j2sdkee1.2.1 installation
Hi,
I installed j2sdkee1.2.2 . I set the class path as c:\j2sdkee1.2.1\lib\j2ee.jar and PATH as "c:\j2sdkee1.2.1\bin;c:\j2sdkee1.2.1\lib".
I also edited userconfig.bat under \bin directory and set J2EE_HOME=c:\j2sdkee1.2.1.
Everytime I try to start the server with "j2ee -verbose" I get the following error "ERROR: set J2EE_HOME before running this script"
Can someone please help?
Thanx in AdvanceIn j2ee.bat :
set JAVA_HOME=blahblah
set J2EE_HOME=blahblahblah as your first two lines
Hi,
I installed j2sdkee1.2.2 . I set the class path as
c:\j2sdkee1.2.1\lib\j2ee.jar and PATH as
"c:\j2sdkee1.2.1\bin;c:\j2sdkee1.2.1\lib".
I also edited userconfig.bat under \bin directory and
set J2EE_HOME=c:\j2sdkee1.2.1.
Everytime I try to start the server with "j2ee
-verbose" I get the following error "ERROR: set
J2EE_HOME before running this script"
Can someone please help?
Thanx in Advance -
How To Use Connection pooling with j2sdkee1.3?
hi!
How to use javax.sql.ConnectionPoolDataSource and
javax.sql.PooledConnection with j2sdkee1.3.?
In j2ee1.3's deployment tool,
to specify the resource factories,
javax.sql.ConnectionPoolDataSource is not available.
Please Help me to use Connection pooling.
Dhaya.Vendor implementations usually have a fair amount of optimization. For J2EE apps, my concern would be using your pool in transactional calls. When you make a transactional call across several beans/methods, the vendor's pool makes sure that you get the same connection each time you get a connection from the pool so that if you want to rollback the work (in case an error occurs), you can. Does your current connection pool support this?
-
ORB Security problem after changing from J2SDKEE1.3beta2 to J2SDKEE1.3FCS
Hello,
can anybody help me? I've written a J2EE application running j2ee as application server and iPlanet 4.1 FE/Unify eWave Engine as web container. With J2SDKEE1.3beta2 everything is O.K., but installing the FCS release and trying to connect to the ORB I get following error message:
com.sun.enterprise.iiop.security.SecurityMechanismException: Trust evaluation failed because client does not conform to configured security policies
at com.sun.enterprise.iiop.security.SecurityMechanismSelector.evaluateTrust(SecurityMechanismSelector.java:1190)
at com.sun.enterprise.iiop.security.SecurityServiceImpl.setSecurityContext(SecurityServiceImpl.java:148)
at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:349)
at com.sun.corba.ee.internal.Interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:450)
at com.sun.corba.ee.internal.Interceptors.PIORB.invokeServerPIIntermediatePoint(PIORB.java:799)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:200)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:112)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:273)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)
What can I do?I tried your method and it is giving me this exception..Can you help ??
Trouble: javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]
javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory. Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:201)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:189)
at java.lang.ClassLoader.loadClass(ClassLoader.java:309)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:265)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:325)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:212)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:45)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
at javax.naming.InitialContext.init(InitialContext.java:222)
at javax.naming.InitialContext.<init>(InitialContext.java:178)
at template.HelloServer.HelloTest(HelloServer.java:47)
at template.HelloServer.main(HelloServer.java:18) -
Can't start J2ee server using j2sdkee1.3.1
When i try to start j2ee server , it shows the following
Error message.
Exception in thread "main" java.lang.NoClassDefFoundError: javax/naming/Context
at com.sun.enterprise.server.J2EEServer.<clinit>(J2EEServer.java:53)
I have set all environment variables as follows
set path=.;c:\jdk1.2.2\bin;c:\j2sdkee1.3.1\bin;
set classpath=.c:\jdk1.2.2\lib;c:\j2sdkee1.3.1\lib\j2ee.jar
set JAVA_HOME=c:\jdk1.2.2
set J2EE_HOME=c:\j2sdkee1.3.
pls kindly give a solution.Try rather using the 1.4 version available here: http://java.sun.com/j2ee/1.4/
and use this dedicated forum: http://forum.java.sun.com/forum.jsp?forum=136
-Alexis -
Strange error with j2sdkee1.3.1
I am using XP prof. with SP2
I installed jdk1.3.0_02 to c:, made JAVA_HOME as C:\jdk1.3.0_02
and j2sdkee1.3.1 in c:, made J2EE_HOME as C:\j2sdkee1.3.1
now when i go to j2sdkee1.3.1/bin and try to start server , with j2ee -verbose command,i get following error
C:\j2sdkee1.3.1\bin>j2ee -verbose
J2EE server listen port: 1050
Naming service started:1050
Exception in thread "main" java.lang.NoSuchMethodError
at com.sun.corba.ee.internal.corba.AnyImpl.createTypeCodeForClass(AnyImp
l.java:1256)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.createTypeCode(Sh
utdownUtilDelegate.java:223)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(Shutdown
UtilDelegate.java:178)
at javax.rmi.CORBA.Util.writeAny(Util.java:80)
at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.re
bind(Unknown Source)
at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:188
at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:202
at javax.naming.InitialContext.rebind(InitialContext.java:370)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManag
erImpl.java:192)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManag
erImpl.java:149)
at com.sun.enterprise.server.J2EEServer.bindObject(J2EEServer.java:718)
at com.sun.enterprise.server.J2EEServer.createServerObject(J2EEServer.ja
va:473)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:244)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
Terminate batch job (Y/N)? y
C:\j2sdkee1.3.1\bin>
i loaded new OS,still i got the same error,there r no other processes running backside.I dont understand why it is giving me such error.
If anyone knows please help me out.Well, there's no end quotation mark after your print statement. Could that be causing the problem?
Michael Bishop -
Why only j2sdkee1.3 support JNDI lookup "java:comp/env" from remote client?
Hi:
I have been puzzled by this function of j2sdkee1.3.1 support JNDI lookup "java:comp/env" from client. I always think that "java:comp/env" namespace can only be access by the application server self for it is a private namespace. The weblogic and websphere doest support this.
Why?
Regards!
John LeeHi:I'm unable to get JNDI reference object from remote application client with "java:comp/env/ejb/<lookupName>".
The exception says:
Application threw an exception:javax.naming.CommunicationException: Cannot connect to ORB [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No]
The J2EE server and client are run on different machines, and needs to be like this. There isn't any problem with JSP/Servlet (cause they run/execute on the server itself). How will the client find out the JNDI refernce my mere specification of "java:comp/env/..."?
Am I making a mistake anywhere?
BEA Weblogic & IBM Websphere allows explicitly specifying the server name, while doing JNDI lookup. Is there anything similary for J2EE?
I couldn't find reference for this anywhere in the J2EE tutorial or EJB books.
- Devashish -
Hi:
I have been puzzled by this function of j2sdkee1.3.1 support JNDI lookup "java:comp/env"
from client. I always think that "java:comp/env" namespace can only be access
by the application server self for it is a private namespace. The weblogic and
websphere doest support this.
Why?
Regards!
JohnHi:I'm unable to get JNDI reference object from remote application client with "java:comp/env/ejb/<lookupName>".
The exception says:
Application threw an exception:javax.naming.CommunicationException: Cannot connect to ORB [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No]
The J2EE server and client are run on different machines, and needs to be like this. There isn't any problem with JSP/Servlet (cause they run/execute on the server itself). How will the client find out the JNDI refernce my mere specification of "java:comp/env/..."?
Am I making a mistake anywhere?
BEA Weblogic & IBM Websphere allows explicitly specifying the server name, while doing JNDI lookup. Is there anything similary for J2EE?
I couldn't find reference for this anywhere in the J2EE tutorial or EJB books.
- Devashish -
Need of j2sdkee1.2.1 (j2ee server)
hi
I like to download the j2sdkee1.2.1 server
tell me the location in sun sitehttp://java.sun.com/j2ee/1.2/download.html#sdk
You really didn't look at all did you?
/k1 -
J2SDKEE1.2.1 compiling
Well, I�ve created a batch file for compiling the .java files from the tutorial. But in one way or another the compiler can�t find the j2ee.jar package. Though all path�s were set correctly. Here�s my batch file. Who can help me out!!!
echo The JAVA environment is about to be set...
set JAVA_HOME=c:\jdk1.3.1
set J2EE_HOME=c:\j2sdkee1.2.1
rem set DRIVE1=c:
rem set DRIVE2=e:
set JDK=c:\jdk1.3.1
set J2SDKEE=c:\j2sdkee1.2.1
set CLASSES=e:\src\servlet
set DEVLPMT=e:\src\servlet
set PATH = .;%JDK%\bin;c:\windows\command;c:\j2sdkee1.2.1\bin
set CLASSPATH=.;%CLASSES%;%DEVLPMT%;%JDK%\src.jar;%J2SDKEE%\lib\j2ee.jar;%JDK%\lib\tools.jar;c:\j2sdkee1.2.1\bin;c:\j2sdkee1.2.1\lib\jhall.jar;c:\j2sdkee1.2.1\lib\ejb10deployment.jar
set CPATH = .;%J2EE_HOME%\lib\j2ee.jar
%JAVA_HOME%\bin\javac -classpath %CPath% %CLASSES%\ConverterEJB.java %CLASSES%\Converter.java %CLASSES%\ConverterHome.javaIt is because of classpath problem
if any of the classpath is not available in ur setting , the remain won't work ,
for ex u have class path to c:\l.jar;c:\ll.jar
in this case if l.jar is not available the classpath won't take the next one...
so try to check if there any file is missing for u..
u can get the whole paths by typing
set | more cammand in the prompt...
let me know is it working now
[email protected]
Maybe you are looking for
-
How do I use PFIO as my analog trigger channel?
I'm trying to use PFIO/TRIG1 as a analog trigger signal in a channel scan list. The analog input configuration doesn't seem to recognize this as a analog channel (just 1 to 15. I'm using Labview 6.1, PCI-MIO-16e-4, and the BNC-2090
-
While importing clip getting error "The file contains too many audio channels" in premiere pro cs5
Hey, I am using video clips from sony digital hi8 camera and trying to import video clips (.mov) 720*480 fps 29.97 .But unable to get into premiere pro cs5.System configuration: MAC 10.6.4 2.66ghz intel core i7 4gb ram nvidia geforce gt 330 mn. E
-
Issue with store apps when upgrading to Windows 8.1
Every once in awhile when performing an in-place upgrade from Windows 8.0 Enterprise to Windows 8.1 Enterprise, we will experience a strange issue where most of the default store apps will not launch. They will attempt to launch, and then drop the u
-
Word PDF Hyperlinks and Safari
I have a word document that contains a series of HTML and PDF links. All html links in the document open fine on the Mac, whilst PDF links, open in Safari as garbage/ASCII code. If I cut/paste the link into Safari directly, the PDFs open fine, or if
-
Java script callback not called from plugin code
Hi, I am having a plugin which works on FF 3.6. I am trying to make it work on FireFox 4/5. My java script callback for resize is getting called only for first time from plugin code and second time onwards its not getting called. We are using Gecko 2