Hey Martin,

Unfortunately the car rental sample hasn't been tested
in quite a while (it currently uses the old deprecated
struts cartridge which should NOT be used anymore as
it isn't supported).  I fixed the struts tag lib
import errors you were getting with the hibernate
version, however I didn't look at the other problem. 

In fact Carlos Cuenca is  converting the application
to use bpm4struts.  Carlos, how's it coming...have you
been able to get it to run? 

Chad

--- Martin West <[EMAIL PROTECTED]> wrote:

> I get the following error:
> 
> 23:47:39,550 INFO  [EARDeployer] Init J2EE
> application:
>
file:/hda6/tools/jboss-3.2.5/server/default/deploy/car-re
> ntal-sample-hibernate-app-3.0M3-SNAPSHOT.ear
> 23:47:40,930 WARN  [DeploymentInfo] Only the root
> deployment can set the
> loader repository, ingoring config=null
> 23:47:41,702 INFO  [EjbModule] Deploying
> AdminService
> 23:47:41,744 INFO  [EjbModule] Deploying
> ContractService
> 23:47:41,768 INFO  [EjbModule] Deploying
> InventoryService
> 23:47:41,797 INFO  [EjbModule] Deploying
> CustomerService
> 23:47:42,461 INFO  [EJBDeployer] Deployed:
>
file:/hda6/tools/jboss-3.2.5/server/default/tmp/deploy/tmp62323car-ren
>
tal-sample-hibernate-app-3.0M3-SNAPSHOT.ear-contents/car-rental-sample-hibernate-3.0M3-SNAPSHOT.jar
> 23:47:42,605 INFO  [TomcatDeployer] deploy,
> ctxPath=/carrental-hibernate,
> warUrl=file:/hda6/tools/jboss-3.2.5/ser
>
ver/default/tmp/deploy/tmp62323car-rental-sample-hibernate-app-3.0M3-SNAPSHOT.ear-contents/car-rental-sample-web-
> 3.0M3-SNAPSHOT.war/
> 23:47:45,303 INFO  [EARDeployer] Started J2EE
> application:
>
file:/hda6/tools/jboss-3.2.5/server/default/deploy/car
> -rental-sample-hibernate-app-3.0M3-SNAPSHOT.ear
> 23:47:45,328 INFO  [EARDeployer] Init J2EE
> application:
>
file:/hda6/tools/jboss-3.2.5/server/default/deploy/car-re
> ntal-sample-ejb-app-3.0M3-SNAPSHOT.ear
> 23:47:45,979 WARN  [DeploymentInfo] Only the root
> deployment can set the
> loader repository, ingoring config=null
> 23:47:46,747 INFO  [EjbModule] Deploying AccidentDoc
> 23:47:46,971 INFO  [EjbModule] Deploying
> CarAccessoryType
> 23:47:47,034 INFO  [EjbModule] Deploying
> Administrator
> 23:47:47,136 INFO  [EjbModule] Deploying
> CarAccessory
> 23:47:47,214 INFO  [EjbModule] Deploying HandoutDoc
> 23:47:47,237 INFO  [EjbModule] Deploying Contract
> 23:47:47,261 INFO  [EjbModule] Deploying CarType
> 23:47:47,285 INFO  [EjbModule] Deploying ReturnDoc
> 23:47:47,309 INFO  [EjbModule] Deploying Customer
> 23:47:47,333 INFO  [EjbModule] Deploying Car
> 23:47:47,379 INFO  [EjbModule] Deploying
> PartnerInAccident
> 23:47:47,415 INFO  [EjbModule] Deploying Driver
> 23:47:47,441 INFO  [EjbModule] Deploying Reservation
> 23:47:47,465 INFO  [EjbModule] Deploying
> InventoryService
> 23:47:47,500 INFO  [EjbModule] Deploying
> CustomerService
> 23:47:47,541 INFO  [EjbModule] Deploying
> AdminService
> 23:47:47,561 INFO  [EjbModule] Deploying
> ContractService
> 23:47:52,198 INFO  [Car] Table 'CAR' already exists
> 23:47:52,524 INFO  [CarAccessoryType] Table
> 'CAR_ACCESSORY_TYPE' already
> exists
> 23:47:52,547 INFO  [PartnerInAccident] Table
> 'PARTNER_IN_ACCIDENT'
> already exists
> 23:47:52,571 INFO  [CarType] Table 'CAR_TYPE'
> already exists
> 23:47:52,605 INFO  [Administrator] Table
> 'ADMINISTRATOR' already exists
> 23:47:52,635 INFO  [Customer] Table 'CUSTOMER'
> already exists
> 23:47:52,666 INFO  [Driver] Table 'DRIVER' already
> exists
> 23:47:52,761 INFO  [CarAccessory] Table
> 'CAR_ACCESSORY' already exists
> 23:47:52,871 INFO  [Reservation] Table 'RESERVATION'
> already exists
> 23:47:52,912 INFO  [AccidentDoc] Table
> 'ACCIDENT_DOC' already exists
> 23:47:52,960 INFO  [HandoutDoc] Table 'HANDOUT_DOC'
> already exists
> 23:47:52,990 INFO  [Contract] Table 'CONTRACT'
> already exists
> 23:47:53,119 INFO  [ReturnDoc] Table 'RETURN_DOC'
> already exists
> 23:47:53,161 ERROR [StatelessSessionContainer]
> Starting failed
> jboss.j2ee:jndiName=ejb/org.andromda.samples.carre
> ntal.inventory.InventoryService/Remote,service=EJB
> java.rmi.ServerException: Could not bind home;
> nested exception is:
>         java.lang.ClassCastException
>         at
>
org.jboss.proxy.ejb.ProxyFactory.bindProxy(ProxyFactory.java:385)
>         at
>
org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:187)
>         at
>
org.jboss.ejb.StatelessSessionContainer.startService(StatelessSessionContainer.java:205)
>         at
>
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
>         at
>
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
>         at
> sun.reflect.GeneratedMethodAccessor79.invoke(Unknown
> Source)
>         at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at
> java.lang.reflect.Method.invoke(Method.java:324)
>         at
>
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
>         at
>
org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
> 
> 
> Any ideas?
> 
> I copied the two ear files to the jboss deploy
> directory.
> 
> Although the hibernate ear deployed, accessing the
> application yields:
> 
> HTTP Status 500 - 
> 
>
________________________________________________________________________
> 
> type Exception report
> 
> message
> 
> description The server encountered an internal error
> () that prevented
> it from fulfilling this request.
> 
> exception
> 
> org.apache.jasper.JasperException: File
> "/struts-bean.tld" not found
> 
>
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
> 
>
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
> 
>
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:118)
> 
>
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:159)
> 
>
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
> 
>
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
> 
>
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
> 
>
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
> 
>
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
> 
>
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
> 
>
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
> 
>
org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
> 
>
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
> 
>
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
> 
>
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
> 
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
> 
>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> 
>
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> 
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> 
> -- 
> Martin West
> Head of Product Design and Development
> http://www.star-map.net
> +44(0)207 318 0308
> +44(0)787 968 0096
> 

> ATTACHMENT part 2 application/pgp-signature
name=signature.asc




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to