J2ee urgent
i am getting error executing j2ee and deploytool can anyone sent me the bat files for running in win98 my email address is [email protected]
i am receiving the following error executing deploytool
Exception in thread "main" java.lang.NoClassDefFoundError: ;C:\jdk1/4\lib\tools/jar;C:\j2see\lib\jhall/jar;C:\j2see\lib\jh/jar;C:\j2see\lib\//\help\DeployTool\deployhelp/jar;C:\j2see\lib\//\help\DeployTool
and i am not able to fing jh.jar in lib directory please help me
my installation is in c:\j2see and i have set JAVA_HOME and J2EE_HOME correctly
Similar Messages
-
Urgent!!:::J2EE processes are not seen in SAPMMC
Hi experts,
I installed WAS 04s on my pc. But for that i used administrator login(for window), after intallation i switched to my usual login(for window). Here i tried to run the SAPMMC but surprisingly i could not see the J2EE processes(server, SDM and dispatched) running which were there through administrator login.
Could you please tell whats the problem and how to get around this?
Regards,Harini,
I must tell you, YOU have been amazing on EP forum.
Anyway, I solved that problem, but problems seem not getting over..
I launched my NWDS and mention the localhost as my J2EE Engine but when i see that in the Dynpro perspective the status of J2ee engine is shown as N/A. Even if i change this J2EE engine to some other earlier servers, the status is shown as N/A. I dont know why the status is shown as N/A when server is up which i checked through SAPMMC.
Could you please help me out? please its very urgent.
Regards, -
Authentication using database in j2ee ri server? URGENT!!
Hello I have installed j2sdkee1.3.1 and I use the web and ejb server that it includes. I start it with j2ee.bat and I create a application with jsp and ejb, and I use deploytool to deploy it. I don't have problem, but now I would like to use a form-based autentication. I config it in deploytool but I want that the j2ee server access to a database to check if a user have the role that he need to access. I do this with the option of deploytool in which you can add users and roles, but I don't know how to config it for a database.
In tomcat4.1 you can do this adding the next lines to server.xml:
<Realm className="org.apache.catalina.realm.MemoryRealm" />
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="com.jnetdirect.jsql.JSQLDriver"
connectionURL="jdbc:JSQLConnect://localhost/database=name"
connectionName="user" connectionPassword="pass"
userTable="user" userNameCol="usuario" userCredCol="clave"
userRoleTable="userRol" roleNameCol="rol" />
I want to use only the j2ee server. I config it in j2sdkee1.3.1\conf\server.xml adding the next lines, as I do with Tomcat but here in j2ee it isn't.
I don't know why j2ee server doesn't use this file, or how I have to config it to use a database to autenticate.
It's very urgent.
Thanks for all and sorry for my english I'm spanish.Hi Moi,
j2ee1.3.1 is not supported any more. Please try j2ee1.4beta2.
Regards,
-- markus. -
What server comes with J2EE download?(URGENT)
I've been trying to install jive Forum but always faced problem with it and it seems like J2EE original server don't support it.
How can I used other servers like Tomcat with J2EE?
Please help URGENT!Ok. I'm installing jive forums (www.jivesoftware.com).
By now, I've successfully run this forum on Tomcat server and HSQLDB provided by the forum itself. So I supposed that I've got the right settings. Before going on further, let me explain abit of the forum installation. First of all, the home directory for the forum must be set.After that, it's deploy. After deploying, user must access the setup which is jsp pages.
So I can access the setup page deploying the forum using Tomcat but not J2EE server. And the error I got is that the home directory has not been set when I run it with J2EE server but it's fine with Tomcat server.
In the command prompt, this is the errors I get:
java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
at java.lang.Thread.getContextClassLoader(Thread.java:1182)
at org.apache.jsp.index$jsp._jspService(index$jsp.java:187)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:247)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at com.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java
:40)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:213)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:534)
If your project assignment was to deploy this forum
app on J2EE RI server, then I suppose it can be
installed on it.I'm wonder what is RI server. Is it the same with Tomcat? I found the configurations file of Tomcat and J2EE server almost the same.
Obviously the forum software relies on a database. Is
the database running? Is the jdbc driver for the
database included in the forum application or have you
configured your server to find it?For your information, the forum supports Cloudscape database which comes with J2EE1.3.1. The setting up of the database is in the setup pages.
Do you have any indication what's wrong with the
setup? Are there errors and stacktraces in the console
output? Can you access the application on your own
machine at all?The errors is above. Yes I can access the application on my machine using Tomcat server but not J2EE server.
Please help. Thanks -
J2EE StartUp Problem, URGENT.
Hi all!
I'm having a problem since friday with the J2EE Engine Startup. The problem is that MMC says me that the server is running but i can access to the server by anyway. The developer trace of the jcontrol process is:
[Thr 2968] Tue Aug 09 13:59:50 2005
[Thr 2968] JControlICheckProcessList: process server0 started (PID:1544)
JStartupStartJLaunch: program = C:\usr\sap\J2E\JC00/j2ee/os_libs/jlaunch.exe
-> arg[00] = C:\usr\sap\J2E\JC00/j2ee/os_libs/jlaunch.exe
-> arg[01] = pf=C:\usr\sap\J2E\SYS\profile\J2E_JC00_toshiba-user
-> arg[02] = -DSAPINFO=J2E_00_sdm
-> arg[03] = -file=C:\usr\sap\J2E\JC00\SDM\program\config\sdm_jstartup.properties
-> arg[04] = -nodeName=sdm
-> arg[05] = -nodeId=2
-> arg[06] = -syncSem=JSTARTUP_WAIT_ON_2964
-> arg[07] = -jvmOutFile=C:\usr\sap\J2E\JC00\work\jvm_sdm.out
-> arg[08] = -stdOutFile=C:\usr\sap\J2E\JC00\work\std_sdm.out
-> arg[09] = -locOutFile=C:\usr\sap\J2E\JC00\work\dev_sdm
-> arg[10] = -mode=JCONTROL
-> arg[11] = pf=C:\usr\sap\J2E\SYS\profile\J2E_JC00_toshiba-user
-> lib path = PATH=C:\j2sdk1.4.2_08\jre\bin\server;C:\j2sdk1.4.2_08\jre\bin;C:\oracle\WAS\92\bin;C:\oracle\WAS\92\jre\1.4.2\bin\client;C:\oracle\WAS\92\jre\1.4.2\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\j2sdk1.4.2_08\bin;C:\oracle\WAS\92\Appache\perl\5.00503\bin\MSWin32-x86;C:\usr\sap\J2E\SCS01\exe;C:\usr\sap\J2E\JC00\exe;C:\usr\sap\J2E\SYS\exe\run
-> exe path = PATH=C:\j2sdk1.4.2_08\bin;C:\usr\sap\J2E\JC00\j2ee\os_libs;C:\oracle\WAS\92\bin;C:\oracle\WAS\92\jre\1.4.2\bin\client;C:\oracle\WAS\92\jre\1.4.2\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\j2sdk1.4.2_08\bin;C:\oracle\WAS\92\Appache\perl\5.00503\bin\MSWin32-x86;C:\usr\sap\J2E\SCS01\exe;C:\usr\sap\J2E\JC00\exe;C:\usr\sap\J2E\SYS\exe\run
[Thr 2968] Tue Aug 09 13:59:51 2005
[Thr 2968] JControlICheckProcessList: process SDM started (PID:1556)
[Thr 1188] Tue Aug 09 14:01:01 2005
[Thr 1188] JControlMSMessageFunc: receive command:6, argument:1213679940 from Message Server
[Thr 1188] JControlMSMessageFunc: receive command:6, argument:1213679940 from Message Server
[Thr 1188] JControlMSMessageFunc: receive command:6, argument:1213679940 from Message Server
[Thr 1188] JControlMSMessageFunc: receive command:6, argument:1213679940 from Message Server
[Thr 1188] JControlMSMessageFunc: receive command:6, argument:1213679940 from Message Server
[Thr 1188] JControlMSMessageFunc: receive command:6, argument:1213679940 from Message Server
[Thr 1188] JControlMSMessageFunc: receive command:6, argument:1213679940 from Message Server
[Thr 1188] JControlMSMessageFunc: receive command:6, argument:1213679940 from Message Server
[Thr 1188] Tue Aug 09 14:01:58 2005
[Thr 1188] JControlMSMessageFunc: receive command:6, argument:1213679940 from Message Server
[Thr 1188] JControlMSMessageFunc: receive command:6, argument:1213679940 from Message Server
[Thr 1188] JControlMSMessageFunc: receive command:6, argument:1213679940 from Message Server
[Thr 1188] JControlMSMessageFunc: receive command:6, argument:1213679940 from Message Server
[Thr 1188] JControlMSMessageFunc: receive command:6, argument:1213679940 from Message Server
[Thr 1188] JControlMSMessageFunc: receive command:6, argument:1213679940 from Message Server
[Thr 1188] JControlMSMessageFunc: receive command:6, argument:1213679940 from Message Server
[Thr 1188] JControlMSMessageFunc: receive command:6, argument:1213679940 from Message Server
[Thr 1188] Tue Aug 09 14:10:25 2005
[Thr 1188] JControlMSReadMessage: NiPeek() returns -5 NIETIMEOUT
[Thr 1188] Tue Aug 09 14:15:45 2005
[Thr 1188] JControlMSReadMessage: NiPeek() returns -5 NIETIMEOUT
[Thr 1188] Tue Aug 09 14:20:46 2005
[Thr 1188] JControlMSReadMessage: NiPeek() returns -5 NIETIMEOUT
[Thr 1188] Tue Aug 09 14:26:06 2005
[Thr 1188] JControlMSReadMessage: NiPeek() returns -5 NIETIMEOUT
[Thr 1188] Tue Aug 09 14:31:07 2005
[Thr 1188] JControlMSReadMessage: NiPeek() returns -5 NIETIMEOUT
[Thr 1188] Tue Aug 09 14:36:27 2005
[Thr 1188] JControlMSReadMessage: NiPeek() returns -5 NIETIMEOUT
[Thr 1188] Tue Aug 09 14:41:28 2005
[Thr 1188] JControlMSReadMessage: NiPeek() returns -5 NIETIMEOUT
Then i try to login the visual admin gives me a windows error and the msg_server process shuts down alone. Then i restart that node and agregate the following lines to the trace:
Thr 1188] Tue Aug 09 14:42:25 2005
[Thr 1188] *** ERROR => MsINiRead: NiBufReceive failed (NIECONN_BROKEN) [msxxi.c 2488]
[Thr 1188] *** ERROR => MsIReadFromHdl: NiRead (rc=NIECONN_BROKEN) [msxxi.c 1652]
[Thr 1188] Tue Aug 09 14:42:27 2005
[Thr 1188] ***LOG Q0I=> NiPConnect2: SiPeekPendConn (10061: WSAECONNREFUSED: Connection refused) [nixxi_r.cpp 8588]
[Thr 1188] *** ERROR => MsIAttachEx: NiBufConnect to toshiba-user/3601 failed (rc=NIECONN_REFUSED) [msxxi.c 633]
[Thr 1188] *** WARNING => Can't reconnect to message server (toshiba-user/3601) [rc = -100]-> reconnect [jcntrms.c 295]
[Thr 1188] Tue Aug 09 14:42:32 2005
[Thr 1188] *** ERROR => MsIAttachEx: NiBufConnect to toshiba-user/3601 failed (rc=NIECONN_REFUSED) [msxxi.c 633]
[Thr 1188] *** WARNING => Can't reconnect to message server (toshiba-user/3601) [rc = -100]-> reconnect [jcntrms.c 295]
[Thr 1188] Tue Aug 09 14:42:38 2005
[Thr 1188] *** ERROR => MsIAttachEx: NiBufConnect to toshiba-user/3601 failed (rc=NIECONN_REFUSED) [msxxi.c 633]
[Thr 1188] *** WARNING => Can't reconnect to message server (toshiba-user/3601) [rc = -100]-> reconnect [jcntrms.c 295]
[Thr 1188] Tue Aug 09 14:42:44 2005
[Thr 1188] *** ERROR => MsIAttachEx: NiBufConnect to toshiba-user/3601 failed (rc=NIECONN_REFUSED) [msxxi.c 633]
[Thr 1188] *** WARNING => Can't reconnect to message server (toshiba-user/3601) [rc = -100]-> reconnect [jcntrms.c 295]
[Thr 1188] Tue Aug 09 14:42:49 2005
[Thr 1188] JControlMSConnect: reconnected to message server (toshiba-user/3601)
[Thr 1188] Tue Aug 09 14:48:11 2005
[Thr 1188] JControlMSReadMessage: NiPeek() returns -5 NIETIMEOUT
[Thr 1188] Tue Aug 09 14:53:12 2005
[Thr 1188] JControlMSReadMessage: NiPeek() returns -5 NIETIMEOUT
[Thr 1188] Tue Aug 09 14:58:32 2005
[Thr 1188] JControlMSReadMessage: NiPeek() returns -5 NIETIMEOUT
I try to login the visual admin again and gives me the following error: "Cannot open connection on host: 191.9.6.22 and port: 50004"
Looking the log and trace files i see the following errors:
- SAPEngine_System_Thread[impl:5]_5##0#0#Error#1#/System/Server#Plain###Encomi: failed to connect to toshiba-user/3201(Connection refused: connect)#
- java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
at java.net.ServerSocket.implAccept(ServerSocket.java:448)
at java.net.ServerSocket.accept(ServerSocket.java:419)
at com.sap.engine.core.port.impl0.ServerSocketListener.run(ServerSocketListener.java:87)
- erver socket listener opened by service on socket encountered error. The listener will be stopped.#2#p4#ServerSocket[addr=/0.0.0.0,port=0,localport=50004]
I dont know whats happening, if somebody knows i hope that helps me. Please is urgent.
Thx and Rgds.
GregoryHi, thx a lot both.
Respect the link
http://<hostname>:50<instanceno>00/sap/monitoring/SystemInfo , i cant access it. I cant access by telnet, by visual admin.
In the work folder under \usr\sap\<sid>\JC00 i found that the last updated files are:
- available.txt that contains the following data:
Unavailable 08.08.2005 10:46:53 - 08.08.2005 10:58:54
Available 08.08.2005 10:59:54 - 08.08.2005 13:52:54
Unavailable 08.08.2005 13:53:54 - 08.08.2005 13:53:54
Available 08.08.2005 13:54:54 - 08.08.2005 14:03:54
Unavailable 08.08.2005 14:04:54 - 08.08.2005 14:04:54
Available 08.08.2005 14:05:54 - 08.08.2005 14:34:54
Unavailable 08.08.2005 14:35:54 - 08.08.2005 14:39:44
Unavailable 08.08.2005 14:56:17 - 08.08.2005 16:24:13
Unavailable 08.08.2005 16:28:07 - 08.08.2005 16:29:07
Unavailable 08.08.2005 16:34:36 - 08.08.2005 17:17:58
Unavailable 09.08.2005 08:13:36 - 09.08.2005 08:54:33
Unavailable 09.08.2005 08:57:04 - 09.08.2005 12:46:25
Available 09.08.2005 12:47:25 - 09.08.2005 13:26:25
Available 09.08.2005 13:43:56 - 09.08.2005 13:55:56
Unavailable 09.08.2005 13:56:40 - 09.08.2005 14:04:57
Available 09.08.2005 14:05:57 - 09.08.2005 16:16:57
Unavailable 09.08.2005 16:17:57 - 09.08.2005 17:27:12
Unavailable 10.08.2005 08:10:30 - 10.08.2005 08:35:39
Available 10.08.2005 08:36:39 - 10.08.2005 09:16:39
Available 10.08.2005 12:33:51 - 10.08.2005 14:01:51
- dev_jcontrol that contains the information displayed in the developer trace of jcontrol process(and y mentioned above)
- dev_dispatcher that contains the following info:
[Thr 2664] Wed Aug 10 08:33:04 2005
[Thr 2664] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
[Thr 2664] JLaunchISetClusterId: set cluster id 5761000
[Thr 2664] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
[Thr 2664] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
[Thr 3320] Wed Aug 10 08:33:21 2005
[Thr 3320] JLaunchISetP4Port: set p4 port 50004
[Thr 3528] Wed Aug 10 08:33:26 2005
[Thr 3528] JLaunchISetTelnetPort: set telnet port 50008
[Thr 3528] JLaunchISetTelnetPort: set telnet port 50008
[Thr 3584] Wed Aug 10 08:33:55 2005
[Thr 3584] JLaunchISetHttpPort: set http port 50000
[Thr 2664] Wed Aug 10 08:34:02 2005
[Thr 2664] JLaunchISetState: change state from [Starting (2)] to [Running (3)]
[Thr 2568] Wed Aug 10 08:34:08 2005
[Thr 2568] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.driver.CpicDriver
[Thr 3660] Wed Aug 10 08:35:07 2005
[Thr 3660] JLaunchISetP4Port: set p4 port 50004
[Thr 3600] Wed Aug 10 08:36:34 2005
[Thr 3600] JLaunchISetHttpPort: set http port 50000
[Thr 3612] Wed Aug 10 12:43:40 2005
[Thr 3612] JLaunchISetHttpPort: set http port 50000
[Thr 3612] JLaunchISetP4Port: set p4 port 50004
[Thr 3612] JLaunchISetTelnetPort: set telnet port 50008
- dev_server0 that contains:
[Thr 2676] Wed Aug 10 08:33:06 2005
[Thr 2676] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
[Thr 2676] JLaunchISetClusterId: set cluster id 5761050
[Thr 2676] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
[Thr 2676] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
[Thr 4296] Wed Aug 10 08:34:58 2005
[Thr 4296] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.driver.CpicDriver
[Thr 4296] Wed Aug 10 08:35:00 2005
[Thr 4296] JHVM_RegisterNatives: registering methods in com.sap.mw.jco.util.SAPConverters
[Thr 4296] JHVM_RegisterNatives: registering methods in com.sap.mw.jco.util.SAPCharToNUCByteConverter
[Thr 4296] Wed Aug 10 08:35:01 2005
[Thr 4296] JHVM_RegisterNatives: registering methods in com.sap.mw.jco.util.SAPNUCByteToCharConverter
[Thr 2676] Wed Aug 10 08:35:07 2005
[Thr 2676] JLaunchISetState: change state from [Starting (2)] to [Starting applications (10)]
[Thr 208] Wed Aug 10 08:36:34 2005
[Thr 208] JLaunchISetState: change state from [Starting applications (10)] to [Running (3)]
I still dont know whats happening. And i need to solve the problem urgent. I hope u can help me.
Thx and Rgds.
Gregory. -
Its Urgent! J2EE Server Started but the Application is not running?
J2EE server starts ok, I deployed the application successfully but when I open the URL http://localhost:8000 to start the application in browser it shows errors e.g
Error: 500
Internal Servlet Error:
java.lang.NoSuchMethodError
at com.sun.web.security.SecurityInterceptor.setSSLAttributes(SecurityInterceptor.java:56)
at com.sun.web.security.SecurityInterceptor.preInvoke(SecurityInterceptor.java:83)
at org.apache.tomcat.core.ServiceInvocationHandler.preInvoke(ServletWrapper.java:615)
at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:531)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:144)
at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:310)
at java.lang.Thread.run(Thread.java:484)
Please Help me its very UrgentI deployed the application successfully, J2ee server started successfully but when I open the browser and try to run the application or view the welcome page it shows the above mentioned error.
-
Urgent help: ERROR: STARTING J2EE 1.3.1
Here is the message:
Dear Sir or Madam:
There is no way I get it run J2E1.3.1. I need it so desperately.
THE OS is Windows XP Professional.
Message is:
C:\j2sdkee1.3.1\bin> j2ee -verbose
Exception in thread "main" java.lang.NoClassDefFoundError: C:\j2sdkee1/3/1\lib\system\;;C:\j2sdk1/4/0_01\\lib\tools/jar;C:\j2sdkee1/3/1\\lib\jhall/jar
C:\j2sdkee1.3.1\bin>
May I say that the files lib\tools.jar and hall.jar do exist in their directories.
I think the / are the actual .
My autoexec.bat is as follows:
SET SHELL=C:\MYPROG~1\RATIONAL\RATION~1\NUTCROOT\mksnt\sh.exe
SET COMSPEC=C:\WINDOWS\COMMAND.COM
SET windir=C:\WINDOWS
SET winbootdir=C:\WINDOWS
SET TMP=C:\WINDOWS\TEMP
SET
CLASSPATH=C:\j2sdkee1.3.1\bin;C:\j2sdk1.4.0_01\bin;C:\j2sdkee1.3.1\lib\j2ee.jar;C:\j2sdk1.4.0_01\lib\tools.jar;C:\Cloudscape3.6\lib\cloudscape.jar;C:\Cloudscape3.6\lib\tools.jar;C:\Cloudscape3.6\demo\programs\tours;.;C:\j2sdkee1.3.1\;C:\j2sdkee1.3.1\Iib\cloudscape\cloudclient.jar;C:\j2sdkee1.3.1\lib\cloudscape\cloudscape.jar;C:\j2sdkee1.3.1\lib\cloudscape\RmiJdbc.jar
SET PROMPT=$p$g
SET TEMP=C:\WINDOWS\TEMP
SET HOME=C:\MYPROG~1\RATIONAL\RATION~1\NUTCROOT
SET
PATH=C:\J2SDKEE1.3.1\BIN;C:\J2SDK1.4.0_01\BIN;C:\PROGRA~1\COMMON~1\MICROS~1\MSINFO\;C:\MYPRO
G~1\RATIONAL\CLEARQ~1;C:\ORAWIN95\BIN
SET TMPDIR=C:\WINDOWS\TEMP
SET ROOTDIR=C:\MYPROG~1\RATIONAL\RATION~1\NUTCROOT
SET DISPLAY=:0.0
My environment in xp using gui from my computer properties is :
Environment Variables:
User variables for ansar:
Variable: J2EE_HOME
Value: C:\j2sdkee1.3.1\
Variable: JAVA_HOME
Value: C\j2sdk1.4.0_01
Variable: PATH
Value: C:\j2sdk1.4.0_01\bin\
System variables
Variable: CLASSPATH
Value: C:\j2sdkee1.3.1\bin;C:\j2sdk1.4.0_01\bin;C:\j2sdkee1.3.1\lib\j2ee.jar;C:\j2sdk1.4.0_01\lib\tools.jar;C:\Cloudscape3.6\lib\cloudscape.jar;C:\Cloudscape3.6\lib\tools.jar;C:\Cloudscape3.6\demo\programs\tours;.;C:\j2sdkee1.3.1;C:\j2sdkee1.3.1\Iib\cloudscape\client.jar;C:\j2sdkee1.3.1\lib\cloudscape\tools.jar;C:\j2sdkee1.3.1\lib\cloudscape\cloudscape.jar;C:\j2sdkee1.3.1\lib\cloudscape\RmiJdbc.jar;C:\j2sdkee1.3.1\lib\cloudscape\licence.jar
Variable: Path
Value: %SYSTEMROOT%\system32;C:\j2sdkee1.3.1\bin;C:\j2sdk1.4.0_01\bin;C:\PROGRA~1\COMMON~1\MICROS~1\MSINFO\;C:\MYPROG~1\RATIONAL\CLEARQ~1;C:\ORAWIN95\BIN;%SYSTEMROOT%;%SYSTEMROOT%\system32\WBEM
Where system root is C:
Also most of the files in J2EE1.3.1 BIN files hold the following J2EE_HOME AND JAVA_HOME configuration
For instance: This is j2ee.bat file
@echo off
SET JAVA_HOME=C:\j2sdk1.4.0_01\
SET J2EE_HOME=C:\j2sdkee1.3.1\
if not "%J2EE_HOME%" == "" goto CONT0
echo ERROR: Set J2EE_HOME before running this script.
goto END
:CONT0
if EXIST "%J2EE_HOME%\bin\setenv.bat" goto CONT1
echo ERROR: Set J2EE_HOME to the path of a valid j2sdkee.
goto END
:CONT1
call %J2EE_HOME%\bin\setenv.bat
if not "%JAVA_HOME%" == "" goto CONT2
echo ERROR: Set JAVA_HOME before running this script.
goto END
:CONT2
if EXIST "%JAVA_HOME%\bin\java.exe" goto CONT3
echo ERROR: Set JAVA_HOME to the path of a valid jdk.
goto END
:CONT3
rem @echo on
%JAVA_COMMAND% %LISTEN_OPTIONS% -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter -Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl -Djms.home=%JMS_HOME% -Dcom.sun.jms.service.jdbc.dbpath=%JMS_DB_PATH% -Djms.properties=%J2EE_HOME%\config\jms_service.properties -Djava.security.policy==%J2EE_HOME%\lib\security\server.policy -Djava.security.auth.login.config=%J2EE_HOME%\lib\security\serverlogin.config -Dcom.sun.enterprise.home=%J2EE_HOME% -classpath %CPATH% com.sun.enterprise.server.J2EEServer %*
:END
Help me please, because I want to use Sun�s Reference Implementation to do J2EE Development work. Without the server I cannot do anything.SET SHELL=C:\MYPROG~1\RATIONAL\RATION~1\NUTCROOT\mksnt\sh.exe
SET COMSPEC=C:\WINDOWS\COMMAND.COM
SET windir=C:\WINDOWS
SET winbootdir=C:\WINDOWS
SET TMP=C:\WINDOWS\TEMP
================================
SET PROMPT=$p$g
SET TEMP=C:\WINDOWS\TEMP
SET HOME=C:\MYPROG~1\RATIONAL\RATION~1\NUTCROOT
SET CLASSPATH=C:\j2sdkee1.3.1\bin;C:\j2sdk1.4.0_01\bin;C:\j2sdkee1.3.1\lib\j2ee.jar;C:\j2sdk1.4.0_01\lib\tools.jar;C:\Cloudscape3.6\lib\cloudscape.jar;C:\Cloudscape3.6\lib\tools.jar;C:\Cloudscape3.6\demo\programs\tours;.;C:\j2sdkee1.3.1\;C:\j2sdkee1.3.1\Iib\cloudscape\cloudclient.jar;C:\j2sdkee1.3.1\lib\cloudscape\cloudscape.jar;C:\j2sdkee1.3.1\lib\cloudscape\RmiJdbc.jar
SET PATH=C:\j2sdk1.4.0_01\bin;.;C:\j2sdkee1.3.1\bin
SET TMPDIR=C:\WINDOWS\TEMP
SET ROOTDIR=C:\MYPROG~1\RATIONAL\RATION~1\NUTCROOT
SET DISPLAY=:0.0
===================================
Dear friends
Even though I have this file details in autoexec.bat and under advanced section of my Properties (right click)in my Computer the exact info...the message appears to be the same..Is it th classpath or something else that I cannot figure it out...
Your help would be appreciated...addressed to all of you wanting to help -
Need help:Urgent:MS SQL Server and J2EE Server
Hello,
i am developing simple bean managed persistence bean. i want to know how could i use microsoft SQL Server as my database with ejb's in J2EE. i don't want to use cloudscape rather i want to connect through jdbc bridge with sql server. can any body help me out ?
i have developed DSN for my database with the name of DsnProduct and user name for DB is guest and password is guest123.
so do i have to change configuration is my J2EE server . or put some additional code. so far i have added the following line in my implementation class
private String dbName= "java:comp/env/jdbc/ProductDB";
DataSource ds = (DataSource) ic.lookup(dbName);
con = ds.getConnection("guest","guest123");
moreover in server configuration i have added driver
sun.jdbc.odbc.JdbcOdbcDriver
and also provide the following JNDI Name
jdbc/ProductDB
and
it's url is
jdbc:odbc:DsnProduct
i am thankfull for your support.
[email protected]hi llturro,
Thanks for answering my question. I have tried out what you suggested, but I still can't fix my problem. The following are the messages that display when I try to run my servlet. It seems that the DataSource, Connection and Statement are ok, however when it comes to the ResultSet the error message appear. What's wrong with my ResultSet coding ?
ResultSet rs = stat.executeQuery("SELECT ISBN FROM BOOKSINFO WHERE ISBN='"+primarykey+"'");
setEntityContext Method
Find by primary key
DataSource OK
Connection OK
Primary Key = 013-00-675721-9
Statement OK
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: Unknown Exception/Error thrown by EJB method.; nested exception is:
java.lang.NullPointerException
java.rmi.RemoteException: Unknown Exception/Error thrown by EJB method.; nested exception is:
java.lang.NullPointerException
java.lang.NullPointerException
<<no stack trace available>> -
Urgent! Serious problem with J2EE Classloader!
Hi all,
I'm having a serious problem with j2ee Classloading.
I have "inherited" a J2EE application where all business classes (invoked by the EJB) are placed in the Application's Server classpath (Weblogic 8.1.4).
Very bad because every time a class is changed the a.s. must be restarted.
So I re-enginereed the package putting the business classes in a jar that is referenced by the EJB's MANIFEST file.
This way all the classes would be loaded by the EJB classloader and no need to start/stop weblogic.
Unfortunately it's not such !! I discovered that all business classes are loaded via REFLECTION
Object objCommand = objClass.newInstance();
Object[] param = new Object[1];
param[0] = aDataContainer;
objDataContainerReturn = (DataContainer) objMethod.invoke(objCommand,param);
and the application server cannot find them using the standard J2EE Classloader mechanism.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at irma.business.Dispatcher.callService(Dispatcher.java:70)
Caused by: java.lang.NoClassDefFoundError: irma/utility/log/LogPrintStream
at irma.business.service.LoginService.login(LoginService.java:79)
On the other hand they're found if I put the classes on the application server classpath.
Has anybody got advice for this ? Should I refactor the application giving up reflection ?
Thanks a lot in advance.Reflection uses the classloader as well so it should work fine.
A common cause of a NoClassDefFoundError is something in a parent classloader that refers to something only available in a child loader.
For instance, do you have any of your application classes which are in the $CLASSPATH but reference something that is only (now) in the business.jar in your ear?
-- Rob
-- Rob
WLS Blog http://dev2dev.bea.com/blog/rwoollen/ -
URGENT SUGGESTIONS- j2ee WEB FRAMEWORK
Hi All,
As a part of our part time project me and my friends are exploring on development of a j2ee web framework. For this we are exploring the behaviours of some famous frameworks such as STRUTS.
We are looking at the normal Controller model, The automatic httprequest to Java bean bindings and other such features.
We would like to hear more suggestions as to what
1. What all should be the salient features of a j2ee Web Framework.
2. Any feature that isnt present in the existing web frameworks but wud be a real value add if present.
Any other general suggestion about design of such frameworks etc are also welcome.
It would be great if all you guys give us your genuis feedbacks..
Thanks
KarthikSorry, I used up all my genuis feedback advice for the week. However, here are some ideas.
Struts framework is/was very popular but is rapidly being replaced by the Spring framework.
I dont believe you can just read some on-line articles on these frameworks because there is a lot of information to learn.
I suggest you buy a book on either framework and go through it cover to cover. Similiarly I suggest you read a JSP book first (you can look through them at the bookstore, then buy them on amazon.com cheaper).
I few quick suggestions about building your own framework before messing with a framework:
Ideally, you should have a separation of concerns between the layers (Model View Controller):
View = this is the JSP pages. Those pages should read all the information necessary to populate itself from objects placed in request scope. They should not contain business logic (such as instansiating java objects) or database logic (such as sql statements to fetch data from the database).
Control= this usually is a single servlet responsible for taking in all url browser requests (say, a JSP button update click), verifying the user is logged in, then calling up business logic to obtain data to populate the JSP page. It puts the data provided by the business logic in request scope for the JSP page to read, then dispatches to the correct JSP page. The control does not genereate html tags to put on the JSP page. The user should never directly call up a JSP page. All requests should go through the servlet to ensure you have a single class that verifies the user's login (security).
Model: The model consists of business logic and database logic. Often, these are separated into thier own layers as follows:
1) business logic: The control calls the business logic and passes all the data from the JSP page to it. It then determines what data to pass back to the control so it can pass it back to the JSP page. The business logic does not deal with the request scope (request is a presentation object), it does not call sql statements to talk to the database. Instead it calls database logic to actually get the data.
2) database logic: fetches data from the database for the business logic to use. It has sql. It has no business logic or presentation logic.
Lastly, I normally create a form object to hold all the data I read from the JSP page. Example: You have a JSP page called MyJspPage..jsp:
class MyJspPageForm{
public MyJspPageForm(HttpRequest request){
//get all data from the request scope that the JSP page put there
//have a bunch of get/set functions for the business logic to access the data.
I suggest creating a project based on the above ideas before you mess with a framework such as struts or spring. a lot of work has gone into creating those frameworks and they abstract away a lot of the low level code that I discussed above. -
URGENT ! Using Sun's J2EE RI Server with MS SQL Server 2000
I'm using the J2EE Server that comes with the J2EE 1.3.1 package from Sun. I'm trying to load a datasource using the free MS SQL Server 2000 Driver for JDBC, but I'm always getting this error (I've run out of ideas so maybe someone in this forum can help):
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: Unable to connect to database. No suitable driver; nested exception is: javax.ejb.EJBException: Unable to connect to database. No suitable driver ...
I'm using MS SQL Server 2000 Driver for JDBC, my classpath setting is:
CLASSPATH=D:\j2sdk1.4.0_01\jre\lib\ext\mysql-connector-j-2.0.14;D:\MS-JDBC-Driver\lib\msbase.jar;D:\MS-JDBC-Driver\lib\mssqlserver.jar;D:\MS-JDBC-Driver\lib\msutil.jar;E:\Installers\Java Related\jdbc dirvers\JSQLConnect3_27\JSQLConnect.jar
I have the same J2EE_CLASSPATH setting in my userconfig.bat file.
I've loaded this driver class in deploytool:
com.microsoft.jdbc.sqlserver.SQLServerDriver
and my connection url is:
jdbc:microsoft:sqlserver://localhost:1433;databasename=test
What's weird is that I've also tested these settings with a simple Java Application and they worked fine, but when I try to use the same for the j2ee server from sun, I always get the annoying "no suitable driver" error.
If anyone has ever come up with a solution that works, please help. You may post you reply here or better yet, email me at [email protected]
Thanks a lot in advance !Hi,
The error "no suitable driver" occurs when something goes wrong with the connection URL.so make sure that u are using the correct URL format (check if any of the info is case sensitive etc) or atleast try other URL alternatives (for MS jdbc driver).
try these changes only through deployment tool->tools->server configuration->datasources->standard.(instead of editing resource.properties directly).
last not the least - make sure that there is NO "rem" keyword before "set J2EE_CLASSPATH" in the userconfig.bat file :)
HTH,
- asharafkk -
XI JDBC J2EE Poor Performance Urgent
Hi All,
We are currently experiencing some major performance problems with one of our JDBC connections in production.
Our scenario is this, we are using the J2EE engine of our XI box as a gateway for BI UD Connect.
We are extracting from a simple Informix DB table some 600,000+ records which is a full extract, but this is taking like 2.5 hrs to do. This is the worst table but there are others that are really slow also.
If we extract directly using the same JDBC drivers but outside of XI it takes 1.5minutes.
Can anyone offer any assistance?
Are there any parameters we could change that would affect the performance?
Thanks in advance.
CraigChristophe,
We are merely using the J2EE stack connecting it to the BW ABAP stack via RFC.
Here is an extract from the SAP document "How To - Using UDI to Connect to Non-SAP Database"
UD Connect utilizes the J2EE engine of the SAP Web Application server to access external data. This Howto
will deal with the set-up and configuration of the relational JDBC connector.
This guide will detail the steps necessary to connect the SAP BW ABAP stack with the J2EE stack via RFC
as well as configuring the JDBC connector to use the database vendor provided JDBC driver.
Hope this helps.
Basically XI's J2EE Engine is being used as a gateway to BW nothing more.
Thanks
Craig -
Server0 never comes up J2EE down- Urgent!!!!!
Hi,
Ihave installed a SM 4.0 system with ABAP+Java.
After all done with SP10, I had changed the master client from 001 to 100 which I created. From then my Server0 is not starting at all.
I tried all the below:
1. Created a new client 120, did a client copy with SAP_ALL of 000 client and users of 001 client.
2. CHanged the productive cleint in configtool to 120 and gave SAPJSF as the ume.r3.connection.master.user
3. I changed my data source to datasource_abap.xml from the portal data source. (I was not able to follow note 718383, as my server0 was already down.
Now I still get UME error and the server0 does not start at all.
In between, I enabled the superadmin user SAP* and the server0 came up, but all my SLD, Useradmin pages were balnk and had no data at all.
Now I get errors which are below: Please help, as I did all that I could. May be still I miss something.
My hostname is also correct, but the log says MSGHOST, MSSERv is wrong.
Not sure where is the mistake.
security.0.log
#1.5#000C29F94F1B001E00000006000010FC00042D46241F5B62#1175679183796#/System/Security/Usermanagement##com.sap.security.core.persistence#######SAPEngine_System_Thread[impl:5]_53##0#0#Fatal#1#com.sap.security.core.persistence#Java#Initialization of UME persistence adapter "" failed.##Initialization of UME persistence adapter "" failed.#1#R3_DATASOURCE#
#1.5#000C29F94F1B001E00000009000010FC00042D46241F6332#1175679183796#/System/Security/Usermanagement##com.sap.security.core.server.ume.service.UMEServiceFrame#######SAPEngine_System_Thread[impl:5]_53##0#0#Error#1#com.sap.security.core.server.ume.service.UMEServiceFrame#Plain###UME initialization failed.#
#1.5#000C29F94F1B001E000000000000127000042D4630837790#1175679391718#/System/Security/Usermanagement##com.sap.security.core.persistence#######SAPEngine_System_Thread[impl:5]_70##0#0#Fatal#1#com.sap.security.core.persistence#Java#User Management Engine (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed to connect to the ABAP backend system. Check that connection data are correct and the backend system is available. Error message: "". Connection data (obtained from properties of UME service in section "ume.r3.connection.master.": "".##User Management Engine (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed to connect to the ABAP backend system. Check that connection data are correct and the backend system is available. Error message: "". Connection data (obtained from properties of UME service in section "ume.r3.connection.master.": "".#2#Connect to message server host failed
Connect_PM TYPE=B MSHOST=rockcrystal GROUP=PUBLIC R3NAME=SM4 MSSERV=rockcrystal PCS=1
ERROR service 'rockcrystal' unknown
TIME Wed Apr 04 18:36:31 2007
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -3
MODULE ninti.c
LINE 530
DETAIL NiPGetServByName2: service 'rockcrystal' not found
SYSTEM CALL getservbyname_r
COUNTER 1
passwd=********
receiverid=master
sysnr=01
client=120
poolmaxsize=10
mshost=rockcrystal
user=SAPJSF
gwserv=sapgw01
r3name=SM4
msserv=rockcrystal
receiverid_guest=master
ashost=rockcrystal
#1.5#000C29F94F1B001E000000020000127000042D4630838782#1175679391718#/System/Security/Usermanagement##com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init()#######SAPEngine_System_Thread[impl:5]_70##0#0#Error#1#com.sap.security.core.persistence.datasource.imp.R3PersistenceBase#Java#An exception was thrown in the UME/ABAP user management connector. Message: .##An exception was thrown in the UME/ABAP user management connector. Message: .#1#Connect to message server host failed
Connect_PM TYPE=B MSHOST=rockcrystal GROUP=PUBLIC R3NAME=SM4 MSSERV=rockcrystal PCS=1
ERROR service 'rockcrystal' unknown
TIME Wed Apr 04 18:36:31 2007
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -3
MODULE ninti.c
LINE 530
DETAIL NiPGetServByName2: service 'rockcrystal' not found
SYSTEM CALL getservbyname_r
COUNTER 1
#1.5#000C29F94F1B001E000000040000127000042D4630839041#1175679391718#/System/Security/Usermanagement##com.sap.security.core.persistence#######SAPEngine_System_Thread[impl:5]_70##0#0#Error#1#com.sap.security.core.persistence#Java#User Management Engine (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed to initialize the ABAP data source: ##User Management Engine (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed to initialize the ABAP data source: #1#Connect to message server host failed
Connect_PM TYPE=B MSHOST=rockcrystal GROUP=PUBLIC R3NAME=SM4 MSSERV=rockcrystal PCS=1
ERROR service 'rockcrystal' unknown
TIME Wed Apr 04 18:36:31 2007
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -3
MODULE ninti.c
LINE 530
DETAIL NiPGetServByName2: service 'rockcrystal' not found
SYSTEM CALL getservbyname_r
COUNTER 1
#1.5#000C29F94F1B001E000000060000127000042D4630839B1C#1175679391734#/System/Security/Usermanagement##com.sap.security.core.persistence#######SAPEngine_System_Thread[impl:5]_70##0#0#Fatal#1#com.sap.security.core.persistence#Java#Initialization of UME persistence adapter "" failed.##Initialization of UME persistence adapter "" failed.#1#R3_DATASOURCE#
#1.5#000C29F94F1B001E000000090000127000042D463083A2E8#1175679391734#/System/Security/Usermanagement##com.sap.security.core.server.ume.service.UMEServiceFrame#######SAPEngine_System_Thread[impl:5]_70##0#0#Error#1#com.sap.security.core.server.ume.service.UMEServiceFrame#Plain###UME initialization failed.#
I followed the Note to change productive client also. Still same issue.
Regards,
KPHi Markus,
I had changed the settings in config tool and configured the datasource.abap.xml properly with all the required ume.r3.connection paramteres.
Nowe everything is fine except only one error. I get an error on the anonymous user.
The security.0.log file gives the below error.
"Anonymous principal not configured"
#1.5#000C29F94F1B001E000000030000125400042D421AD2D242#1175661847906#/System/Security/UserStoreUME##com.sap.security.core.server.userstore.UserContextUME#######SAPEngine_System_Thread[impl:5]_16##0#0#Error#1#/System/Security/UserStoreUME#Java###Error while trying to get the anonymous user: #1#Cannot find first configured anonymous user: J2EE_GUEST: USER_AUTH_FAILED: User account for logonid "J2EE_GUEST" not found!#
#1.5#000C29F94F1B001E000000050000125400042D421AD2F1E8#1175661847906#/System/Security##com.sap.engine.services.userstore.UserContext.(UserContextSpi, Properties)#######SAPEngine_System_Thread[impl:5]_16##0#0#Fatal#1#com.sap.engine.services.userstore#Plain###Can not instantiate UserContext with given properties.#
So I enabled the superadmin user and password in config tool to SAP* and now the server0 starts. But the issue is, now if I go to the useradminscreen, it is blank. I am not sure what is to be done.
How do I proceed further in this? Do I have to make any changes in Visual administrator, so that I can correct the UME in-consistencies.??? Why is my browser blank???
Please do help...
This is my useradmin URL that is showing in the browser address bar:
http://172.27.1.2:50100/webdynpro/dispatcher/sap.com/tcsecumewdumeadmin/UmeAdminApp
Only my J2EE index.html page has a proper URL. All other pages like, SLD, UME, etc has tcsecumewd kind of URL. Not sure if this would be an issue.
I tried to follow the below SAP help, but I do not find those parameter anonymous user ID in the UME properties.
2.1. Activate SAP* (emergency user)
Change the UME properties:
○ ume.superadmin.activated=true
○ ume.superadmin.password=
Restart the server.
Log on to the UME Web application (/useradmin), where you can search for users and groups. You can also create missing users and groups or fix the mapping between them.
If you even see an error like Anonymous principal not found or Anonymous principal not configured, the guest user may have been deleted. In addition to the properties mentioned above, you have to change the guest/anonymous user settings:
○ UMEproperty:
ume.login.guest_user.uniqueids=SAP*
○ J2EE Engine Security:
In the Config Tool, switch to configuration editor mode and choose Security ® Userstores ® UME User Store. Set anonymous-user=SAP.*
○ J2EE Engine Security:
In the Config Tool, switch to configuration editor mode and choose Security ® Userstores ® UME User Store ® Configuration. Set anonymous-user=SAP.*
When you have finished, change these settings back again and restart the server.
Regards,
PK -
URGENT : J2ee server start up Error : .NoClassDefFoundError:
i have installed j2ee1.3 server in my machine (XP professional / jdk1.5 /JRE 1.5 ).
have set all env variables jAVA_HOME,J2EE_HOME ans PATH.
But when i start the server using j2ee -verbose command i get the following error.
C:\J2EE\bin>j2ee.bat -verbose
J2EE server listen port: 1050
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/corba/se/inte
rnal/util/IdentityHashtable
at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.<clinit>(Util.java:87)
at com.sun.corba.ee.internal.POA.POAImpl.activate(POAImpl.java:935)
at com.sun.corba.ee.internal.POA.POAImpl.activate_object(POAImpl.java:89
5)
at com.sun.corba.ee.internal.CosNaming.TransientNameService.initialize(T
ransientNameService.java:117)
at com.sun.corba.ee.internal.CosNaming.TransientNameService.<init>(Trans
ientNameService.java:70)
at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMg
r.java:103)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
Also i have set the classpath to <<installdir>>\lib\j2ee.jar
since iam practising for scbcd xam i need j2e1.3 to practise.
Is this related to any version conflict ? please help me ...
Thanks.Hi All,
I was able to figure out the problem and i hope that there must be version conflicts since i had j2ee1.3 and jdk1.5.
I unistalled jdk1.5 and installed jdk1.3 and everything went on fine.
Also avoid installing in directories having spaces in the names EX: Program Files. -
Hi,
We had developed custom Authz/RoleMapper Providers for WLS 8.1
which worked fine .
Now we are trying to use the same providers for protecting Web/J2EE resources
is Weblogic Portal . But Doesnt seems to work .
Does WLS security framework works fine in WLP also ?
PLEASE if Somebody could help in this regard it will be appreciated.
Regards
KKHi,
Please find some of the useful links below.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0518321-5506-2c10-2ea8-d6f9d03c539a
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/21eb036a-0a01-0010-25a3-b2224432640a
http://www.cogentibs.com/pdf/cogsap08/ESS.pdf
http://help.sap.com/bp_hcmv1600/BBLibrary/Documentation/N06_BB_ConfigGuide_EN_US.doc
http://help.sap.com/saphelp_erp2005/helpdata/en/38/e8584c2a664547b60442646bee23b6/content.htm
http://help.sap.com/saphelp_erp60_sp/helpdata/en/43/4c5acccd0c3162e10000000a11466f/content.htm
MSS:
SAP Notes 952693 and 972322
thanks
Rishi Abrol
Maybe you are looking for
-
Hi All, I am working on a scenario where in I recieve the Payload from a web service.The payload consists of 2 parts one is the xml document and the second is the attachment (image,PDF,..).When I monitor the messages in sxmb_moni I find 2 payloads as
-
hello experts my client requirement is a cash flow on daily basis . selecton criteria date and gl code and the out put is Opeing bal (clubbed) and the doc number that were posted against that gl If possble plz attach a code thank you
-
Since mobile me is down, I have had to transfer a website through a Domain name provider. Now my iweb index page appears with alignment problems on the web yet on the iweb program it is fine. Any clue why that is and what I'm suppose to do to fix it?
-
If user opens a query he shd get vendor numbers which are prefixed with SS
Dear All, When user opens a query and say (f4) for vendor, only list of vendors which are prefixed with source sustem id shd appear and old vendor numbers with out prefix shd not appear in master data we have old data and new data (prefix with sour
-
I checked the manual and could not find a Play In to Out function. Does X have this abilty? I use this all the time in FCP 7. I hope it's in X.