This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Problem while Deploying! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Problem while Deploying!" Watch "Problem while Deploying!" New topic
Author

Problem while Deploying!

kelvin cheung
Ranch Hand

Joined: Mar 27, 2004
Posts: 120
When I verify my application, i get no errors.

when i try to deploy it to the server, i get :

Compilation failed.
at com.sun.ejb.codegen.GeneratorDriver.compileClasses(GeneratorDriver.java:232)
at com.sun.ejb.codegen.GeneratorDriver.preDeploy(GeneratorDriver.java:603)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployEjbs(JarInstallerImpl.java:707)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication(JarInstallerImpl.java:221)
at org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)


edit :31/05/2006 : the output from the console (server) :

Compiling c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\Rapp
ortoerBean_PM.java ....
Compiling c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\Rapp
ortoerBean_PMState.java ....
Compiling c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\Obse
rvasjonBean_PM.java ....
Compiling c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\Obse
rvasjonBean_PMState.java ....
Compiling c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\Fugl
Bean_PM.java ....
Compiling c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\Fugl
Bean_PMState.java ....
Compiling c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\Obse
rvasjonBean_rapportoer_RapportoerBean_.java ....
Compiling c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\Fugl
Bean_observasjon_ObservasjonBean_fugl.java ....
c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\ObservasjonBea
n_PMState.java:14: fugl is already defined in PG501eksamen2006.ObservasjonBean_P
MState
public PG501eksamen2006.FuglLocal fugl;
^
c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\ObservasjonBea
n_PM.java:10: __fugl_ID is already defined in PG501eksamen2006.ObservasjonBean_P
M
public static final int __fugl_ID = 1;
^
c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\ObservasjonBea
n_PM.java:80: getFugl() is already defined in PG501eksamen2006.ObservasjonBean_P
M
public PG501eksamen2006.FuglLocal getFugl() {
^
c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\FuglBean_PMSta
te.java:12: observasjon is already defined in PG501eksamen2006.FuglBean_PMState
public PG501eksamen2006.ObservasjonLocal observasjon;
^
c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\FuglBean_PM.ja
va:10: __observasjon_ID is already defined in PG501eksamen2006.FuglBean_PM
public static final int __observasjon_ID = 1;
^
c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\FuglBean_PM.ja
va:57: getObservasjon() is already defined in PG501eksamen2006.FuglBean_PM
public PG501eksamen2006.ObservasjonLocal getObservasjon() {
^
c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\ObservasjonBea
n_PM.java:71: getFugl() in PG501eksamen2006.ObservasjonBean_PM cannot override g
etFugl() in PG501eksamen2006.ObservasjonBean; attempting to use incompatible ret
urn type
found : java.util.Collection
required: PG501eksamen2006.FuglLocal
public java.util.Collection getFugl() {
^
c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\ObservasjonBea
n_PM.java:83: incompatible types
found : java.util.Collection
required: PG501eksamen2006.FuglLocal
return __getState().fugl;
^
c:\j2sdkee1.3.1\repository\wah\gnrtrTMP\FuglApp3\PG501eksamen2006\FuglBean_PM.ja
va:60: incompatible types
found : java.util.Collection
required: PG501eksamen2006.ObservasjonLocal
return __getState().observasjon;
^
9 errors
Compilation failed ...


can somebody help me please !!???
[ May 31, 2006: Message edited by: kelvin cheung ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem while Deploying!
 
Similar Threads
deployment problem..pls help
Transaction Demarcation Home Interface FAILED
EJB deployment errors
Pls Urgent ....Compilation error in petstore while deploying
Error deploying my EJB Application