You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by ant elder <an...@gmail.com> on 2009/05/19 15:49:01 UTC

Re: tuscany-host-embedded-2.0-M2.jar missing

Version 4.0.2 of jboss is quite old and doesn't support the Servlet
2.5 API so i wonder if thats whats causing the problem. Could you try
adding:

    <context-param>
        <param-name>contextPath</param-name>
        <param-value>/somecontext</param-value>
    </context-param>

to the web.xml? If that doesn't help could you check if there are any
other errors in the jboss log file?

   ...ant

On Tue, May 19, 2009 at 1:11 PM, Chaula Ganatra <ch...@hotmail.com> wrote:
> After creating war of hello webapp example,
>
> I am getting following error when i deploy hello web app example in
> jboss-4.0.2
>
>
> C:\jboss-4.0.2\bin>run.bat
> ===============================================================================
> .
>   JBoss Bootstrap Environment
> .
>   JBOSS_HOME: C:\jboss-4.0.2\bin\\..
> .
>   JAVA: C:\Program Files\Java\jdk1.5.0_07\bin\java
> .
>   JAVA_OPTS:  -Dprogram.name=run.bat -Xms128m -Xmx512m
> .
>   CLASSPATH: C:\Program
> Files\Java\jdk1.5.0_07\lib\tools.jar;C:\jboss-4.0.2\bin\\run.jar
> .
> ===============================================================================
> .
> 17:36:11,323 INFO  [Server] Starting JBoss (MX MicroKernel)...
> 17:36:11,323 INFO  [Server] Release ID: JBoss [Zion] 4.0.2 (build:
> CVSTag=JBoss_4_0_2 date=200505022023)
> 17:36:11,323 INFO  [Server] Home Dir: C:\jboss-4.0.2
> 17:36:11,323 INFO  [Server] Home URL: file:/C:/jboss-4.0.2/
> 17:36:11,323 INFO  [Server] Library URL: file:/C:/jboss-4.0.2/lib/
> 17:36:11,323 INFO  [Server] Patch URL: null
> 17:36:11,323 INFO  [Server] Server Name: default
> 17:36:11,323 INFO  [Server] Server Home Dir: C:\jboss-4.0.2\server\default
> 17:36:11,323 INFO  [Server] Server Home URL:
> file:/C:/jboss-4.0.2/server/default/
> 17:36:11,323 INFO  [Server] Server Data Dir:
> C:\jboss-4.0.2\server\default\data
> 17:36:11,323 INFO  [Server] Server Temp Dir:
> C:\jboss-4.0.2\server\default\tmp
> 17:36:11,339 INFO  [Server] Server Config URL:
> file:/C:/jboss-4.0.2/server/default/conf/
> 17:36:11,339 INFO  [Server] Server Library URL:
> file:/C:/jboss-4.0.2/server/default/lib/
> 17:36:11,339 INFO  [Server] Root Deployment Filename: jboss-service.xml
> 17:36:11,339 INFO  [Server] Starting General Purpose Architecture (GPA)...
> 17:36:11,698 INFO  [ServerInfo] Java version: 1.5.0_07,Sun Microsystems Inc.
> 17:36:11,698 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM
> 1.5.0_07-b03,Sun Microsystems Inc.
> 17:36:11,698 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
> 17:36:12,354 INFO  [Server] Core system initialized
> 17:36:13,964 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL:
> resource:log4j.xml
> 17:36:14,042 INFO  [WebService] Using RMI server codebase:
> http://cganatra:8083/
> 17:36:14,432 INFO  [NamingService] Started jndi bootstrap jnpPort=1099,
> rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Cl
> ient SocketFactory=null, Server
> SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
> 17:36:18,370 INFO  [Embedded] Catalina naming disabled
> 17:36:18,761 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on
> http-0.0.0.0-8080
> 17:36:18,761 INFO  [Catalina] Initialization processed in 344 ms
> 17:36:18,761 INFO  [StandardService] Starting service jboss.web
> 17:36:18,776 INFO  [StandardEngine] Starting Servlet Engine: Apache
> Tomcat/5.5.9
> 17:36:18,948 INFO  [StandardHost] XML validation disabled
> 17:36:18,979 INFO  [Catalina] Server startup in 218 ms
> 17:36:19,089 INFO  [TomcatDeployer] deploy, ctxPath=/invoker,
> warUrl=file:/C:/jboss-4.0.2/server/default/deploy/http-invok
> er.sar/invoker.war/
> 17:36:19,401 INFO  [WebappLoader] Dual registration of jndi stream handler:
> factory already defined
> 17:36:19,886 INFO  [TomcatDeployer] deploy, ctxPath=/ws4ee,
> warUrl=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp11249
> jboss-ws4ee-exp.war/
> 17:36:20,026 INFO  [TomcatDeployer] deploy, ctxPath=/,
> warUrl=file:/C:/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55
> .sar/ROOT.war/
> 17:36:20,245 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil,
> warUrl=file:/C:/jboss-4.0.2/server/default/deploy/jms
> /jbossmq-httpil.sar/jbossmq-httpil.war/
> 17:36:22,026 INFO  [TomcatDeployer] deploy, ctxPath=/web-console,
> warUrl=file:/C:/jboss-4.0.2/server/default/deploy/manage
> ment/console-mgr.sar/web-console.war/
> 17:36:22,667 INFO  [MailService] Mail Service bound to java:/Mail
> 17:36:23,323 INFO  [RARDeployment] Required license terms exist view the
> META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> ult/deploy/jboss-ha-local-jdbc.rar
> 17:36:23,480 INFO  [RARDeployment] Required license terms exist view the
> META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> ult/deploy/jboss-ha-xa-jdbc.rar
> 17:36:23,589 INFO  [RARDeployment] Required license terms exist view the
> META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> ult/deploy/jboss-local-jdbc.rar
> 17:36:23,714 INFO  [RARDeployment] Required license terms exist view the
> META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> ult/deploy/jboss-xa-jdbc.rar
> 17:36:23,839 INFO  [RARDeployment] Required license terms exist view the
> META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> ult/deploy/jms/jms-ra.rar
> 17:36:23,933 INFO  [RARDeployment] Required license terms exist view the
> META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> ult/deploy/mail-ra.rar
> 17:36:24,745 INFO  [WrapperDataSourceService] Bound connection factory for
> resource adapter for ConnectionManager 'jboss.j
> ca:service=DataSourceBinding,name=DefaultDS to JNDI name 'java:DefaultDS'
> 17:36:25,073 INFO  [A] Bound to JNDI name: queue/A
> 17:36:25,089 INFO  [B] Bound to JNDI name: queue/B
> 17:36:25,089 INFO  [C] Bound to JNDI name: queue/C
> 17:36:25,089 INFO  [D] Bound to JNDI name: queue/D
> 17:36:25,089 INFO  [ex] Bound to JNDI name: queue/ex
> 17:36:25,136 INFO  [testTopic] Bound to JNDI name: topic/testTopic
> 17:36:25,151 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
> 17:36:25,151 INFO  [testDurableTopic] Bound to JNDI name:
> topic/testDurableTopic
> 17:36:25,151 INFO  [testQueue] Bound to JNDI name: queue/testQueue
> 17:36:25,198 INFO  [UILServerILService] JBossMQ UIL service available at :
> /0.0.0.0:8093
> 17:36:25,245 INFO  [DLQ] Bound to JNDI name: queue/DLQ
> 17:36:25,448 INFO  [ConnectionFactoryBindingService] Bound connection
> factory for resource adapter for ConnectionManager '
> jboss.jca:service=ConnectionFactoryBinding,name=JmsXA to JNDI name
> 'java:JmsXA'
> 17:36:34,199 INFO  [TomcatDeployer] deploy, ctxPath=/hellotest,
> warUrl=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp1
> 1295hellotest-exp.war/
> 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> 'org.apache.myfaces.PRETTY_HTML' found, using default value t
> rue
> 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default va
> lue true
> 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found,
> using default value true
> 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default
>  value true
> 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default
> value true
> 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using defau
> lt value 2
> 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> 'org.apache.myfaces.VIEWSTATE_JAVASCRIPT' found, using defaul
> t value false
> 17:36:39,558 INFO  [MyfacesConfig] Tomahawk jar not available.
> Autoscrolling, DetectJavascript, AddResourceClass and Check
> ExtensionsFilter are disabled now.
> 17:36:39,558 INFO  [MyfacesConfig] Starting up Tomahawk on the
> MyFaces-JSF-Implementation
> 17:36:39,558 WARN  [AbstractFacesInitializer] No mappings of FacesServlet
> found. Abort initializing MyFaces.
> 17:36:42,418 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on
> http-0.0.0.0-8080
> 17:36:42,543 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
> 17:36:42,558 INFO  [JkMain] Jk running ID=0 time=0/47  config=null
> 17:37:02,778 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> org.apache.jasper.JasperException: Unable to read TLD "META-INF/sca.tld"
> from JAR file "file:/C:/jboss-4.0.2/server/defaul
> t/./tmp/deploy/tmp11295hellotest-exp.war/WEB-INF/lib/tuscany-implementation-web-runtime-2.0-M2.jar":
> org.apache.jasper.Jas
> perException: Failed to load or instantiate TagExtraInfo class:
> org.apache.tuscany.sca.implementation.web.runtime.jsp.Refe
> renceTEI
>         at
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
>         at
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
>         at
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:179)
>         at
> org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:181)
>         at
> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
>         at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
>         at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
>         at
> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
>         at
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
>         at
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
>         at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
>         at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
>         at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at
> org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.doFilter(TuscanyServletFilter.java:80)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         at
> org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
>         at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
>         at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>         at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
>         at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         at
> org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
>         at java.lang.Thread.run(Thread.java:595)
>
>  Please let me know, what i am missing or what i need to do?
>
> Regards,
> Chaula
> ________________________________
> From: chaularg@hotmail.com
> To: user@tuscany.apache.org
> Subject: RE: tuscany-host-embedded-2.0-M2.jar missing
> Date: Tue, 19 May 2009 16:35:29 +0530
>
> Hi
> It worked after adding the -U paramter
>
> I am using maven version 2.0.9
> I will compile and deploy the war in jboss 4.0.2 and let you know the
> result.
>
> Thanks,
> Chaula
>
>
>> Date: Tue, 19 May 2009 11:42:45 +0100
>> Subject: Re: tuscany-host-embedded-2.0-M2.jar missing
>> From: ant.elder@gmail.com
>> To: user@tuscany.apache.org
>> CC: chaularg@hotmail.com
>>
>> I think the catalog parameter changed on older version of the
>> archetype plugin, which version of Maven are you using? Can you try
>> adding the -U paramter to the command? If that doesn't help could you
>> add the -X parameter and send us the console log to help debug it?
>>
>> ...ant
>>
>> On Tue, May 19, 2009 at 11:32 AM, Chaula Ganatra <ch...@hotmail.com>
>> wrote:
>> > Hi
>> > On executing command  mvn archetype:generate
>> > -DarchetypeCatalog=http://tuscany.apache.org, it gives following error
>> >
>> >
>> > C:\tuscany-sca-2.0-M2_mvn>mvn archetype:generate
>> > -DarchetypeCatalog=http://tuscany.apache.org
>> > [INFO] Scanning for projects...
>> > [INFO] Searching repository for plugin with prefix: 'archetype'.
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Building Maven Default Project
>> > [INFO]    task-segment: [archetype:generate] (aggregator-style)
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Preparing archetype:generate
>> > [INFO] No goals needed for project - skipping
>> > [INFO] Setting property: classpath.resource.loader.class =>
>> > 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
>> > '.
>> > [INFO] Setting property: velocimacro.messages.on => 'false'.
>> > [INFO] Setting property: resource.loader => 'classpath'.
>> > [INFO] Setting property: resource.manager.logwhenfound => 'false'.
>> > [INFO] [archetype:generate]
>> > [INFO] Generating project in Interactive mode
>> > [WARNING] Error reading archetype catalog http://tuscany.apache.org
>> > java.lang.IllegalArgumentException: protocol = http host = null
>> >         at
>> > sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:146)
>> >         at
>> >
>> > sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:742)
>> >         at
>> >
>> > sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:672)
>> >         at
>> >
>> > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:916)
>> >         at
>> >
>> > org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
>> >         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>> >         at
>> >
>> > org.apache.maven.archetype.source.RemoteCatalogArchetypeDataSource.getArchetypeCatalog(RemoteCatalogArchetypeDa
>> > taSource.java:89)
>> >         at
>> >
>> > org.apache.maven.archetype.DefaultArchetype.getRemoteCatalog(DefaultArchetype.java:197)
>> >         at
>> >
>> > org.apache.maven.archetype.ui.DefaultArchetypeSelector.getArchetypesByCatalog(DefaultArchetypeSelector.java:283
>> > )
>> >         at
>> >
>> > org.apache.maven.archetype.ui.DefaultArchetypeSelector.selectArchetype(DefaultArchetypeSelector.java:74)
>> >         at
>> >
>> > org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:180
>> > )
>> >         at
>> >
>> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>> >         at
>> >
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>> >         at
>> >
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
>> >         at
>> >
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
>> >         at
>> >
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:
>> > 330)
>> >         at
>> >
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227)
>> >         at
>> >
>> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>> >         at
>> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>> >         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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> >         at
>> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> > [INFO] No archetype defined. Using maven-archetype-quickstart
>> > (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
>> > Choose archetype:
>> > Choose a number: :
>> >
>> > it is continuously asking for number even if i enter 3
>> >
>> > Regards,
>> > Chaula
>> >
>> >> Date: Tue, 19 May 2009 11:08:12 +0100
>> >> Subject: Re: tuscany-host-embedded-2.0-M2.jar missing
>> >> From: antelder@apache.org
>> >> To: user@tuscany.apache.org
>> >> CC: chaularg@hotmail.com
>> >>
>> >> On Tue, May 19, 2009 at 10:59 AM, Chaula Ganatra <ch...@hotmail.com>
>> >> wrote:
>> >> > Yes i wanted to make a webapp sample, so i copied web.composite and
>> >> > calc.jsp
>> >> > from 1.4 version and created war.
>> >> >
>> >> > Can you please let me know, from where i can download webapp sample
>> >> > of
>> >> > 2.x?
>> >> >
>> >> > I am trying with 2.x because there was a bug in 1.4 (can not deploy
>> >> > in
>> >> > jboss
>> >> > 4.0.2), which was resolved some time back, but could not download zip
>> >> > of
>> >> > nightly build. And somewhere i read that, it is advisable to use
>> >> > latest
>> >> > version, so trying with 2.0
>> >> >
>> >> >
>> >> > Regards,
>> >> > Chaula
>> >> >
>> >>
>> >> The webapp samples haven't made it into a 2.0 release yet, but there
>> >> are maven archetypes available so you can create your own - run:
>> >>
>> >> mvn archetype:generate -DarchetypeCatalog=http://tuscany.apache.org
>> >>
>> >> choose option 3 for a simple JSP example. For more info see:
>> >>
>> >>
>> >>
>> >> http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Tuscany+Maven+Archetypes
>> >>
>> >> Let us know how you get on as we're still refining the archetypes so
>> >> would welcome any feedback.
>> >>
>> >> ...ant
>> >
>> > ________________________________
>> > Get easy photo sharing with Windows Live™ Photos. Drag n’ drop
>
> ________________________________
> Get easy photo sharing with Windows Live™ Photos. Drag n’ drop
> ________________________________
> Get easy photo sharing with Windows Live™ Photos. Drag n’ drop

RE: tuscany-host-embedded-2.0-M2.jar missing

Posted by Chaula Ganatra <ch...@hotmail.com>.
Yes I have added contextPath in web.xml.

It worked after i modified the UseJBossWebLoader to true of \jbossweb-tomcat55.sar\META-INF\jboss-service.xml
I am very greatful as you reply queries promptly.


Thanks,
Chaula

 
> Date: Tue, 19 May 2009 14:49:01 +0100
> Subject: Re: tuscany-host-embedded-2.0-M2.jar missing
> From: ant.elder@gmail.com
> To: chaularg@hotmail.com
> CC: dev@tuscany.apache.org
> 
> Version 4.0.2 of jboss is quite old and doesn't support the Servlet
> 2.5 API so i wonder if thats whats causing the problem. Could you try
> adding:
> 
> <context-param>
> <param-name>contextPath</param-name>
> <param-value>/somecontext</param-value>
> </context-param>
> 
> to the web.xml? If that doesn't help could you check if there are any
> other errors in the jboss log file?
> 
> ...ant
> 
> On Tue, May 19, 2009 at 1:11 PM, Chaula Ganatra <ch...@hotmail.com> wrote:
> > After creating war of hello webapp example,
> >
> > I am getting following error when i deploy hello web app example in
> > jboss-4.0.2
> >
> >
> > C:\jboss-4.0.2\bin>run.bat
> > ===============================================================================
> > .
> >   JBoss Bootstrap Environment
> > .
> >   JBOSS_HOME: C:\jboss-4.0.2\bin\\..
> > .
> >   JAVA: C:\Program Files\Java\jdk1.5.0_07\bin\java
> > .
> >   JAVA_OPTS:  -Dprogram.name=run.bat -Xms128m -Xmx512m
> > .
> >   CLASSPATH: C:\Program
> > Files\Java\jdk1.5.0_07\lib\tools.jar;C:\jboss-4.0.2\bin\\run.jar
> > .
> > ===============================================================================
> > .
> > 17:36:11,323 INFO  [Server] Starting JBoss (MX MicroKernel)...
> > 17:36:11,323 INFO  [Server] Release ID: JBoss [Zion] 4.0.2 (build:
> > CVSTag=JBoss_4_0_2 date=200505022023)
> > 17:36:11,323 INFO  [Server] Home Dir: C:\jboss-4.0.2
> > 17:36:11,323 INFO  [Server] Home URL: file:/C:/jboss-4.0.2/
> > 17:36:11,323 INFO  [Server] Library URL: file:/C:/jboss-4.0.2/lib/
> > 17:36:11,323 INFO  [Server] Patch URL: null
> > 17:36:11,323 INFO  [Server] Server Name: default
> > 17:36:11,323 INFO  [Server] Server Home Dir: C:\jboss-4.0.2\server\default
> > 17:36:11,323 INFO  [Server] Server Home URL:
> > file:/C:/jboss-4.0.2/server/default/
> > 17:36:11,323 INFO  [Server] Server Data Dir:
> > C:\jboss-4.0.2\server\default\data
> > 17:36:11,323 INFO  [Server] Server Temp Dir:
> > C:\jboss-4.0.2\server\default\tmp
> > 17:36:11,339 INFO  [Server] Server Config URL:
> > file:/C:/jboss-4.0.2/server/default/conf/
> > 17:36:11,339 INFO  [Server] Server Library URL:
> > file:/C:/jboss-4.0.2/server/default/lib/
> > 17:36:11,339 INFO  [Server] Root Deployment Filename: jboss-service.xml
> > 17:36:11,339 INFO  [Server] Starting General Purpose Architecture (GPA)...
> > 17:36:11,698 INFO  [ServerInfo] Java version: 1.5.0_07,Sun Microsystems Inc.
> > 17:36:11,698 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM
> > 1.5.0_07-b03,Sun Microsystems Inc.
> > 17:36:11,698 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
> > 17:36:12,354 INFO  [Server] Core system initialized
> > 17:36:13,964 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL:
> > resource:log4j.xml
> > 17:36:14,042 INFO  [WebService] Using RMI server codebase:
> > http://cganatra:8083/
> > 17:36:14,432 INFO  [NamingService] Started jndi bootstrap jnpPort=1099,
> > rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Cl
> > ient SocketFactory=null, Server
> > SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
> > 17:36:18,370 INFO  [Embedded] Catalina naming disabled
> > 17:36:18,761 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on
> > http-0.0.0.0-8080
> > 17:36:18,761 INFO  [Catalina] Initialization processed in 344 ms
> > 17:36:18,761 INFO  [StandardService] Starting service jboss.web
> > 17:36:18,776 INFO  [StandardEngine] Starting Servlet Engine: Apache
> > Tomcat/5.5.9
> > 17:36:18,948 INFO  [StandardHost] XML validation disabled
> > 17:36:18,979 INFO  [Catalina] Server startup in 218 ms
> > 17:36:19,089 INFO  [TomcatDeployer] deploy, ctxPath=/invoker,
> > warUrl=file:/C:/jboss-4.0.2/server/default/deploy/http-invok
> > er.sar/invoker.war/
> > 17:36:19,401 INFO  [WebappLoader] Dual registration of jndi stream handler:
> > factory already defined
> > 17:36:19,886 INFO  [TomcatDeployer] deploy, ctxPath=/ws4ee,
> > warUrl=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp11249
> > jboss-ws4ee-exp.war/
> > 17:36:20,026 INFO  [TomcatDeployer] deploy, ctxPath=/,
> > warUrl=file:/C:/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55
> > .sar/ROOT.war/
> > 17:36:20,245 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil,
> > warUrl=file:/C:/jboss-4.0.2/server/default/deploy/jms
> > /jbossmq-httpil.sar/jbossmq-httpil.war/
> > 17:36:22,026 INFO  [TomcatDeployer] deploy, ctxPath=/web-console,
> > warUrl=file:/C:/jboss-4.0.2/server/default/deploy/manage
> > ment/console-mgr.sar/web-console.war/
> > 17:36:22,667 INFO  [MailService] Mail Service bound to java:/Mail
> > 17:36:23,323 INFO  [RARDeployment] Required license terms exist view the
> > META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> > ult/deploy/jboss-ha-local-jdbc.rar
> > 17:36:23,480 INFO  [RARDeployment] Required license terms exist view the
> > META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> > ult/deploy/jboss-ha-xa-jdbc.rar
> > 17:36:23,589 INFO  [RARDeployment] Required license terms exist view the
> > META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> > ult/deploy/jboss-local-jdbc.rar
> > 17:36:23,714 INFO  [RARDeployment] Required license terms exist view the
> > META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> > ult/deploy/jboss-xa-jdbc.rar
> > 17:36:23,839 INFO  [RARDeployment] Required license terms exist view the
> > META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> > ult/deploy/jms/jms-ra.rar
> > 17:36:23,933 INFO  [RARDeployment] Required license terms exist view the
> > META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> > ult/deploy/mail-ra.rar
> > 17:36:24,745 INFO  [WrapperDataSourceService] Bound connection factory for
> > resource adapter for ConnectionManager 'jboss.j
> > ca:service=DataSourceBinding,name=DefaultDS to JNDI name 'java:DefaultDS'
> > 17:36:25,073 INFO  [A] Bound to JNDI name: queue/A
> > 17:36:25,089 INFO  [B] Bound to JNDI name: queue/B
> > 17:36:25,089 INFO  [C] Bound to JNDI name: queue/C
> > 17:36:25,089 INFO  [D] Bound to JNDI name: queue/D
> > 17:36:25,089 INFO  [ex] Bound to JNDI name: queue/ex
> > 17:36:25,136 INFO  [testTopic] Bound to JNDI name: topic/testTopic
> > 17:36:25,151 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
> > 17:36:25,151 INFO  [testDurableTopic] Bound to JNDI name:
> > topic/testDurableTopic
> > 17:36:25,151 INFO  [testQueue] Bound to JNDI name: queue/testQueue
> > 17:36:25,198 INFO  [UILServerILService] JBossMQ UIL service available at :
> > /0.0.0.0:8093
> > 17:36:25,245 INFO  [DLQ] Bound to JNDI name: queue/DLQ
> > 17:36:25,448 INFO  [ConnectionFactoryBindingService] Bound connection
> > factory for resource adapter for ConnectionManager '
> > jboss.jca:service=ConnectionFactoryBinding,name=JmsXA to JNDI name
> > 'java:JmsXA'
> > 17:36:34,199 INFO  [TomcatDeployer] deploy, ctxPath=/hellotest,
> > warUrl=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp1
> > 1295hellotest-exp.war/
> > 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> > 'org.apache.myfaces.PRETTY_HTML' found, using default value t
> > rue
> > 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> > 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default va
> > lue true
> > 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> > 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found,
> > using default value true
> > 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> > 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default
> >  value true
> > 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> > 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default
> > value true
> > 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> > 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using defau
> > lt value 2
> > 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> > 'org.apache.myfaces.VIEWSTATE_JAVASCRIPT' found, using defaul
> > t value false
> > 17:36:39,558 INFO  [MyfacesConfig] Tomahawk jar not available.
> > Autoscrolling, DetectJavascript, AddResourceClass and Check
> > ExtensionsFilter are disabled now.
> > 17:36:39,558 INFO  [MyfacesConfig] Starting up Tomahawk on the
> > MyFaces-JSF-Implementation
> > 17:36:39,558 WARN  [AbstractFacesInitializer] No mappings of FacesServlet
> > found. Abort initializing MyFaces.
> > 17:36:42,418 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on
> > http-0.0.0.0-8080
> > 17:36:42,543 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
> > 17:36:42,558 INFO  [JkMain] Jk running ID=0 time=0/47  config=null
> > 17:37:02,778 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> > org.apache.jasper.JasperException: Unable to read TLD "META-INF/sca.tld"
> > from JAR file "file:/C:/jboss-4.0.2/server/defaul
> > t/./tmp/deploy/tmp11295hellotest-exp.war/WEB-INF/lib/tuscany-implementation-web-runtime-2.0-M2.jar":
> > org.apache.jasper.Jas
> > perException: Failed to load or instantiate TagExtraInfo class:
> > org.apache.tuscany.sca.implementation.web.runtime.jsp.Refe
> > renceTEI
> >         at
> > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
> >         at
> > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
> >         at
> > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:179)
> >         at
> > org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:181)
> >         at
> > org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
> >         at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
> >         at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
> >         at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
> >         at
> > org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
> >         at
> > org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
> >         at
> > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
> >         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
> >         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
> >         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
> >         at
> > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
> >         at
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
> >         at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> >         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> >         at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >         at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >         at
> > org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.doFilter(TuscanyServletFilter.java:80)
> >         at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >         at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >         at
> > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
> >         at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >         at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >         at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >         at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >         at
> > org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
> >         at
> > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
> >         at
> > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
> >         at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >         at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >         at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >         at
> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >         at
> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> >         at
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> >         at
> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >         at
> > org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
> >         at java.lang.Thread.run(Thread.java:595)
> >
> >  Please let me know, what i am missing or what i need to do?
> >
> > Regards,
> > Chaula
> > ________________________________
> > From: chaularg@hotmail.com
> > To: user@tuscany.apache.org
> > Subject: RE: tuscany-host-embedded-2.0-M2.jar missing
> > Date: Tue, 19 May 2009 16:35:29 +0530
> >
> > Hi
> > It worked after adding the -U paramter
> >
> > I am using maven version 2.0.9
> > I will compile and deploy the war in jboss 4.0.2 and let you know the
> > result.
> >
> > Thanks,
> > Chaula
> >
> >
> >> Date: Tue, 19 May 2009 11:42:45 +0100
> >> Subject: Re: tuscany-host-embedded-2.0-M2.jar missing
> >> From: ant.elder@gmail.com
> >> To: user@tuscany.apache.org
> >> CC: chaularg@hotmail.com
> >>
> >> I think the catalog parameter changed on older version of the
> >> archetype plugin, which version of Maven are you using? Can you try
> >> adding the -U paramter to the command? If that doesn't help could you
> >> add the -X parameter and send us the console log to help debug it?
> >>
> >> ...ant
> >>
> >> On Tue, May 19, 2009 at 11:32 AM, Chaula Ganatra <ch...@hotmail.com>
> >> wrote:
> >> > Hi
> >> > On executing command  mvn archetype:generate
> >> > -DarchetypeCatalog=http://tuscany.apache.org, it gives following error
> >> >
> >> >
> >> > C:\tuscany-sca-2.0-M2_mvn>mvn archetype:generate
> >> > -DarchetypeCatalog=http://tuscany.apache.org
> >> > [INFO] Scanning for projects...
> >> > [INFO] Searching repository for plugin with prefix: 'archetype'.
> >> > [INFO]
> >> > ------------------------------------------------------------------------
> >> > [INFO] Building Maven Default Project
> >> > [INFO]    task-segment: [archetype:generate] (aggregator-style)
> >> > [INFO]
> >> > ------------------------------------------------------------------------
> >> > [INFO] Preparing archetype:generate
> >> > [INFO] No goals needed for project - skipping
> >> > [INFO] Setting property: classpath.resource.loader.class =>
> >> > 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> >> > '.
> >> > [INFO] Setting property: velocimacro.messages.on => 'false'.
> >> > [INFO] Setting property: resource.loader => 'classpath'.
> >> > [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> >> > [INFO] [archetype:generate]
> >> > [INFO] Generating project in Interactive mode
> >> > [WARNING] Error reading archetype catalog http://tuscany.apache.org
> >> > java.lang.IllegalArgumentException: protocol = http host = null
> >> >         at
> >> > sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:146)
> >> >         at
> >> >
> >> > sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:742)
> >> >         at
> >> >
> >> > sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:672)
> >> >         at
> >> >
> >> > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:916)
> >> >         at
> >> >
> >> > org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
> >> >         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
> >> >         at
> >> >
> >> > org.apache.maven.archetype.source.RemoteCatalogArchetypeDataSource.getArchetypeCatalog(RemoteCatalogArchetypeDa
> >> > taSource.java:89)
> >> >         at
> >> >
> >> > org.apache.maven.archetype.DefaultArchetype.getRemoteCatalog(DefaultArchetype.java:197)
> >> >         at
> >> >
> >> > org.apache.maven.archetype.ui.DefaultArchetypeSelector.getArchetypesByCatalog(DefaultArchetypeSelector.java:283
> >> > )
> >> >         at
> >> >
> >> > org.apache.maven.archetype.ui.DefaultArchetypeSelector.selectArchetype(DefaultArchetypeSelector.java:74)
> >> >         at
> >> >
> >> > org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:180
> >> > )
> >> >         at
> >> >
> >> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
> >> >         at
> >> >
> >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
> >> >         at
> >> >
> >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
> >> >         at
> >> >
> >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
> >> >         at
> >> >
> >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:
> >> > 330)
> >> >         at
> >> >
> >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227)
> >> >         at
> >> >
> >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> >> >         at
> >> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> >> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> >> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> >> >         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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >> >         at
> >> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> >> > [INFO] No archetype defined. Using maven-archetype-quickstart
> >> > (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
> >> > Choose archetype:
> >> > Choose a number: :
> >> >
> >> > it is continuously asking for number even if i enter 3
> >> >
> >> > Regards,
> >> > Chaula
> >> >
> >> >> Date: Tue, 19 May 2009 11:08:12 +0100
> >> >> Subject: Re: tuscany-host-embedded-2.0-M2.jar missing
> >> >> From: antelder@apache.org
> >> >> To: user@tuscany.apache.org
> >> >> CC: chaularg@hotmail.com
> >> >>
> >> >> On Tue, May 19, 2009 at 10:59 AM, Chaula Ganatra <ch...@hotmail.com>
> >> >> wrote:
> >> >> > Yes i wanted to make a webapp sample, so i copied web.composite and
> >> >> > calc.jsp
> >> >> > from 1.4 version and created war.
> >> >> >
> >> >> > Can you please let me know, from where i can download webapp sample
> >> >> > of
> >> >> > 2.x?
> >> >> >
> >> >> > I am trying with 2.x because there was a bug in 1.4 (can not deploy
> >> >> > in
> >> >> > jboss
> >> >> > 4.0.2), which was resolved some time back, but could not download zip
> >> >> > of
> >> >> > nightly build. And somewhere i read that, it is advisable to use
> >> >> > latest
> >> >> > version, so trying with 2.0
> >> >> >
> >> >> >
> >> >> > Regards,
> >> >> > Chaula
> >> >> >
> >> >>
> >> >> The webapp samples haven't made it into a 2.0 release yet, but there
> >> >> are maven archetypes available so you can create your own - run:
> >> >>
> >> >> mvn archetype:generate -DarchetypeCatalog=http://tuscany.apache.org
> >> >>
> >> >> choose option 3 for a simple JSP example. For more info see:
> >> >>
> >> >>
> >> >>
> >> >> http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Tuscany+Maven+Archetypes
> >> >>
> >> >> Let us know how you get on as we're still refining the archetypes so
> >> >> would welcome any feedback.
> >> >>
> >> >> ...ant
> >> >
> >> > ________________________________
> >> > Get easy photo sharing with Windows Live™ Photos. Drag n’ drop
> >
> > ________________________________
> > Get easy photo sharing with Windows Live™ Photos. Drag n’ drop
> > ________________________________
> > Get easy photo sharing with Windows Live™ Photos. Drag n’ drop

_________________________________________________________________
Planning the weekend ? Here’s what is happening in your town.
http://msn.asklaila.com/events/

RE: tuscany-host-embedded-2.0-M2.jar missing

Posted by Chaula Ganatra <ch...@hotmail.com>.
Yes i added below parameter in web.xml

<context-param>
<param-name>contextPath</param-name>
<param-value>/somecontext</param-value>
</context-param>

 

And also modified UseJBossWebLoader to true of C:\jboss-4.0.2\server\default\deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml, and it worked.

 

Thanks for your prompt reply. Can we use tuscany-sca-2.0-M2 in our production environment? Please suggest.

 

Thanks,

Chaula
 
> Date: Tue, 19 May 2009 14:49:01 +0100
> Subject: Re: tuscany-host-embedded-2.0-M2.jar missing
> From: ant.elder@gmail.com
> To: chaularg@hotmail.com
> CC: dev@tuscany.apache.org
> 
> Version 4.0.2 of jboss is quite old and doesn't support the Servlet
> 2.5 API so i wonder if thats whats causing the problem. Could you try
> adding:
> 
> <context-param>
> <param-name>contextPath</param-name>
> <param-value>/somecontext</param-value>
> </context-param>
> 
> to the web.xml? If that doesn't help could you check if there are any
> other errors in the jboss log file?
> 
> ...ant
> 
> On Tue, May 19, 2009 at 1:11 PM, Chaula Ganatra <ch...@hotmail.com> wrote:
> > After creating war of hello webapp example,
> >
> > I am getting following error when i deploy hello web app example in
> > jboss-4.0.2
> >
> >
> > C:\jboss-4.0.2\bin>run.bat
> > ===============================================================================
> > .
> >   JBoss Bootstrap Environment
> > .
> >   JBOSS_HOME: C:\jboss-4.0.2\bin\\..
> > .
> >   JAVA: C:\Program Files\Java\jdk1.5.0_07\bin\java
> > .
> >   JAVA_OPTS:  -Dprogram.name=run.bat -Xms128m -Xmx512m
> > .
> >   CLASSPATH: C:\Program
> > Files\Java\jdk1.5.0_07\lib\tools.jar;C:\jboss-4.0.2\bin\\run.jar
> > .
> > ===============================================================================
> > .
> > 17:36:11,323 INFO  [Server] Starting JBoss (MX MicroKernel)...
> > 17:36:11,323 INFO  [Server] Release ID: JBoss [Zion] 4.0.2 (build:
> > CVSTag=JBoss_4_0_2 date=200505022023)
> > 17:36:11,323 INFO  [Server] Home Dir: C:\jboss-4.0.2
> > 17:36:11,323 INFO  [Server] Home URL: file:/C:/jboss-4.0.2/
> > 17:36:11,323 INFO  [Server] Library URL: file:/C:/jboss-4.0.2/lib/
> > 17:36:11,323 INFO  [Server] Patch URL: null
> > 17:36:11,323 INFO  [Server] Server Name: default
> > 17:36:11,323 INFO  [Server] Server Home Dir: C:\jboss-4.0.2\server\default
> > 17:36:11,323 INFO  [Server] Server Home URL:
> > file:/C:/jboss-4.0.2/server/default/
> > 17:36:11,323 INFO  [Server] Server Data Dir:
> > C:\jboss-4.0.2\server\default\data
> > 17:36:11,323 INFO  [Server] Server Temp Dir:
> > C:\jboss-4.0.2\server\default\tmp
> > 17:36:11,339 INFO  [Server] Server Config URL:
> > file:/C:/jboss-4.0.2/server/default/conf/
> > 17:36:11,339 INFO  [Server] Server Library URL:
> > file:/C:/jboss-4.0.2/server/default/lib/
> > 17:36:11,339 INFO  [Server] Root Deployment Filename: jboss-service.xml
> > 17:36:11,339 INFO  [Server] Starting General Purpose Architecture (GPA)...
> > 17:36:11,698 INFO  [ServerInfo] Java version: 1.5.0_07,Sun Microsystems Inc.
> > 17:36:11,698 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM
> > 1.5.0_07-b03,Sun Microsystems Inc.
> > 17:36:11,698 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
> > 17:36:12,354 INFO  [Server] Core system initialized
> > 17:36:13,964 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL:
> > resource:log4j.xml
> > 17:36:14,042 INFO  [WebService] Using RMI server codebase:
> > http://cganatra:8083/
> > 17:36:14,432 INFO  [NamingService] Started jndi bootstrap jnpPort=1099,
> > rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Cl
> > ient SocketFactory=null, Server
> > SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
> > 17:36:18,370 INFO  [Embedded] Catalina naming disabled
> > 17:36:18,761 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on
> > http-0.0.0.0-8080
> > 17:36:18,761 INFO  [Catalina] Initialization processed in 344 ms
> > 17:36:18,761 INFO  [StandardService] Starting service jboss.web
> > 17:36:18,776 INFO  [StandardEngine] Starting Servlet Engine: Apache
> > Tomcat/5.5.9
> > 17:36:18,948 INFO  [StandardHost] XML validation disabled
> > 17:36:18,979 INFO  [Catalina] Server startup in 218 ms
> > 17:36:19,089 INFO  [TomcatDeployer] deploy, ctxPath=/invoker,
> > warUrl=file:/C:/jboss-4.0.2/server/default/deploy/http-invok
> > er.sar/invoker.war/
> > 17:36:19,401 INFO  [WebappLoader] Dual registration of jndi stream handler:
> > factory already defined
> > 17:36:19,886 INFO  [TomcatDeployer] deploy, ctxPath=/ws4ee,
> > warUrl=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp11249
> > jboss-ws4ee-exp.war/
> > 17:36:20,026 INFO  [TomcatDeployer] deploy, ctxPath=/,
> > warUrl=file:/C:/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55
> > .sar/ROOT.war/
> > 17:36:20,245 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil,
> > warUrl=file:/C:/jboss-4.0.2/server/default/deploy/jms
> > /jbossmq-httpil.sar/jbossmq-httpil.war/
> > 17:36:22,026 INFO  [TomcatDeployer] deploy, ctxPath=/web-console,
> > warUrl=file:/C:/jboss-4.0.2/server/default/deploy/manage
> > ment/console-mgr.sar/web-console.war/
> > 17:36:22,667 INFO  [MailService] Mail Service bound to java:/Mail
> > 17:36:23,323 INFO  [RARDeployment] Required license terms exist view the
> > META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> > ult/deploy/jboss-ha-local-jdbc.rar
> > 17:36:23,480 INFO  [RARDeployment] Required license terms exist view the
> > META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> > ult/deploy/jboss-ha-xa-jdbc.rar
> > 17:36:23,589 INFO  [RARDeployment] Required license terms exist view the
> > META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> > ult/deploy/jboss-local-jdbc.rar
> > 17:36:23,714 INFO  [RARDeployment] Required license terms exist view the
> > META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> > ult/deploy/jboss-xa-jdbc.rar
> > 17:36:23,839 INFO  [RARDeployment] Required license terms exist view the
> > META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> > ult/deploy/jms/jms-ra.rar
> > 17:36:23,933 INFO  [RARDeployment] Required license terms exist view the
> > META-INF/ra.xml: file:/C:/jboss-4.0.2/server/defa
> > ult/deploy/mail-ra.rar
> > 17:36:24,745 INFO  [WrapperDataSourceService] Bound connection factory for
> > resource adapter for ConnectionManager 'jboss.j
> > ca:service=DataSourceBinding,name=DefaultDS to JNDI name 'java:DefaultDS'
> > 17:36:25,073 INFO  [A] Bound to JNDI name: queue/A
> > 17:36:25,089 INFO  [B] Bound to JNDI name: queue/B
> > 17:36:25,089 INFO  [C] Bound to JNDI name: queue/C
> > 17:36:25,089 INFO  [D] Bound to JNDI name: queue/D
> > 17:36:25,089 INFO  [ex] Bound to JNDI name: queue/ex
> > 17:36:25,136 INFO  [testTopic] Bound to JNDI name: topic/testTopic
> > 17:36:25,151 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
> > 17:36:25,151 INFO  [testDurableTopic] Bound to JNDI name:
> > topic/testDurableTopic
> > 17:36:25,151 INFO  [testQueue] Bound to JNDI name: queue/testQueue
> > 17:36:25,198 INFO  [UILServerILService] JBossMQ UIL service available at :
> > /0.0.0.0:8093
> > 17:36:25,245 INFO  [DLQ] Bound to JNDI name: queue/DLQ
> > 17:36:25,448 INFO  [ConnectionFactoryBindingService] Bound connection
> > factory for resource adapter for ConnectionManager '
> > jboss.jca:service=ConnectionFactoryBinding,name=JmsXA to JNDI name
> > 'java:JmsXA'
> > 17:36:34,199 INFO  [TomcatDeployer] deploy, ctxPath=/hellotest,
> > warUrl=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp1
> > 1295hellotest-exp.war/
> > 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> > 'org.apache.myfaces.PRETTY_HTML' found, using default value t
> > rue
> > 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> > 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default va
> > lue true
> > 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> > 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found,
> > using default value true
> > 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> > 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default
> >  value true
> > 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> > 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default
> > value true
> > 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> > 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using defau
> > lt value 2
> > 17:36:39,558 INFO  [MyfacesConfig] No context init parameter
> > 'org.apache.myfaces.VIEWSTATE_JAVASCRIPT' found, using defaul
> > t value false
> > 17:36:39,558 INFO  [MyfacesConfig] Tomahawk jar not available.
> > Autoscrolling, DetectJavascript, AddResourceClass and Check
> > ExtensionsFilter are disabled now.
> > 17:36:39,558 INFO  [MyfacesConfig] Starting up Tomahawk on the
> > MyFaces-JSF-Implementation
> > 17:36:39,558 WARN  [AbstractFacesInitializer] No mappings of FacesServlet
> > found. Abort initializing MyFaces.
> > 17:36:42,418 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on
> > http-0.0.0.0-8080
> > 17:36:42,543 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
> > 17:36:42,558 INFO  [JkMain] Jk running ID=0 time=0/47  config=null
> > 17:37:02,778 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> > org.apache.jasper.JasperException: Unable to read TLD "META-INF/sca.tld"
> > from JAR file "file:/C:/jboss-4.0.2/server/defaul
> > t/./tmp/deploy/tmp11295hellotest-exp.war/WEB-INF/lib/tuscany-implementation-web-runtime-2.0-M2.jar":
> > org.apache.jasper.Jas
> > perException: Failed to load or instantiate TagExtraInfo class:
> > org.apache.tuscany.sca.implementation.web.runtime.jsp.Refe
> > renceTEI
> >         at
> > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
> >         at
> > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
> >         at
> > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:179)
> >         at
> > org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:181)
> >         at
> > org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
> >         at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
> >         at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
> >         at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
> >         at
> > org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
> >         at
> > org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
> >         at
> > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
> >         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
> >         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
> >         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
> >         at
> > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
> >         at
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
> >         at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> >         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> >         at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >         at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >         at
> > org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.doFilter(TuscanyServletFilter.java:80)
> >         at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >         at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >         at
> > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
> >         at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >         at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >         at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >         at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >         at
> > org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
> >         at
> > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
> >         at
> > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
> >         at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >         at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >         at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >         at
> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >         at
> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> >         at
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> >         at
> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >         at
> > org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
> >         at java.lang.Thread.run(Thread.java:595)
> >
> >  Please let me know, what i am missing or what i need to do?
> >
> > Regards,
> > Chaula
> > ________________________________
> > From: chaularg@hotmail.com
> > To: user@tuscany.apache.org
> > Subject: RE: tuscany-host-embedded-2.0-M2.jar missing
> > Date: Tue, 19 May 2009 16:35:29 +0530
> >
> > Hi
> > It worked after adding the -U paramter
> >
> > I am using maven version 2.0.9
> > I will compile and deploy the war in jboss 4.0.2 and let you know the
> > result.
> >
> > Thanks,
> > Chaula
> >
> >
> >> Date: Tue, 19 May 2009 11:42:45 +0100
> >> Subject: Re: tuscany-host-embedded-2.0-M2.jar missing
> >> From: ant.elder@gmail.com
> >> To: user@tuscany.apache.org
> >> CC: chaularg@hotmail.com
> >>
> >> I think the catalog parameter changed on older version of the
> >> archetype plugin, which version of Maven are you using? Can you try
> >> adding the -U paramter to the command? If that doesn't help could you
> >> add the -X parameter and send us the console log to help debug it?
> >>
> >> ...ant
> >>
> >> On Tue, May 19, 2009 at 11:32 AM, Chaula Ganatra <ch...@hotmail.com>
> >> wrote:
> >> > Hi
> >> > On executing command  mvn archetype:generate
> >> > -DarchetypeCatalog=http://tuscany.apache.org, it gives following error
> >> >
> >> >
> >> > C:\tuscany-sca-2.0-M2_mvn>mvn archetype:generate
> >> > -DarchetypeCatalog=http://tuscany.apache.org
> >> > [INFO] Scanning for projects...
> >> > [INFO] Searching repository for plugin with prefix: 'archetype'.
> >> > [INFO]
> >> > ------------------------------------------------------------------------
> >> > [INFO] Building Maven Default Project
> >> > [INFO]    task-segment: [archetype:generate] (aggregator-style)
> >> > [INFO]
> >> > ------------------------------------------------------------------------
> >> > [INFO] Preparing archetype:generate
> >> > [INFO] No goals needed for project - skipping
> >> > [INFO] Setting property: classpath.resource.loader.class =>
> >> > 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> >> > '.
> >> > [INFO] Setting property: velocimacro.messages.on => 'false'.
> >> > [INFO] Setting property: resource.loader => 'classpath'.
> >> > [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> >> > [INFO] [archetype:generate]
> >> > [INFO] Generating project in Interactive mode
> >> > [WARNING] Error reading archetype catalog http://tuscany.apache.org
> >> > java.lang.IllegalArgumentException: protocol = http host = null
> >> >         at
> >> > sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:146)
> >> >         at
> >> >
> >> > sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:742)
> >> >         at
> >> >
> >> > sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:672)
> >> >         at
> >> >
> >> > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:916)
> >> >         at
> >> >
> >> > org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
> >> >         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
> >> >         at
> >> >
> >> > org.apache.maven.archetype.source.RemoteCatalogArchetypeDataSource.getArchetypeCatalog(RemoteCatalogArchetypeDa
> >> > taSource.java:89)
> >> >         at
> >> >
> >> > org.apache.maven.archetype.DefaultArchetype.getRemoteCatalog(DefaultArchetype.java:197)
> >> >         at
> >> >
> >> > org.apache.maven.archetype.ui.DefaultArchetypeSelector.getArchetypesByCatalog(DefaultArchetypeSelector.java:283
> >> > )
> >> >         at
> >> >
> >> > org.apache.maven.archetype.ui.DefaultArchetypeSelector.selectArchetype(DefaultArchetypeSelector.java:74)
> >> >         at
> >> >
> >> > org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:180
> >> > )
> >> >         at
> >> >
> >> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
> >> >         at
> >> >
> >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
> >> >         at
> >> >
> >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
> >> >         at
> >> >
> >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
> >> >         at
> >> >
> >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:
> >> > 330)
> >> >         at
> >> >
> >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227)
> >> >         at
> >> >
> >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> >> >         at
> >> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> >> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> >> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> >> >         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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >> >         at
> >> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> >> > [INFO] No archetype defined. Using maven-archetype-quickstart
> >> > (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
> >> > Choose archetype:
> >> > Choose a number: :
> >> >
> >> > it is continuously asking for number even if i enter 3
> >> >
> >> > Regards,
> >> > Chaula
> >> >
> >> >> Date: Tue, 19 May 2009 11:08:12 +0100
> >> >> Subject: Re: tuscany-host-embedded-2.0-M2.jar missing
> >> >> From: antelder@apache.org
> >> >> To: user@tuscany.apache.org
> >> >> CC: chaularg@hotmail.com
> >> >>
> >> >> On Tue, May 19, 2009 at 10:59 AM, Chaula Ganatra <ch...@hotmail.com>
> >> >> wrote:
> >> >> > Yes i wanted to make a webapp sample, so i copied web.composite and
> >> >> > calc.jsp
> >> >> > from 1.4 version and created war.
> >> >> >
> >> >> > Can you please let me know, from where i can download webapp sample
> >> >> > of
> >> >> > 2.x?
> >> >> >
> >> >> > I am trying with 2.x because there was a bug in 1.4 (can not deploy
> >> >> > in
> >> >> > jboss
> >> >> > 4.0.2), which was resolved some time back, but could not download zip
> >> >> > of
> >> >> > nightly build. And somewhere i read that, it is advisable to use
> >> >> > latest
> >> >> > version, so trying with 2.0
> >> >> >
> >> >> >
> >> >> > Regards,
> >> >> > Chaula
> >> >> >
> >> >>
> >> >> The webapp samples haven't made it into a 2.0 release yet, but there
> >> >> are maven archetypes available so you can create your own - run:
> >> >>
> >> >> mvn archetype:generate -DarchetypeCatalog=http://tuscany.apache.org
> >> >>
> >> >> choose option 3 for a simple JSP example. For more info see:
> >> >>
> >> >>
> >> >>
> >> >> http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Tuscany+Maven+Archetypes
> >> >>
> >> >> Let us know how you get on as we're still refining the archetypes so
> >> >> would welcome any feedback.
> >> >>
> >> >> ...ant
> >> >
> >> > ________________________________
> >> > Get easy photo sharing with Windows Live™ Photos. Drag n’ drop
> >
> > ________________________________
> > Get easy photo sharing with Windows Live™ Photos. Drag n’ drop
> > ________________________________
> > Get easy photo sharing with Windows Live™ Photos. Drag n’ drop

_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/india/windows/windowslive/