Re: GWT-Project with JBoss 5.1

2011-09-28 Thread lakumc
Hi Sascha,
i think there is no problem to deploy on JBoss 5.1.
I use weblogic 11g and the only thing i had to do was compile with one
click on 'GWT Compile Project' icon in Eclipse
and copy the war directory in autodeploy dir. I think it's similar on
JBoss 5.1.

On 27 Set, 14:48, Sascha Hoffmann 
wrote:
> Hallo
>
> I have a gwt project and would like to deploy it in the JBoss 5.1-
> Server. Can somebody give me a hint where or how I can do this?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT-Project with JBoss 5.1

2011-09-28 Thread Sascha Hoffmann
Hi

Thanks a lot. I fixed the problem. The "servlet" and "servlet-mapping" tags
were disorderd.
Again thank you.

Sascha

2011/9/27 Mauro 

> Hi Sascha Hoffmann
>
> Take a look at:
> http://stackoverflow.com/questions/5712906/getting-error-the-content-of-element-type-web-app-must-match
>
> I hope this helps
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/Qw-qgALrAgMJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT-Project with JBoss 5.1

2011-09-27 Thread Sascha Hoffmann
Hi Mariano

I've done this and it works in the JBoss 4.2.3 but not in the JBoss 5.1 or
higher.

**

*Caused by: **org.jboss.xb.binding.JBossXBException**: Failed to parse
source: The content of element type "web-app" must match
"(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
@ vfsfile:/D:/
jboss-5.1.0.GA/server/default/deploy/XQuality.war/WEB-INF/web.xml[88,11]atorg.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(
SaxJBossXBParser.java:203**)*

*at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(**
UnmarshallerImpl.java:168**)*

*at org.jboss.xb.util.JBossXBHelper.parse(**JBossXBHelper.java:189**)*

*at org.jboss.xb.util.JBossXBHelper.parse(**JBossXBHelper.java:166**)*

*at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(**
SchemaResolverDeployer.java:137**)*

*at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(**
SchemaResolverDeployer.java:121**)*

*at
org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(
**AbstractVFSParsingDeployer.java:256**)*

*at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(**
AbstractVFSParsingDeployer.java:188**)*

*at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(
**AbstractParsingDeployerWithOutput.java:348**)*

My web.xml looks like this:



http://java.sun.com/dtd/web-app_2_3.dtd";>

<*web-app*>





loginServlet

xquality.server.LoginServiceImpl





loginServlet

/*xquality*/login





TargetAttributKategorieServlet

xquality.server.TargetAttributeKategorieServiceImpl





TargetAttributKategorieServlet

/*xquality*/targetAttributKate





TargetAttributServlet

xquality.server.TargetAttributServiceImpl





TargetAttributServlet

/*xquality*/targetAttribut





SperrkennzeichenServlet

xquality.server.SperrkennzeichenServiceImpl





SperrkennzeichenServlet

/*xquality*/sperrKennzeichen





MasterMandantServlet

xquality.server.MasterMandantServiceImpl





MasterMandantServlet

/*xquality*/masterMandant





SubMandantServlet

xquality.server.SubMandantServiceImpl





SubMandantServlet

/*xquality*/subMandant





SubMandantCountryServlet

xquality.server.SubMandantCountryServiceImpl





SubMandantCountryServlet

/*xquality*/subMandantCountry





SourceTypeNameServlet

xquality.server.SourceTypeNameServiceImpl





SourceTypeNameServlet

/*xquality*/sourceTypeName



 



XQuality.html





What I have to do to corect the web.xml?

Sascha


2011/9/27 Mariano Ortega 

> Hi Sascha,
>
> There is not much to say here, you have to deploy your GWT app like a
> normal WAR or EAR application (depending on your needs).
>
> If you just want to do a quick try, do a GWT compile and create a WAR file
> (with the contents of your war directory) and put it into one of your JBOSS
> servers 'deploy' directory (pick the right one depending on your needs, but
> typically for a quick test you can use the one named 'default').
>
> This deployment process is not related with GWT at all, after GWT
> compilation is done you just end up with static stuff (html, js, css,
> etc...) and class files for your server side (ie: servlets); If you are not
> familiar with it, I'd recommend you to search on google for "war deployment"
> or something the like.
>
> Hope it helps,
> Mariano
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/Q7PeKHgRGkkJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT-Project with JBoss 5.1

2011-09-27 Thread Mauro
Hi Sascha Hoffmann

Take a look at: 
http://stackoverflow.com/questions/5712906/getting-error-the-content-of-element-type-web-app-must-match

I hope this helps

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Qw-qgALrAgMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT-Project with JBoss 5.1

2011-09-27 Thread Mariano Ortega
Hi Sascha,

There is not much to say here, you have to deploy your GWT app like a normal 
WAR or EAR application (depending on your needs).

If you just want to do a quick try, do a GWT compile and create a WAR file 
(with the contents of your war directory) and put it into one of your JBOSS 
servers 'deploy' directory (pick the right one depending on your needs, but 
typically for a quick test you can use the one named 'default'). 

This deployment process is not related with GWT at all, after GWT 
compilation is done you just end up with static stuff (html, js, css, 
etc...) and class files for your server side (ie: servlets); If you are not 
familiar with it, I'd recommend you to search on google for "war deployment" 
or something the like.

Hope it helps,
Mariano

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Q7PeKHgRGkkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT-Project with JBoss 5.1

2011-09-27 Thread Sascha Hoffmann
Hallo

I have a gwt project and would like to deploy it in the JBoss 5.1-
Server. Can somebody give me a hint where or how I can do this?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.