Latest Posts


Show last 6 hrs - 24 hrs - 7 days

Forum tags


Top Posters

Last 30 days

  • Antoine (34)
  • ravinderjit.singh (30)
  • danielandross (17)
  • venkaiah.k (16)
  • sirswendu.ganapati (14)
  • eva.das (13)
  • milos.vacek (12)
  • metabyte (9)
  • cristiano.quintao (7)
  • pierre.pavageau (5)

All time

  • Antoine (1488)
  • Shivanand (1194)
  • cshekhar (928)
  • psq (796)
  • jag (391)
  • metabyte (380)
  • arnaud (328)
  • jalateras (325)
  • dfrench (271)
  • venkaiah.k (214)

Show last 4 hrs - 12 hrs - 24 hrs

POLL

We are looking for more information to tailor our training to better meet the needs of our customers. Please indicate all options that apply.

I would like to attend specialized training from Intalio on BPM as it relates to my application area:


I would like to attend specialized training from Intalio on BPM as it relates to my job function:


I would like to attend specialized training from Intalio on BPM as it relates to my industry:

Login

MAIN arrow FORUMS
filehandling-Beispiel (INTALIO-samples) (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: filehandling-Beispiel (INTALIO-samples)
#16106
robert.sommer (User)
Junior Boarder
User Offline Click here to see the profile of this user
filehandling-Beispiel (INTALIO-samples) 3 Months, 3 Weeks ago Karma: 0  
Sehr geehrte Damen und Herren,

ich habe Probleme, das folgende Beispiel auszuführen:

http://bpms.intalio.com/samples/file-handling-process-using-axis2.html

Obwohl ich die Anleitung Schritt für Schritt befolgt habe, bekomme ich jedesmal, wenn ich den Prozess auf der Intalio|BPMS-console starte folgende Fehlermeldung:

exceptionClass: org.apache.axis2.AxisFault
message: Read timed out


Ich würde mich sehr freuen, wenn mir jemand helfen könnte den Fehler zu finden.


Mit freundlichen Grüßen

Robert Sommer
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#16127
andreas.boehm (Moderator)
Moderator
User Offline Click here to see the profile of this user
Re:filehandling-Beispiel (INTALIO-samples) 3 Months, 3 Weeks ago Karma: 0  
Hallo,

bisher ging ich davon aus, dass dieser Fehler entsteht, wenn man unterschiedliche Namespaces in der WSDL angibt. Das ist beim vorgegebenen Beispiel natürlich sicher nicht der Fall.

Ich gehe davon aus die "FileHandlingServiceWS.aar" korrekt in Axis2 registriert ist?
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/09/15 11:21 By andreas.boehm.
  The administrator has disabled public write access.
#16168
robert.sommer (User)
Junior Boarder
User Offline Click here to see the profile of this user
Re:filehandling-Beispiel (INTALIO-samples) 3 Months, 3 Weeks ago Karma: 0  
Sehr geehrter Herr Boehm,

ich habe auf ihren Hinweis nochmals versucht den Service zu registrieren. Beim upload via axis2 ergab sich aber folgendes Problem. Nach dem Auswählen der entsprechenden *.aar-Datei und dem Betätigen des UPLOAD-Buttons kam nur eine leere Seite.

Unten hänge ich den betreffenden Abschnitt aus der GERONIMO.out mit an.

Code: :

 Geronimo Application Server started 11:43:15,123 WARN  [AbstractAgentError dispatching request /ode/axis2-admin/upload java.lang.reflect.InvocationTargetException     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:585)     at org.apache.axis2.transport.http.AbstractAgent.handle(AbstractAgent.java:78)     at org.apache.axis2.transport.http.AdminAgent.handle(AdminAgent.java:112)     at org.apache.axis2.transport.http.AxisAdminServlet.doGet(AxisAdminServlet.java:47)     at org.apache.axis2.transport.http.AxisAdminServlet.doPost(AxisAdminServlet.java:40)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)     at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)     at org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65)     at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)     at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)     at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)     at org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46)     at org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:58)     at org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48)     at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)     at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)     at org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47)     at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)     at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)     at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)     at org.mortbay.jetty.Server.handle(Server.java:313)     at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)     at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)     at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)     at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)     at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)     at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)     at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)     at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331)     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)     at java.lang.Thread.run(Thread.java:595) Caused byjava.lang.NoClassDefFoundErrororg/apache/commons/io/output/DeferredFileOutputStream     at org.apache.commons.fileupload.disk.DiskFileItemFactory.createItem(DiskFileItemFactory.java:179)     at org.apache.commons.fileupload.FileUploadBase.createItem(FileUploadBase.java:500)     at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:367)     at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:116)     at org.apache.axis2.transport.http.AdminAgent.processUpload(AdminAgent.java:142)     ... 36 moreGeronimo Application Server started 11:43:15,123 WARN  [AbstractAgentError dispatching request /ode/axis2-admin/upload java.lang.reflect.InvocationTargetException     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:585)     at org.apache.axis2.transport.http.AbstractAgent.handle(AbstractAgent.java:78)     at org.apache.axis2.transport.http.AdminAgent.handle(AdminAgent.java:112)     at org.apache.axis2.transport.http.AxisAdminServlet.doGet(AxisAdminServlet.java:47)     at org.apache.axis2.transport.http.AxisAdminServlet.doPost(AxisAdminServlet.java:40)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)     at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)     at org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65)     at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)     at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)     at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)     at org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46)     at org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:58)     at org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48)     at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)     at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)     at org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47)     at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)     at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)     at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)     at org.mortbay.jetty.Server.handle(Server.java:313)     at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)     at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)     at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)     at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)     at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)     at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)     at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)     at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331)     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)     at java.lang.Thread.run(Thread.java:595) Caused byjava.lang.NoClassDefFoundErrororg/apache/commons/io/output/DeferredFileOutputStream     at org.apache.commons.fileupload.disk.DiskFileItemFactory.createItem(DiskFileItemFactory.java:179)     at org.apache.commons.fileupload.FileUploadBase.createItem(FileUploadBase.java:500)     at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:367)     at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:116)     at org.apache.axis2.transport.http.AdminAgent.processUpload(AdminAgent.java:142)     ... 36 more




Mit freundlichen Grüßen

Robert Sommer
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#16205
andreas.boehm (Moderator)
Moderator
User Offline Click here to see the profile of this user
Re:filehandling-Beispiel (INTALIO-samples) 3 Months, 3 Weeks ago Karma: 0  
Entschuldigung für die verspätete Antwort ;)

org/apache/commons/io/output/DeferredFileOutputStream

das Fehlt wohl in ihrer Umgebung. Eigentlich sollte aber das Intalio-Geronimo-Bundle alles enthalten.

Sie haben zwei Möglichkeiten:
1. Laden sie die Datei commons-io.jar herunter und kopieren sie diese ins lib-Verzeichnis von Geronimo
http://commons.apache.org/io/

2. Kopieren sie ihre aar-Datei in das Services-Verzeichnis vom Axis2 auf dem Geronimo.
($GERONIMO_HOME/repository/com/intalio/bpms/axis2-services/1.1.1/axis2-services-1.1.1.war/WEB-INF/services/)
Hier ist dann kein Upload notwendig.

Evtl. löst das ihre Probleme



Generell gilt bei solchen Fehlern:
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream

Hier fehlt eine Library... http://www.findjar.com hilft da enorm weiter!
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/09/18 08:34 By andreas.boehm.
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop