On Thu, Feb 11, 2010 at 4:50 PM, mariyan nenchev
<[email protected]> wrote:
> The libs are not in the war if you use maven....So it will blow on
> deployment...
What is your config?
I have something like:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<warSourceDirectory>${basedir}/target/${project.artifactId}-${project.version}</warSourceDirectory>
<webappDirectory>${basedir}/war</webappDirectory>
<webXml>${basedir}/src/main/webapp/WEB-INF/web.xml</webXml>
</configuration>
</plugin>
> On Thu, Feb 11, 2010 at 5:48 PM, Christian López Espínola
> <[email protected]> wrote:
>>
>> On Thu, Feb 11, 2010 at 10:19 AM, mariyan nenchev
>> <[email protected]> wrote:
>> > What about if you use maven to manage your libs and build? Then copying
>> > the
>> > war folder will not work...
>>
>> Just copy the war to deploy/
>>
>> > On Thu, Feb 11, 2010 at 1:03 AM, John Ivens
>> > <[email protected]>
>> > wrote:
>> >>
>> >> Okay, this is ulitmately easy...
>> >>
>> >> Step 1. Recursively copy your war directory to <project>.war in
>> >> <jboss>/server/default/deploy
>> >>
>> >> You HAVE to name it with the .war or JBOSS becomes TERRIBLY confused.
>> >>
>> >> Step 2. For some reason, database connectivity (for me, at least) broke
>> >> in
>> >> JBOSS. I needed to copy mysql-connector-java-3.0.17-ga-bin.jar into
>> >> <jboss>/server/lib
>> >>
>> >> This lets JBOSS see the database connectivity in a way it understands.
>> >> I
>> >> don't understand, but hey, it works. Of course, if you use Oracle
>> >> you'll
>> >> probably copy a different file..
>> >>
>> >>
>> >> I hope that this saves someone time in case they have to do it
>> >> themselves.
>> >>
>> >> Oh, when you start your project don't set it up as for GAE (Google App
>> >> Engine)... I think this might cause problems.
>> >>
>> >>
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups
>> >> "Google Web Toolkit" group.
>> >> To post to this group, send email to
>> >> [email protected].
>> >> To unsubscribe from this group, send email to
>> >> [email protected].
>> >> 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
>> > [email protected].
>> > To unsubscribe from this group, send email to
>> > [email protected].
>> > For more options, visit this group at
>> > http://groups.google.com/group/google-web-toolkit?hl=en.
>> >
>>
>>
>>
>> --
>> Cheers,
>>
>> Christian López Espínola <penyaskito>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
--
Cheers,
Christian López Espínola <penyaskito>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.