Re: J2EE JBoss und Sun AppServer



Ja funktioniert fast - der Port lautet 3700.

Aber nun:

javax.naming.NameNotFoundException [Root exception is
org.omg.CosNaming.NamingContextPackage.NotFound:
IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
	at
com.sun.jndi.cosnaming.ExceptionMapper.mapException(ExceptionMapper.java:44)
	at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:453)
	at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492)
	at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:470)
	at javax.naming.InitialContext.lookup(InitialContext.java:347)
	at test1.HelloWorldClient.main(HelloWorldClient.java:39)
Caused by: org.omg.CosNaming.NamingContextPackage.NotFound:
IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
	at
org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
	at
org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:406)
	at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:440)

Ich entdecke auch mit etwas suche die passende lib nicht dazu.

------------
Vielleicht eine andere Frage auch noch:

Irgendwo scheint mir Eclipse + Lomboz arbeit abzunehmen, oder?
Denn, beim JBoss reicht es, die JARs und WARs auf den Server zu kopieren
und sie werden "deployt".


Beim Sun AppServer 8 soll ich -falls ich das richtig verstanden habe- eine
Client Jar erzeugen und sie ins Classpath einbinden... Etwas was ich beim
JBoss nicht tue... Oder tut es dort der Lomboz/Eclipse für mich?

Mustafa


Ein Client-Jar brauchst du nur, wenn du über einen extra Client auf den App-Server zugreifen willst. Aber ich denke mal, du machst das innerhalb von der Web-App ausgehend, oder ?
Die Exception sieht allerdings aus, als wenn sie durch ein Lookup hervorgerufen wird.


Malte
.



Relevant Pages

  • Re: MMORPGs for dialup?
    ... Wars so I can't comment on specifics, but if they haven't introduced a 'graphics update' that is forcing your barely adequate video card to render scenery at a color depth and resolution that it can't handle very well, you should still be able to play with acceptable lag. ... They take ages to arrive in a mission, half the time they drop out before the mission starts leaving the party ill fated, and those that do show up are so far behind the action as to be ineffective. ... The only data the server needs to send are the location and type of mobs and loot in a zone. ...
    (comp.sys.ibm.pc.games.rpg)
  • Problem binding remote objects in JBoss JNDI
    ... I have 2 WARs deployed on the same J2EE server, each with a single servlet. ... CProxy (extends UnicastRemoteObject implements IProxy) in the "server" WAR ...
    (comp.lang.java.programmer)
  • Re: EXecuting jar file
    ... running a "Executable JAR file " returned by server after deploying ... What it does is invoke application logic when you access the server via its defined port, e.g., 8080. ... The application server takes care of invoking logic contained in its deployed JARs, or more precisely, its EARs and WARs. ...
    (comp.lang.java.programmer)
  • Re: Netbeans, the classes in lib directory are not available
    ... "Andrew Thompson" wrote in message ... > Various people have noted that the server container ... It sounds like he's having a NetBeans classpath issue. ... JARs must be mounted in NetBeans to be on the project classpath. ...
    (comp.lang.java.help)
  • Re: Reducing jar dependencies?
    ... look into ant genjar. ... What you can do is tell genjar the root class for the client and ... server jars and it will collect all the dependent classes. ...
    (comp.lang.java.programmer)