Could not run JSP Aplication Deployed (Wrong port number ??)

I've testing JSP aplications with Jdeveloper on Oracle9ias.
To deploy aqplication to server i only can use port 1811 , but to run JSP aplication i only can run this on port 1810, that is Enterprise Manager Servlet port.
But the examples from Portal run on port 7777, what is wrong ?? how can i define a write port to run my aplication ?? Can you help me ??
Thanx

Murali,
Run the client class with the fully qualified class name.
java sisters.ejb.sisterclientthanks,
Deepak
"murali" <[email protected]> wrote:
>
Hi Gurus
I am trying to run a weblogic application EJB application. I
could deploy
the application
in weblogic 8.1 successfully. But I am getting the following error. I
have the
following jars
in my CLASSPATH .
1. weblogic.jar 2. j2ee.jar 3. my ejb jar file called StatelessEJB.jar
Further I had set JAVA_HOME, JDK_HOME etc . My jdk is jdk_141_02 .
My ejb-jar.xml and weblogic-ejb-jar.xml are deployed in META-INF directory.
Is it necessary I should populate an application.xml file in the META-INF
directory.
Please help me. I had tried my best but all failing.
In additon to that I had added a jar called wl_client.jar file in CLASS-PATH
too, but my problem
still exists. Please provide me a workable solution ASAP. I am struggling
a lot.
Thanks in advance
Murali
========================== ERROR MESSAGE =========
C:\DSTA\session\Sisters\Sisters\sisters\ejb>java sisterclient
Exception in thread "main" java.lang.NoClassDefFoundError: sisterclient
(wrong
n
ame: sisters/ejb/sisterclient)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
======================================

Similar Messages

  • Could not run JSP in eclipse

    Hi,
    I installed the eclipse and it is running fine with the .java files.
    I installed the Tomcat4.1 and configured it with eclipse. now iam able to run and stop the Tomcat server from the elcipse.
    I created a Tomcat project and trying to run Helloworld Jsp file but when i open a JSP file it is automatically openning Windows Media player.
    i will appreciate if any one can help me run and create a new JSP file in eclipse3.0
    Thanks,
    Ranga

    but when i open a JSP file it is automatically openning Windows Media playerSounds like you need to change the associations.
    In Eclipse, go to Window:Preferences
    Open the "Workbench" submenu
    Select "File Associations"
    Find "jsp" in the list, and add/remove handlers for it.

  • When will come this error Could not connect to SMTP host: son1175, port: 25

    Hi all
    we configure SMTP server on Linux ES,my java application run on same server
    from my application trying to send a mail i got this error
    [0] EmailConnection.getConnection: Attempting connection...
    DEBUG: setDebug: JavaMail version 1.3.1
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    DEBUG SMTP: useEhlo true, useAuth false
    DEBUG SMTP: trying to connect to host "son1175", port 25
    [0] EmailConnection.getConnection: Cannot connect to server with configuration
    smtp://padmanab:*@son1175/. Port = 25. Security: none.
    Properties: {mail.port=25, mail.smtp.timeout=30000, mail.smtp.connectiontimeout=30000}
    Could not connect to SMTP host: son1175, port: 25;
    nested exception is:
    java.net.ConnectException: Connection refused
    2005-03-30 10:03:03,751 INFO [plt.userManagement] [PoolThread-9] "Password Reset" email could not be sent to vallish at the email address, "[email protected]".
    but mail server is configured currectly
    please tell cause of this error out java application or my SMTP server
    regards
    satya

    Could not connect to SMTP host: son1175, port: 25;
    nested exception is:
    java.net.ConnectException: Connection refusedYou didn't notice that this question is asked every day here?
    Your computer can't connect to a computer named "son1175", or if it can then that computer isn't running a server listening at port 25. Talk to your network people if your computer name is the right one and ask them why not. It is nothing to do with programming.

  • Could not connect to host localhost on port 21212 (linux Redhat)

    Hi Gurus,
    I'm trying to install NW7 on linux Red Hat. After executing SAPinst, the following log executes:
    root@sapserver1 IM_LINUX_I386]# ./sapinst
    [==============================] | extracting...  done!
    Starting GUIServer using:
      SAPinst port  : 21200
      GUIServer port: 21212
      HTTP port     : 4239
      GUI autostart : on
      GUI mode      : normal
      command       : /tmp/sapinst_exe.4231.1318317961/jre/bin/java -Xmx256M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /tmp/sapinst_exe.4231.1318317961/JAR/instgui.jar SDTServer rootdir=/root/.sdtgui config=jar:sdtserver.xml guiport=21212 httpport=4239 -nolock -srvarg=/SAPinstService/host=localhost -srvarg=/SAPinstService/port=21200
    init: retrieving account information for group sapinst...
    init: retrieving account information done.
    load resource pool /mnt/masterinstall/IM_LINUX_I386/resourcepool.xml
    guiengine: No GUI server connected; waiting for a connection on host sapserver1, port 21200 to continue with the installation
    Oct 11, 2011 7:26:37 AM [Info]: *************************
    Oct 11, 2011 7:26:37 AM [Info]: Starting Server
    Oct 11, 2011 7:26:37 AM [Info]: Reading server configuration.
    Oct 11, 2011 7:26:37 AM [Info]: Reading service configuration SAPinstService.
    Oct 11, 2011 7:26:37 AM [Info]: Configuring LogManager ...
    Oct 11, 2011 7:26:37 AM [Info]: *************************************************
    Oct 11, 2011 7:26:37 AM [Info]: Starting SL Controller listening on port 21212 ...
    Oct 11, 2011 7:26:37 AM [Info]: StorageService switched off.
    Oct 11, 2011 7:26:37 AM [Info]: Initializing SecurityManager ...
    Oct 11, 2011 7:26:40 AM [Info]: Server certificate fingerprint is 92 9F C1 FC 74 60 48 C9 4F 9F 9E 94 C8 E3 BE 40
    Oct 11, 2011 7:26:40 AM [Info]: Configuring HTTPManager ...
    Oct 11, 2011 7:26:40 AM [Info]: WebstartService switched off.
    Oct 11, 2011 7:26:40 AM [Info]: RoleService switched off.
    Oct 11, 2011 7:26:40 AM [Info]: AlertService switched off.
    Oct 11, 2011 7:26:40 AM [Info]: Starting NotesService ...
    Oct 11, 2011 7:26:40 AM [Info]: ProcessService switched off.
    Oct 11, 2011 7:26:40 AM [Info]: Starting MIDService ...
    Oct 11, 2011 7:26:40 AM [Info]: Starting FileService ...
    Oct 11, 2011 7:26:40 AM [Info]: LogService switched off.
    Oct 11, 2011 7:26:40 AM [Info]: MailService switched off.
    Oct 11, 2011 7:26:40 AM [Info]: Starting services ...
    Oct 11, 2011 7:26:40 AM [Info]: Starting service "SAPinstService" ...
    Oct 11, 2011 7:26:40 AM [Info]: Service "SAPinstService" started
    Oct 11, 2011 7:26:40 AM [Info]: Services started.
    Oct 11, 2011 7:26:40 AM [Info]: Starting HTTP server listening on port 4239 ...
    Oct 11, 2011 7:26:40 AM [Info]: HTTP server started.
    Oct 11, 2011 7:26:40 AM [Info]: SL Controller started.
    Oct 11, 2011 7:26:40 AM [Info]: Starting GUI ...
    Oct 11, 2011 7:26:40 AM [Info]: /tmp/sapinst_exe.4231.1318317961/jre/bin/java -XX:+HeapDumpOnOutOfMemoryError -Xmx256M -cp /tmp/sapinst_exe.4231.1318317961/JAR/instgui.jar SDTGui host=localhost port=21212 service=SAPinstService -noauth
    Oct 11, 2011 7:26:40 AM [Info]: GUI started.
    Oct 11, 2011 7:26:46 AM [Info]: >> <<< frog.jar: version 7.20.12 06/06/08 sap.theme: null >>>
    ===>> At this point  the installation program starts and the following message pops up :
    Connection to SAPinst refused with the following message:
    Connection to SAPinst could not be established, see following messages.
    Could not connect to host localhost on port 21212
    java.net.ConnectException: Connection refused
    java.net.ConnectException: Connection refused
    Please correct the error condition and restart.
    ====>> First, I don't understand why it tries to connect to "localhost" even I defined the host as "sapserver1"
    ====>> Second, the "tmp/sapinst_exe.4231.1318317961/jre/bin/java -XX:+HeapDumpOnOutOfMemoryError " is confusing me.
    Hope this will help resolve my problem.
    Thanks and Regards

    Markus,
    I have also another hint from SELinux.
    When I change the SELinux parametr from Enforced to Permissive, and I run the SAPinst program, the SELinux pops up the following alert:
    Summary:
    SELinux is preventing java from loading
    /tmp/sapinst_exe.6387.1318347447/jre/lib/i386/server/libjvm.so which requires
    text relocation.
    Detailed Description:
    [SELinux is in permissive mode, the operation would have been denied but was
    permitted due to permissive mode.]
    The java application attempted to load
    /tmp/sapinst_exe.6387.1318347447/jre/lib/i386/server/libjvm.so which requires
    text relocation. This is a potential security problem. Most libraries do not
    need this permission. Libraries are sometimes coded incorrectly and request this
    permission. The SELinux Memory Protection Tests
    (http://people.redhat.com/drepper/selinux-mem.html) web page explains how to
    remove this requirement. You can configure SELinux temporarily to allow
    /tmp/sapinst_exe.6387.1318347447/jre/lib/i386/server/libjvm.so to use relocation
    as a workaround, until the library is fixed. Please file a bug report
    (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.
    Allowing Access:
    If you trust /tmp/sapinst_exe.6387.1318347447/jre/lib/i386/server/libjvm.so to
    run correctly, you can change the file context to textrel_shlib_t. "chcon -t
    textrel_shlib_t
    '/tmp/sapinst_exe.6387.1318347447/jre/lib/i386/server/libjvm.so'" You must also
    change the default file context files on the system in order to preserve them
    even on a full relabel. "semanage fcontext -a -t textrel_shlib_t
    '/tmp/sapinst_exe.6387.1318347447/jre/lib/i386/server/libjvm.so'"
    The following command will allow this access:
    chcon -t textrel_shlib_t '/tmp/sapinst_exe.6387.1318347447/jre/lib/i386/server/libjvm.so'
    ====>>> Does it make some sense ?? When do I have to the below command ?
    Hope this will help
    Regards

  • I could not run any java application

    I could not run any application program( even thouht the simplest one such as helloword). It would give NoClassDefoundError as:
    Exception in thread "main" java.lang.NoClassDefFoundError: Welcome1
    Press any key to continue . . .
    I use text pad editor. First I compile it, there is no error. But when I try to run ( by click run java application program button ) it gives me the same error message.
    I also always have compile error such as no class define when I try compile the program which need to import user defined class from differerent package. ( even though I did put all the classed in the same directory and also use import statement)
    I did try to run many other applet programs which do not use any user defined class, in this case every thing work fine and I could run the program.
    That mean I could run simple applet program but not application, also i always have compile error when ever I tried to import user defined class.
    I'm afriad there is some thing wrong with the sdk and java enviroment, therefore I did try to uninstall the program and redownload from the web( I try both version 1.3 and 1.4 many time, and I did check the size of the application when I finish down load) but I still got the same problem.
    My computer operating system is WinMe.
    I appreciate any help

    You probably have to set some settings for text pad. It looks like the java interpreter could not find your class, which most likely means that the classpath setting is not set properly.

  • I could not run any application program

    I could not run any application program( even thouht the simplest one such as helloword). It would give NoClassDefoundError as:
    Exception in thread "main" java.lang.NoClassDefFoundError: Welcome1
    Press any key to continue . . .
    I use text pad editor. First I compile it, there is no error. But when I try to run ( by click run java application program button ) it gives me the same error message.
    I also always have compile error such as no class define when I try compile the program which need to import user defined class from differerent package. ( even though I did put all the classed in the same directory and also use import statement)
    I did try to run many other applet programs which do not use any user defined class, in this case every thing work fine and I could run the program.
    That mean I could run simple applet program but not application, also i always have compile error when ever I tried to import user defined class.
    I'm afriad there is some thing wrong with the sdk and java enviroment, therefore I did try to uninstall the program and redownload from the web( I try both version 1.3 and 1.4 many time, and I did check the size of the application when I finish down load) but I still got the same problem.
    My computer operating system is WinMe.
    I appreciate any help
    Ha Tran

    When I was trying to write my final project(Client/Server Application with java & CORBA)I could not compile The simplest program like HelloWorld for Idl(Errors like yours).After two month accidentally I write set classpath= and HelloWorld start to work.I start to read the tutorial again,and I see that sun say it in the tutorial but I don't understand it because I read it fast.So it was somthing wrong with me not with sun.They work very hard.I like to work in sun in future.

  • Java is not coming up because of wrong port configuration

    Hello guys
    It is a ABAP+ JAVA system ,ABAP is system is up but java is not coming up because of wrong port configuration.
    getting error as ....service could not start because of missing or wrong port configuration
    also tell me how to change this parameter in configtool??
    com.sap.aii.connect.integrationserver.r3.mshost

    Hi,
    Please attach std_server0.out file too. Also, on the Abap side, ensure the HTTP port is set. This can checked by tcode smicm->Goto-> Services. The HTTP entry must be enabled and the port number should be displayed.
    If it isnt enabled, then activate the http port in the instance profile using RZ10 Tcode.
    Also, AFAIK, the parameter com.sap.aii.connect.integrationserver.r3.mshost is maintained in the exchange profile.
    Rgds,
    Soujanya

  • Unable to install itunes 10,5.I receive this message: there is a problem with this window installer package. A program required for nthis install to complete could not run. Contact your support personnel or package vendor.Am using window ultimate 64 bits

    I am unable to install itunes 10,5. I receive this message: There is a problem with this window installer package. A program required for this install to complete could not run. Contact your support personnel or package vendor. I am using window 7 ultimate 64 bits

    There is a problem with the Window installer package. A program required for this intall to complete could not be run. Contact your support personnel or package venfor.
    Perhaps let's first try updating your Apple Software Update.
    Launch Apple Software Update ("Start > All Programs > Apple Software Update"). Does it launch and offer you a newer version of Apple Software Update? If so, choose to install just that update to Apple Software Update. (Deselect any other software offered at the same time.)
    If the ASU update goes through okay, try another iTunes install. Does it go through without the errors this time?

  • I wanted a solution to the problem I was having on Win 7 Pro Service Pack 1 in that links on an open Adobe Acrobat file will not open in my Firefox Browser 33.0.2. The Error I receive is "Acrobat could not run the web browser.  Unknown Error. (123)"

    I want a solution to the problem I was having on Win 7 Pro Service Pack 1 in that links on an open Adobe Acrobat Pro 10.1.12  file will not open in my Firefox Browser 33.0.2. The Error I receive is "Acrobat could not run the web browser.  Unknown Error. (123)"

    Change browsers. See what happens.
    Be well...

  • After downloading the mac os x 10.6.8 I can't open safari. It first told me that I could not run it with Safari 5.1 so I downloaded safari 6 because I had read that that would solve the problem. However I am still getting an error message. HELP!!

    After downloading the mac os x 10.6.8 I can't open safari. It first told me that I could not run it with Safari 5.1 so I downloaded safari 6 because I had read that that would solve the problem. However I am still getting an error message. HELP!!

    I see this on Apple's support page:
    Available for: OS X Lion v10.7.5, OS X Lion Server v10.7.5, OS X Mountain Lion v10.8 and v10.8.1

  • Web links in .pdfs inoperable- "Acrob. could not run the browser"

    I keep my Adobe Reader updated often, but I've been experiencing a severe inconsistency with the ability to open a (FFox) web page by clicking a link given by the author of any given .pdf., embedded in it. Sometimes it works and opens up the new FFox page OK. But maybe a little more than half the  time I first get a security warning, "The document is trying to connect to (URL). If you trust this site, choose 'Allow'. If you do not trust this site, choose 'Block' ".   So, I'll click 'allow' and then I get a window saying, "Acrobat could not run the web browser.    Unknown error (740).
    I've tried to find out more about an error 740, but there's no relation online between any error w/ that # and Adobe. It reads kind of contradictory anyway, since it says "unknown error" but then gives you an error #.  Ideas, anyone? Thanks.
    (Message was edited by: Victorious57)

    I'm having the same problem and have found a few suggestions from different places that may help.
    1. Add the site / host to the trusted sites list in Internet explorer. E.G http://hostname or file://hostname or hostname.
    2. In Adobe reader or Acrobat go to START>PREFERENCES>JAVA SCRIPT Untick 'enable Acrobat JavaScript'.
    3. Create the documents from open office and use the export to PDF option.
    The last option seemed to work when adding the hostname to the trusted sites list in IE 8 (IE 6 didn't work)
    One thing I noticed when I created PDF's this way is the link was displayed as file://hostname/share/doc.pdf.
    When I converted a document from MS Word 2007 and used Acrobat standard to convert the document the link was displayed as file://///host/share.doc.pdf.
    I'm not sure why the extra //// were added but it seems that MS word puts the hyperlink in this format.
    As I said creating the document in Open Office worked when I added the host in IE 8's trusted site list but this isn't acceptable for me due our SOE restrictions.
    Our setup is as follows..
    XP Pro SP2
    Internet Explorer 6
    Adobe Acrobat Standard 9.3

  • Logon Error:Could not retrieve the source file for Port "Main"

    Hi All,
    We have a port which is blocked due to structural exceptions.When i try to connect to the Exceptions folder
    "Main[Exceptions]" the import manager throws an error "Logon Error:Could not retrieve the source file for port "Main".
    Any help greatly appreciated

    Hi ,
    Thanks for your reply.
    This is what I see in the log file in the exceptions folder
    These are the line I see almost to the end of the log file before they complete field mappings,value addings
              <Failure ts="2008/07/22 00:10:48.326 GMT" tid="1286" entry-no="9114" operation="Create lookups" rc="0x80000001">Illegal value for parameter</Failure>
              <Timer ts="2008/07/22 00:10:48.327 GMT" tid="1286" entry-no="9115" name="Import Lookup" total="0.040819">1</Timer>
              <Trace ts="2008/07/22 00:10:48.327 GMT" tid="1286" entry-no="9116">Import of Lookup Failed.</Trace>
    But when I open the same source xml file after downloading to my local folder from Exceptions Structural folder and load manually using IM i get the status as "Ready to import".
    Any Help greatly appreciated

  • 'iTunes could not run because it had detected a problem with your audio...

    ...configuration.'
    I have just updated to the newest iTunes version from the latest version.
    I have installed iTunes and when I click 'iTunes' to launch iTunes, it says this 'iTunes could not run because it had detected a problem with your audio configuration.'
    I get the option to click 'OK' or 'Help'
    When I click 'OK' the window closes and then nothing happens.
    When I click 'Help' nothing happens.
    Any advice??

    It's probably QuickTime 7.3 that is the problem. Uninstall it and install version 7.2 instead. http://www.apple.com/support/downloads/quicktime72forwindows.html

  • Itunes could not run because some of its required files are missing. please

    After trying to run iTunes, I get the error message: "iTunes could not run because some of its required files are missing. please reinstall iTunes." It hasn't always done this, and I've had iTunes for years. Any ideas why it has just started now, and what I can do about it? Thanks

    have you tried reinstalling?

  • I could not run report on 9i

    hi
    i am using developer9i. and created a report named emp.rep
    but i could not run it. please tell me what can i do to run report
    but i have experience developer6i.
    thanks
    mostafiz

    They'll probably know more about this application over here.
    http://answers.microsoft.com/en-us/search/search?SearchTerm=math+input+panel&IsSuggestedTerm=false&CurrentScope.ForumName=&CurrentScope.Filter=&ContentTypeScope=#////1
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

Maybe you are looking for

  • Error while registering components.

    i got this error while registering the components i.e. collector,preference and session: Exception in thread "main" java.lang.nosuchfielderror: org.omg.corba.tckind: field tk_principal not found at at com.visigenic.vbroker.activationimpl.oadutil.main

  • OC4J with OAS Port questions

    We are using Oracle DB and OAS 10g. OAS is installed on a Windows2K server, with the Infrastructure and Portal instances. We created a new OC4J instance in the Infrastructure, and have deployed an EJB application to this instance. The port assigned f

  • Cannot move or resize any window

    Hello there, I have a brand new rMBP which I could be very happy with ... unless for whatever reason I cannot move or resize any window at all. Cannot resize/move Finder, Safari, Preview, ... anything !!! How the **** is that ? I have googled a bit b

  • How to get Acrobat Portfolio to print mix of duplex and single sided documents?

    When we create a Portfolio of documents, one advantage is to be able to print the entire Portfolio (say of a new hire kit) with one print command. The files in the portfolio consist of some that need to be printed one sheet per page and other files n

  • Signing in again and again to use CC apps

    Recently Adobe continually asks me to sign in when I use an app and in the case of Acrobat Pro asks me to sign in to use the "trial version".  All this since Adobe was hackedand I changes my Adobe password.  It is frustrating and without purpose.  Wh