Please hepl me. i m intergrating ejb3 and struts in two server. but is not working

it is simple application i m runing in tow server but i m get classsnotfound error pleas solve my problem. i will give my direct structure of application
i m runing ejb3 in weblogic 10.3 and struts in tomcat server. both communication is not happening pleas help me. i m try from many days. But is not working form me
root dir
onlyenb6
account class
package ejb3.onlyejb;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity
public class account implements Serializable{
@Id
int accno;
  public int getAccno() {
    return accno;
public void setAccno(int accno) {
    this.accno = accno;
public String getName() {
    return name;
public void setName(String name) {
    this.name = name;
public float getBalance() {
    return balance;
public void setBalance(float balance) {
    this.balance = balance;
String name;
float balance;
Int6_clss code
package ejb3.onlyejb;
import java.io.Serializable;
public interface Int6_cls extends Serializable {
    public void storing(int acc, String name, float amt);
Session.class code
package ejb3.onlyejb;
import javax.ejb.Remote;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
@Stateless(mappedName="saigoud")
@Remote
public class Session_ben implements Int6_cls {
    @PersistenceContext
    EntityManager mrg;
    public void storing(int acc, String name, float amt) {
System.out.println("session="+acc);
System.out.println("sess="+name);
        account accs=new account();
        accs.setAccno(acc);
        accs.setName(name);
        accs.setBalance(amt);
        mrg.persist(accs);
build.xml
<project name="onlyejb5" default="saifile">
<property name="bea.home" value="C:/bea"/>
<property name="wl_home" value="${bea.home}/wlserver_10.3"/>
<path id="main.class.path">
<pathelement path="${bea.home}/modules/com.bea.core.utils_1.4.0.0.jar"/>
<pathelement path="${bea.home}/modules/com.bea.core.jarbuilder_1.2.0.0.jar"/>
<pathelement path="${java.class.path}"/>
</path>
<target name="saifile">
<echo message="***ANT Script should run from inside the ${wl.home}/server/lib *****" />
<echo message="***** ********* ********* *****" />
<java classname="com.bea.jarbuilder.JarBuilder">
<classpath refid="main.class.path"/>
<jvmarg value="-d ${wl.home}/server/lib -jar wljarbuilder.jar"/>
</java>
</target>
</project>
after run with ant i get successfully create wlfullclient.jar
i m taking this wlfullclient.jar and pasting in tomcat lib directery and run webapplication
my webapplication code
package ejb3.onlyejb;
import java.io.Serializable;
public interface Int6_cls extends Serializable {
    public void storing(int acc, String name, float amt);
package ejb3.onlywed;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Hashtable;
import java.util.Properties;
import javax.ejb.EJB;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import ejb3.onlyejb.Int6_cls;
public class Action_cls extends Action {
        public ActionForward execute(ActionMapping map, ActionForm fm, HttpServletRequest req, HttpServletResponse res)
    throws IOException{
        String respkey="fails";
        Action_form_bean bean=(Action_form_bean)fm;
        int ac=bean.getAccno();
        String na=bean.getName();
        float bal=bean.getAmt();
        System.out.println("accno="+ac);
System.out.println("na="+na);
System.out.println("bal="+bal);
System.out.println("enter in to if loop");
           Hashtable p=new Hashtable();
p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
p.put(Context.PROVIDER_URL,"t3://localhost:7001");
        System.out.println("jndi properties nuderprocess");
           try {
System.out.println("loading p file="+p);
            InitialContext ic = new InitialContext(p);
System.out.println("loading p file over="+ic);
        System.out.println("jndi file is  loaded");
      //System.out.println("wrs="+wrs);
System.out.println("entry in try block");
Int6_cls wrs=(Int6_cls)ic.lookup("saigoud#ejb3.onlyejb.Int6_cls");
       System.out.println("lookup susfull");
          wrs.storing(ac, na, bal);
    respkey="ok";
          } catch (NamingException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
        catch (Exception e) {
            // TODO: handle exception
        ActionForward fw=map.findForward(respkey);
        return fw;
get error
accno=44
na=hjhjhj
bal=777.0
enter in to if loop
jndi properties nuderprocess
jndi properties nuderprocess22
loading p file={java.naming.provider.url=t3://localhost:7001, java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory}
loading p file over=javax.naming.InitialContext@12f9bcd
jndi file is  loaded
entry in try block
Jul 5, 2013 1:36:22 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet action threw exception
java.lang.ClassNotFoundException: ejb3.onlyejb.Int6_cls
    at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.getClassBytes(RemoteBizIntfClassLoader.java:151)
    at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.loadClass(RemoteBizIntfClassLoader.java:96)
    at weblogic.ejb.container.internal.RemoteBusinessIntfGenerator.generateRemoteInterface(RemoteBusinessIntfGenerator.java:54)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.readObject(RemoteBusinessIntfProxy.java:205)
    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:597)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:564)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:193)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:240)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:392)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at ejb3.onlywed.Action_cls.execute(Action_cls.java:62)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)

Locking multipost.

Similar Messages

  • I have been trying to switch on my i pod 5 and its not working i tried doing it with a charger in and holding the two buttons but it not working all it does is show a logo of i tunes and says its charging, what do i do, please help???

    Help

    Try:                                               
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable       
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              

  • I can't open my itunes , i tried to delete it and install it back already but still not working , please help

    i can't open my itunes , i tried to delete it and install it back already but still not working , please help

    No , it is something crushed in my computer ? i keep re-download it and tried to download some old version itunes my computer is a Window 7 . i can't backup my iphone and ipad now pleses help , thank you

  • TS2755 When trying to open my mail, it opens then closes immediately, I've deleted the account and re-created it 3 times and also done a reset but still not working, help please

    When trying to open my mail, it opens then closes immediately, I've deleted the account and re-created it 3 times and also done a reset but still not working, help please

    Try closing all apps in Multitask Window
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe up on the screenshot of the app you want to exit.
    3. The app will fly off the screen

  • TS3276 my mail will not allow me to log out and mail on dock will not open it says try again and quit mail  i do but does not work

    can't get mail on dock to open when trying log off says quit mail and try again tried dozens of times quit mail try again but does not work

    Pierre222,
    Unfortunately you are not providing us with any useful information. We need to know what app you are using to email at the very least. However what I'd suggest you do is call AppleCare, you have 90 days of free telephone support (the number is in your owners manual) and they will be happy to assist you. They're open M-Saturday so you will need to wait until tomorrow.
    BTW if you have not been exposed to these please bookmark them and begin using them. You may find your answer in one of the videos.
    Switch 101, Mac 101, Find Out How Video tutorials & List of Useful URLs for switchers

  • Why two fingers sliding is not working in Chrome and PDf, why two fingers sliding is not working in Chrome and PDf

    Sometime two fingers sliding for scroll down is not working in Chrome and Pdf. I have to log out to make this work. I just bought this laptop a week ago, is it software's problem or just my laptop's problem. Thx,guys!

    having the same problem and i bought a brand spankin new retina 15'

  • HT2638 I click rebuild iphoto and it says its loading but its not working!

    I click rebuild iphoto and it says its loading but i dont think is working. i have left it for a long time to load and it just keeps loading! HELP!!!

    If you want help you’ll need to give us more information. There are 9 different versions of iPhoto and they run on 8 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS. So to get help you need to give as much information as you can. Include things like:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For example, if you have a problem with exporting, then explain by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted? - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • My Back and Forward buttons are present but do not work. How do it fix?

    I have tried several fixes to no avail. The buttons worked until recently. Not sure when exactly they stopped.

    Back/Forward Home don't work in 7.0.1 due to '''network.http.max-connection'''s being upped to 256, reduce back down to 32.
    *https://support.mozilla.com/questions/889087
    Back button problems -- right-click on tab for tab history, or hold a couple of seconds for tab history, or install an extension
    * "'''Back/forward dropmarker'''" Extension<br>https://addons.mozilla.org/firefox/addon/backforward-dropmarker/
    Extensions that may '''interfere with Back Button''', and these are already listed in [http://kb.mozillazine.org/Problematic_extensions Problematic extensions] for other reasons
    *McAfee Site Advisor see [https://support.mozilla.com/questions/805964 805964] (update perhaps 3rd week July 2011)
    *Yahoo Toolbar (https://support.mozilla.com/questions/845691)
    Back/Forward: navigation/buttons are disabled -- http://kb.mozillazine.org/Locked_or_damaged_places.sqlite
    Back/Forward: buttons missing -- http://kb.mozillazine.org/Corrupt_localstore.rdf
    see more complete answer in https://support.mozilla.com/questions/851574

  • I just want to ask if there is any way i can fix my ipod touch 4G from watar damage and i dont think that a larg amount of water have entered and the ipod isnt working at all and i tried charging it but it didnt work so please help me, and thankyou.

    I just want to ask if there is any way i can fix my ipod touch 4G from watar damage and i dont think that a larg amount of water have entered and the ipod isnt working at all and i tried charging it but it didnt work so please help me, and thankyou.

    Probably dead if you have tried to charge it.
    You should never try to charge or turn on a wet electronic device.
    You should let it dry for  a week or so, then try.

  • I plug in my iPhone and this message showed. "This iPhone cannot be used because the required software is not installed. Run the iTunes installer to remove iTunes, then install the 64-bit version of iTunes." I did this but still not working. Please advise

    I have a problem with connecting my iPhone to iTunes. I uninstalled one of the computer program and restart my laptop. After restart my laptop and a message said that iTunes might not working because one of the component is missing and request to reinstall the iTunes. Hence I remove iTunes from my laptop and I reinstall iTunes to my laptop but still not working.
    Before this the iTunes will automatically launch when I plug in my iPhone. But after I reinstall iTunes, it's not working. When I try to plug in my iPhone after iTunes launched and message "This iPhone cannot be used because the required software is not installed. Run the iTunes installer to remove iTunes, then install the 64-bit version of iTunes." popped out. I did this twice but it's not working as well.
    Please advise what should I do to fix this.

    First make sue you are installing the 64 bit version of iTunes.
    Second make sure it is iTunes 10.7 or later.
    I would download a fresh copy of the 64 bit version of iTunes 11. After installation reboot your computer.
    Before connecting your phone reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • HT4623 iOS 6.1 no longer available because you are no longer connected to the internet- this is what my iphone 4 shows. iv tried switching off again and again, closing apps by double tapping the home button but still not working. please help.

    this is what my iphone 4 shows. iv tried switching off again and again, closing apps by double tapping the home button but still not working. please help.
    is there any other method to download ios 6.1.2.
    my phone is not being recognized by itunes on my new windows 8. neither its working on touch copy.
    kindly help.
    thanks

    well in thatcase, i need another help .
    thanks for your instant reply.
    i have currently bought a new laptop (windows 8) and my iphone is not being recognized by itunes.
    because i have no backup on my previous laptop, i downloaded touchcopy but even touch copy is not recognizing my iphone.

  • I cant open my ipad after i turned on the voice in accessibility i have a passcode and i tried to enter my password but it not working. help me please

    i cant open my ipad after i turned on the voice in accessibility i have a passcode and i tried to enter my password but it not working. help me please..
    i updated my ipad in ios 6

    Turn off VoiceOver
    1. Press the Home button
    2. Tap Settings.
    3. Then double-tap Settings.
    4. Tap General.
    5. Then double-tap General.
    6. Use three fingers on the screen to scroll to Accessibility
    7. Tap Accessibility.
    8. Then double-tap Accessibility
    9. Tap VoiceOver
    10. Then double-tap VoiceOver.
    11. Tap "On" next to VoiceOver
    12. Then double-tap "On" to turn it off.

  • It's been a while that Im unable to copy music from itunes to my iphone. I updated my device to the latest version of IOS 5.1.1 and made sure no jailbreak is installed but still not working. please assist.

    it's been a while that Im unable to copy music from itunes to my iphone. I updated my device to the latest version of IOS 5.1.1 and made sure no jailbreak is installed but still not working. please assist.

    Assuming you are not manually managing your music, verify the following:
    You are using the latest version of iTunes
    On the summary tab of your iTunes sync settings you have checked "Sync only checked songs and videos"
    In your music library you have checked all the songs you want to sync to your phone
    There are no exclamation points next to any of the songs you want to sync to your phone
    You have authorized your computer for all Apple IDs for purchased music you want to sync to your phone (in Store>Authorize this computer)
    You have checked "Sync Music" on the Music tab of your iTunes sync settings
    When everything looks correct, sync your phone.

  • Hi, when the itunes finished the downloading for ios 6 , the iphone turned of and shows that i have to connect it with the itunes , i already did but still not working . please appreciate your help

    Hi, when the itunes finished the downloading for ios 6 , the iphone turned of and shows that i have to connect it with the itunes , i already did but still not working . please appreciate your help

    First make sue you are installing the 64 bit version of iTunes.
    Second make sure it is iTunes 10.7 or later.
    I would download a fresh copy of the 64 bit version of iTunes 11. After installation reboot your computer.
    Before connecting your phone reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • I am using firefox 3.6.17 i upgraded it to 4.1.but it does not work properly sometimes it opens every website and most of the time it does not work . so what is the problem please help . thank you

    i am using firefox 3.6.17 i upgraded it to 4.1.but it does not work properly sometimes it opens every website and most of the time it does not work . so what is the problem please help . thank you

    Did you check your security software (firewall)?
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
    See:
    * [[Server not found]]
    * [[Firewalls]]

Maybe you are looking for

  • Internal hard drive not recognised, but has a lot of data i need on it!HELP

    hi all i'm on mac pro, quad core, leopard 10.5.2. basically for some reason my hard drive was working fine, then one day last week i turned my mac back on and the hard drive will not initialize anymore. i've gone into disk utility to try and repair d

  • [Oracle 8i] Handling null in case statement

    The following bit of my query is causing the error 'inconsistent datatypes': CASE      WHEN b.days_diff < 0      THEN plan_start      ELSE plan_start + b.days_diff ENDThe problem is that b.days_diff can be null. I've tried to work around this, by usi

  • Adobe CS6/CC and Epson 9900 printer issue

    Today I spent about 3 hours trying to print a larger image off an Epson 9900 with no luck. It seemed that no matter how I oriented the image or altered the settings in the printer driver window on the computer, the printer would always start printing

  • How to trasnsfer my itunes library to my newly aquired (used) itouch

    I have an ipod classic with all my desired itunes content.  My wife just got an iphone, so she gave me her itouch.  How can I get my large library transferred to the itouch?

  • Safari browser

    I have defaulted my MacBook to Safari wed browser. I keep getting an error,," Safari can't find the server?" I have internet to all of our other devices, maybe I've missed something?