Hi everyone,
i developed a small application which worked fine in the
middle of June.
When I startet my app in July, it didn't work anymore and the
following Error occurs:
[FaultEvent fault=[RPC Fault faultString="An unknown
exception occurred while creating an instance of type
'adg.frontend.Messefrontend'."
faultCode="Server.ResourceUnavailable" faultDetail="null"]
messageId="224E43C5-591E-B78D-4558-04D90D1AD5D3" type="fault"
bubbles=false cancelable=true eventPhase=2]
I'm using Flex Beta 3 with Tomcat 5.5 and J2SE 5 SDK 7
After days of searching, I don't know where the fault is.
I tried the, for my config tweaked, configuration of the
example files (samples.war, examples are working).
Without any effect.
My Configuration:
flex-remoting-service.xml:
...
<destination id="Messefrontend">
<properties>
<source>adg.frontend.Messefrontend</source>
</properties>
<adapter ref="java-object" />
</destination>
Messe.MXML:
<mx:RemoteObject id="MesseFrontend"
destination="Messefrontend" result="resultHandler(event.result)"
fault="faultHandler(event)" >
<mx:method name="gewinnCodeEingabe"
concurrency="multiple" />
<mx:method name="getConfirmData"
concurrency="single"/>
</mx:RemoteObject>
File System:
Tomcat
5.5\webapps\flex\WEB-INF\classes\adg\frontend\Messefrontend.class
Tomcat
5.5\webapps\flex\WEB-INF\src\adg\frontend\Messefrontend.java
Tomcat 5.5\webapps\flex\Messe\Messe.mxml
Java Files are working if I start them with a main Method in
Eclipse.
Hope someone can help me.
Thanks a lot.
D. Kuhn