Client  running problem?

Hi guys,
I deployed Session ejb successfully in weblogic server 8.1. i am using standalone server,i included weblogic.jar and client.jar in CLASSPATH.but running client it throws this exception.plz tell me syntax for running client in CMD prompt and also tell me CLASSPATH Setting for Session ejb.
[java] java.lang.NoClassDefFoundError: examples/ejb20/basic/statelessSessio
n/Client
[java] Exception in thread "main"
bye
Priya.M

Hi ,
Before running the ejb client we need to follow the steps as given below.
1)set the weblogic environment using the setWLSEnv
2)set the classpath for ejb(home,remote and bean).
3)run the client program
Note:To set the classpath for the ejb(suppose if we placed the ejb's in ejb folder)
set classpath=d:\ejb;.; %classpath%
Regards
Anilkumar kari

Similar Messages

  • Urgent ...JMS example client run problem

    HI
    I am facing following error while running a simple JMS client. Please help.
    Regards
    Jaisinh
    D:\jai>java com.monex.prototype.SimpleTopicPublisher
    Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/AssertionError
    at weblogic.security.subject.DelegatingSubjectStack.<clinit>(DelegatingSubjectStack.java:18)
    at weblogic.security.service.SubjectManagerImpl.<init>(SubjectManagerImpl.java:40)
    at weblogic.security.service.SubjectManagerImpl.ensureInitialized(SubjectManagerImpl.java:277)
    at weblogic.jndi.WLInitialContextFactoryDelegate.<clinit>(WLInitialContextFactoryDelegate.java:137)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:120)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:131)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:198)
    at com.monex.prototype.SimpleTopicPublisher.main(SimpleTopicPublisher.java:54)

    Thank you sam,
    You are correct.
    I found solution for the problem the same day. Actually it was classpath error.
    I was testing with j2sdk1.3 env instead of j2sdk 1.4. I was not able to access
    the website so posting a reply little late.
    Regards
    Jaisinh
    Sam Pullara <[email protected]> wrote:
    You are running under 1.3 instead of 1.4.
    Sam
    Jaisinh Nimbalkar wrote:
    HI
    I am facing following error while running a simple JMS client. Pleasehelp.
    Regards
    Jaisinh
    D:\jai>java com.monex.prototype.SimpleTopicPublisher
    Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/AssertionError
    at weblogic.security.subject.DelegatingSubjectStack.<clinit>(DelegatingSubjectStack.java:18)
    at weblogic.security.service.SubjectManagerImpl.<init>(SubjectManagerImpl.java:40)
    at weblogic.security.service.SubjectManagerImpl.ensureInitialized(SubjectManagerImpl.java:277)
    at weblogic.jndi.WLInitialContextFactoryDelegate.<clinit>(WLInitialContextFactoryDelegate.java:137)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:120)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:131)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:198)
    at com.monex.prototype.SimpleTopicPublisher.main(SimpleTopicPublisher.java:54)

  • No new mail notification in Outlook - CAS Exchange RPC Client Access problem

    Hi, we're facing this problem:
    Users start complaining they suddenly don’t receive new mail notifications in Outlook (2010/2013)  anymore
    Inbox does not show the new mail either
    When the user changes folders in outlook, the new mail does show in the Inbox folder
    Restarting Outlook shows the new mail as well.
    The same new e-mail arrives instantly (with notifications) in Owa and on mobile devices
    Sometimes the new mail notification pops up after a longer period of time (from 30 seconds to 10 minutes). But more often not at all.
    This issue seems to occur at random. We’ve been problem free for a week, and sometimes it comes back three times a day.
    Clients running Outlook 2010, 2013 cached or online, on site and off site. So it seems server related, not client.
    It was seen first around January 8th. We did not make any changes around that time that we can link to this problem.
    Only one CAS server (EXCH1-RTD) shows this issue. CAS servers on other sites are ok
    EXCH1-RTD has CAS and HUB transport roles. The same site has two mailbox only servers. EXCH2-RTD (mailbox server for normal mailboxes). And EXCH3-RTD (mailbox server for archive mailboxes)
    No entries in the event logs that seems to be related
    As the problem only occurs with Outlook clients, I suspected RPC issues. We cannot gracefully stop the “Microsoft Exchange RPC Client Access” service on EXCH1-RTD  while the issue occurs. We
    can only kill the process and restart the service, solving the issue instantly.
    What we’ve tried until now:
    Updated all Exchange servers from Exchange 2010 SP3 RU6 to RU8-v2 (server OS=W2K8R2)
    Updated all Exchange servers  to latest critical Windows updates
    Recalculated requirements using MS Sizing tool.  Upgraded EXCH1-RTD  VM from 8GB and 2 vCPU (1 core/cpu) to 16GB
    and 4vCPU (1 core/cpu)
    Ran various perfmon counters and compared them with other Exchange servers, not finding any obvious anomalies.
    Any ideas would be greatly appreciated!
    Ron

    Hi Ron,
    From your description, OWA works well, the issue is related to Outlook side. In your case, I recommend you use Outlook safe mode to determine whether the issue is related to add-ins. If the issue persists, you can create a new profile to check the result.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Oracle 8i Client running on Windows 2000 Server

    Hi,
    I have Oracle 8i Client running on Windows 2000 Server. I need to connect to Oracle 8i Server running on Sun Box.
    I have problems with connectivity.
    When I do tnsping <service name>, I am geting the followiing
    error:
    C:\>tnsping <Instance name>
    TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 04-FEB-20
    02 16:37:01
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=<IP Address>)(PORT=1521)) TNS-12541: TNS:no listener
    Can any one help me out
    Thanks
    mka

    Hi,
    I have Oracle 8i Client running on Windows 2000 Server. I need to connect to Oracle 8i Server running on Sun Box.
    I have problems with connectivity.
    When I do tnsping <service name>, I am geting the followiing
    error:
    C:\>tnsping <Instance name>
    TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 04-FEB-20
    02 16:37:01
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=<IP Address>)(PORT=1521)) TNS-12541: TNS:no listener
    Can any one help me out
    Thanks
    mka

  • Clients running OS 10.4.6 on older iMac (slot loading) cannot login

    Clients running OS 10.4.6 on older iMac (slot loading) cannot login. I get:
    “Logging into the account failed because an error occurred. The home folder for the user account is located on an AFP or SMB server. Contact your system administrator for help."
    I have eMacs and iBooks on this network running 10.4.6 and they have no problem. Also the iMacs running 10.3.9 have no problem. Since it’s machine and OS specific I’m wondering if it’s an incompatibility problem. The iMacs have the latest firmware on them. The server is a G5 running 10.4.6 server, DNS and DHCP are setup correctly and the share points are setup correctly.

    Try resetting the PMU/SMU and PRAM/NVRAM. You'd need to identify the mode of resetting depending on the model of your G5 iMac. The Apple support sites that would help you for this are –
    http://support.apple.com/kb/HT1436
    http://support.apple.com/kb/HT1939
    http://support.apple.com/kb/HT1767
    http://support.apple.com/kb/HT1379
    I hope this solves your problem.

  • FORMS - RUN PROBLEM

    Hello.
    I have deeloper 10g and i am working on my client machine XP SP2.
    My problem is when i run a form it works correctly for a while but after i ran some reports on it, it becomes something like locked and i have to close the application from the oracle application server explorer page because on the form nothing becomes available i just see a green page
    it gives no error to me.
    what can occur this because this is a problem that i am having since yesterday.

    If this is only happening on one client machine, then I don't see this as an app server problem, or a problem with the generated PDF. If it happens on another client, then I doubt it is client hardware problem. If it were an app server hardware problem, then I think you would see this problem manifest itself in other cases besides PDFs.
    See if you can get this to happen with PDF files generated from other sources (e.g., download some from the Internet) and try opening a closing them repeatedly). If the problem occurs, then I see this as a IE or Acrobat plug-in problem. If IE is hanging, you might want to check the Windows Event Log.
    40% is a little low. Maybe you can test if this is PDF size dependent.
    Message was edited by:
    Mark Roberts

  • Task server - Client running an incompatible version of ARD

    Hi all,
    I am attempting to configure a Task server for our college. I have ARD running on my admin machine - works perfectly. I have set up a separate license of ARD on one of our xServes to act as a Task server. This can see all the computers on the network.
    The problem is that when I go to add the task server (either by IP or FQDN) to my admin Mac I get the following message:
    "Client running an incompatible version of Apple Remote Desktop"
    Both machines are running 10.5.x and ARD v3.3
    Any ideas???

    I have done so many things with ARD admins on different systems in the past few weeks that I could be off blatantly wrong on this. However I know I saw the error message at one point & time.
    If I remember correctly I had the ARD admin running on my old task server and had not set the client on the old task server to block remote updates/installs. I or one of the other support staff accidentally updated the old Task server's ARD client from 3.2.x to 3.3.1.
    I believe the old Task Server continued to run but I received similar errors when trying to bind to it. Once I quit ARD and started it up again it would give me a version compatibility error even though I believe it had just been running. However once I ran software update locally on the server I installed the 3.3 ARD administrator things worked fine again.
    If that isn't your problem I would suggest trying to running the installer & updaters on your system again & then on the server.

  • MIdlet running problem

    Hi, I've created a J2ME app which uses a client/server system. The client runs on a mobile device. I have set up Over the Air for the suite, and when testing the app etc on the JWT OTA test everything works fine.
    However when i went to run the app on a real phone (Siemens CX65), the installation went fine but it failed to connect to the server!
    The code in the midlet regarding the connection is as follows:
        DataInputStream is;
        DataOutputStream os;
        SocketConnection sc;
    sc = (SocketConnection) Connector.open("socket://xxxxxxx.xxx:8000");            
                is = sc.openDataInputStream();
                os = sc.openDataOutputStream();It is confusing me why the OTA emulator connects to the server fine while the phone app cannot. I am using GPRS on the phone, is there any specific settings there that might be affecting things?

    Hey Friend.
    I'm also facing same problem. I also use socket to connect to remote server While connection to server i faced 2 symbian OS errors >Error -33(timeout) and then Error -5105(no route found).
    Please, if you get solution then inform me.
    My email: [email protected]

  • Problem Syncing Outlook....says outlook sync client encountered problem

    I have been syncing outlook calendar and contacts from my PC to my iPhone with no problems. I have version 1.1.2 on my iPhone and 7.5 or whatever the latest is on iTunes software. The syncs were fine until recently and now I cant sync and get an error message that says "outlook sync client encountered problem" What could possibly have happened....I read some posts that say to go back to iTunes 7.3 etc....this has to be a common problem....any suggestions.

    Here is an article from the apple support website that might help out.
    http://docs.info.apple.com/article.html?artnum=305845

  • 401 Error on Consuming SharePoint Versions Web Service by java client running on Unix Machine

    In my organiszation I have sharepoint site of our project. I have a java client to consume Versions Web Service offered by SharePoint. The response received from web service without any issue when triggered from a client running on windows machine on
    intranet.
    When same java client ran from UNIX server on same intranet, it gives 401 error. Is there some different approach required for authentication while connecting from unix machine?
    Thanks in advance.

    Hello,
    Are you passing credential in code? If not then try to add using networkcredential.
    If you are passing then make sure that current user is having access on SP site and your javaserver is setup for NTLM security. Here is few links for same issue which could help you troubleshoot the issue
    http://stackoverflow.com/questions/8884152/ntlm-fails-when-consuming-sharepoint-web-service-from-java
    http://www.pentalogic.net/sharepoint-products/reminder/reminder-manual?p=troubleshooting%2F401errors%2F401errors.htm
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Cisco Security Manager Client running on Windows Server 2008 R2 (64 bit) in Terminal Service

    Hello CSM Gurus,
    Would there be any performance issues in CSM client software design if multiple instances of CSM client by multiple users ran concurrently on a Windows Server 2008 R2(64 bits) while CSM users accessing the server via Remote Desktop Services ?
    In my environment, we have a CSM server at our major data center while security administrators from all over the world need to use this CSM server. 
    In order to overcome the latency of the CSM client due to the WAN network, the plan is to use a Windows Server 2008 R2(64bits) as a terminal server and all security administrators would need to access this terminal server via RDP and would launch CSM client on their desktop.  The terminal server locates on the same LAN as the CSM server itself in order to minimize network latency in communications between the CSM clients running on the terminal server and the CSM server.  there would be multiple instances of CSM clients running concurrently on the Windows Server 2008 R2, the terminal server. 

    Hi;
    please check
    Oracle Database 11g Release 1 (11.1.0.7.0) <<Oracle Database 11g Release 1 (11.1.0.7.0) for Microsoft Windows Server 2008 x64
    http://www.oracle.com/technology/software/products/database/oracle11g/111070_win64_2008soft.html
    Check Database 11g Release 2 Certification Highlights [ID 1065024.1]
    But please check this thread
    client 11gR2 install on Win 7 Pro fails java.lang.NullPointerException
    Regard
    Helios
    Edited by: Helios- Gunes EROL on May 14, 2010 4:49 PM

  • How do I make a RMI client running in Bea find a remote, non Bea, RMI server?

    On my stand alone test system I run a RMI server in one JVM,
    registry.exe and a RMI client in its own JVM. The client uses
    java.rmi.Naming.lookup() to find the RMI server, and this works fine.
    If I run the same RMI client class within Bea the naming lookup fails! I
    guess this is due to Bea using it own RMI registry rather than the
    registry.exe I started separately(?)
    QUESTION: How do I make a RMI client running in Bea find a remote,
    non-Bea, RMI server?
    Of course, in the final environment the server will run on a system
    remote from Bea.
    The RMI client calls are done from a servlet, not from a EJB.
    The doumentation about using RMI with Bea is focused on running the RMI
    server within Bea. This might be the "normal" thing to do, but in our
    case Bea is the client, not the server. Do I still need to use
    weblogic.rmi.*....? If so, where?
    Grateful for any tip.
    Göran Hagnell

    On my stand alone test system I run a RMI server in one JVM,
    registry.exe and a RMI client in its own JVM. The client uses
    java.rmi.Naming.lookup() to find the RMI server, and this works fine.
    If I run the same RMI client class within Bea the naming lookup fails! I
    guess this is due to Bea using it own RMI registry rather than the
    registry.exe I started separately(?)
    QUESTION: How do I make a RMI client running in Bea find a remote,
    non-Bea, RMI server?
    Of course, in the final environment the server will run on a system
    remote from Bea.
    The RMI client calls are done from a servlet, not from a EJB.
    The doumentation about using RMI with Bea is focused on running the RMI
    server within Bea. This might be the "normal" thing to do, but in our
    case Bea is the client, not the server. Do I still need to use
    weblogic.rmi.*....? If so, where?
    Grateful for any tip.
    Göran Hagnell

  • We have a set of oracle clients running on T5220 zones that need some help

    Greetings all -
    We have a set of oracle clients running on T5220 zones that need some help.
    If, for example, I execute the query "select (all) from dba_objects", trace output reports 90% of the elapsed time spent under "SQLNet message from client".
    Here are OS details for the clients: Solaris 10 5/08 s10s_u5wos_10 SPARC
    Running "uname -a" from the client gives:
    (SunOS bmc-ste-app 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T5220)
    Here are OS details for the dataserver: Enterprise Linux Enterprise Linux Server release 5.2
    Running "uname -a" from the dataserver gives:
    (2.6.18-92.1.6.0.2.el5 #1 SMP Thu Jun 26 17:44:55 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux)
    The RDBMS is 10.2.0.4
    Again, please note, there is no application in the picture here. We are just running a simple catalog query (select * from dba_objects) from sqlplus. Why the wait on something like this? The wait also occurs when a different query is used (select (all) from SYS.COL$ where rownum < 50000). And it doesn't matter if I used the full client or the instant client. I still get the same high-wait.
    We had thought - maybe this is a network thing - so we put a test client on the same subnet as the dataserver. This helped - but not enough. The wait is still way too high even with firewalls taken out of the equation.
    We've also looked at arraysize, SDU, kernel settings. And we've spent time going over tkprof, truss and sqlnet-tracing.
    Has anyone ever had to solve this HIGH WAIT ON CLIENT issue? Is there a work around or some tweak I'm missing.
    Is anyone configured like we are (linux dataserver, solaris clients)? If so - did you see anything like this?
    tia -
    Jim
    Edited by: jim1768 on Mar 31, 2010 1:47 PM
    Edited by: jim1768 on Mar 31, 2010 2:12 PM
    Edited by: jim1768 on Mar 31, 2010 2:13 PM

    Hello,
    We have the exact same issue. Did you ever solve this issue? We have a t5220 and have just upgraded our 11.5.10.2 11i system on it from 9.2.0.8 32-bit sparc to 11.2.0.1 64-bit sparc. Things should be faster but arent, and our consultant has tracked it down to high wait times when the apps tier using forms connects to the database tier on the same box. So even though the t5220 is both server and client, there is something about the client sql connection.through TNS that his having trouble. Thanks for any information. We've also created an S/R with Oracle.
    Note: I am well aware of the other issues with the CMT server series but this particular issue seems independent of the regular / known issues and remains a mystery to us. Other known issues with the CMT servers for SPARC:
    Metalink Note 781763.1 (Migration from fast single threaded CPU machine to CMT UltraSPARC T1 & T2)
    http://blogs.sun.com/glennf/resource/Optimizing_Oracle_CMT_v1.pdf
    http://blogs.sun.com/glennf/tags/throughput
    http://blogs.sun.com/glennf/entry/getting_past_go_with_sparc
    http://www.oracle.com/apps_benchmark/doc/E-Bus-11i-PAY_ORA_SUN-T5220.pdf (this paper has some oracle init settings at the end. The kernel settings have been included in the OS upgrade)
    http://blogs.sun.com/mandalika/entry/siebel_on_sun_cmt_hardware

  • Two MI Clients running on the same system

    Hi All,
    I have a MI Client running on my desktop.
    I want to install another MI Client without uninstalling it i.e. I want to have two running fully functional MI Clients on my desktop.
    Is this possible, how do I do it?
    Ankur
    (Both MI Client are of the same SP level)
    (I tried to rename the existing MI root folder and then running the setup.exe of MI client, then I cut&pasted the whole MI root folder into my D drive and then tried running the setup.exe - both times when I ran the setup.exe it asked first to Remove my current installation... )

    Hi Ankur,
    Please follow the instructions mentioned in the following guide to achieve what you wish to do.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fecd11da-0801-0010-0da2-ffee3d04684f
    Best Regards
    Sivakumar
    PS: Forgot to mention one additional stuff.   I you plan to run both the clients simultaneous, then you need to change the tomcat port on the client since two clients cannot share the same port.  To change the port of the client do the following.
    Under your MI home folder go to "CONF" directory and open "server.xml" file and in here change the following value from 4444 to any other value. (4444 is the default port)
    <Parameter name="port" value="<YOUR NEW PORT NO>"/>
    Similiarly add the following properties in the MobileEngine.config file present in the SETTINGS folder of MI Client.
    MobileEngine.Runtime.Port = <YOUR NEW PORT NO>
    MobileEngine.Jsp.HomeUrl = http://localhost:<YOUR NEW PORT NO>/
    Add a file named port.txt in the MI Home folder and in it mention <YOUR NEW PORT NO> without any other values.
    Edited by: Sivakumar V on Aug 25, 2008 4:33 PM

  • Client  deletion Problem - Urjent..

    Hi Experts,
    There is an existing DEV-QA-PRD environment. There is a need to have a complete Configuration copy of PRD in DEV2 system, which will be used to build another Production Stream (DEV2, QA2, PRD2) for another project.
    When we are deleting client ,below  Problems we have facing :
    1) Production equivalent client (4 TB of data) is taking too much time while deleting tables (step 4 in the diagram below).
    2) Of the total 34,882 tables, 34,855 tables took almost 7-8 days to delete.
    3) Last 30-35 tables are taking a lot of time to delete, these are probably the largest tables in the system
    4) Tables EDIDS and CDCLS are currently being deleted for the last 3-4 days
    5) Adding more processes to the Dev2 system is not helping either.
    6) At the current rate, these tables will take another 1.5-2 weeks, which seems to be a long time
    7) Some more tables which took more time were SWWLOGHIST, IDOCREL, SRRELROLES
    Other information:
    1) Operating System used  for the ECC 5.0 is: Tru64 / HP, Oracle 9i DB (List of Service packs and Patches are attached)
    2) Production system has data worth approx. 4TB
    3) No Data Archiving has been done since the inception of the system
    I need your Suggestions and Comments on this ---its urjent
    Points will rewarded for suitable answers
    Regards
    Prabhu

    Hi Prabhakar
    Any other comments Plz...
    Ok, you wanted it )) here is mine
    so far:
    - you copied your huge database (where you don't delete / archive old data) to the new server
    - you are now deleting row by row all that data
    - you will end up having a still huge but empty database, because the tables / tablespaces won't shrink after the client deletion
    This does not make any sense to me, am i missing something :(((
    Are there other clients in the prod system, which you keep?
    @ Markus: i don't think they have 100+ gb memory to cache their huge tables in the sga
    I guess the client deletion has something like a MAX ROWS COMMIT limit to prevent undo overflow. If this number is for example 100'000 rows, then you have to execute 100 delete statements (-> 100 full scans) on a 10mio row table. This of course is taking ages. Even worse it gets slower and slower, because the first delete up to 100'000 rows gets the first blocks, the second scans the same blocks, but they are empty now, so it has to scan further, and so on...
    Best regards
    Michael
    Update: i recall there was a sap note somewhere, i just checked, here it is:
    365304 - CC-ADMIN: Reports for deleting tables
    Edited by: mho on Jan 8, 2008 2:40 PM

Maybe you are looking for