Most probable reason is that its not building properly.
can you see following lines while building
[INFO] Compiling module com.avdy.p4j.sample.Sample
[INFO] Validating newly compiled units
[INFO] [WARN] Warnings in 'jar:file:/root/.m2/repository/com/
googlecode/gwtmosaic/gwt-mosaic/0.4.0-rc4/gwt-mosaic-0.4.0-rc4.jar!/
org/gwt/mosaic/ui/client/impl/GlassPanelImpl.java'
[INFO] [WARN] Line 52: Referencing deprecated class
'com.google.gwt.user.client.impl.DocumentRootImpl'
[INFO] [WARN] Line 60: Referencing deprecated class
'com.google.gwt.user.client.impl.DocumentRootImpl'
[INFO] Compiling 12 permutations
[INFO] Compiling permutation 0...
[INFO] Process output
[INFO] Compiling permutation 1...
[INFO] Compiling permutation 2...
[INFO] Compiling permutation 3...
[INFO] Compiling permutation 4...
[INFO] Compiling permutation 5...
[INFO] Compiling permutation 6...
[INFO] Compiling permutation 7...
[INFO] Compiling permutation 8...
[INFO] Compiling permutation 9...
[INFO] Compiling permutation 10...
[INFO] Compiling permutation 11...
[INFO] Compile of permutations succeeded
Please post complete build log here
On Aug 20, 8:42 pm, Suhothayan Sriskandarajah <
suhotha...@gmail.com>
wrote:
> On 20 August 2010 11:08, Avdhesh Yadav <
avdhesh.ya...@gmail.com> wrote:
>
>
>
> > After deploying and when you go to
> >
http://localhost:8080/persistence4J-sample-web/check the logs is there
> > any error message?.If there is error message please post the error message
> > here.Most probable reason is that the credentials of database not
> > right.before building the sample application change the credentials as per
> > you database installation in persistence.properties of
> > persistence4J-sample-web.
>
> > To use the right credentials go to
>
> > persistence4J-sample-web/war/
> > WEB-INF/persistence.properites and search for following lines
>
> > persistence.dbms.mysql.username=mysql
> > persistence.dbms.mysql.password=mysql
>
> > Now here you change username and password of you mysql installation.
>
> > Please try these steps and tell me if it working.
>
> Yes I did all of these, and there was no error in the logs too.
> but, when I inspect the lorded HTML(blank page) I found that it is trying to
> load sample/sample.nocache.js file which is not there.
>
> How can I over come this issue?
>
> Suho
>
>
>
> > On Thu, Aug 19, 2010 at 11:18 PM, Suhothayan Sriskandarajah <
> >
suhotha...@gmail.com> wrote:
>
> >> I populated the database with the given .sql file and I too was able to
> >> deploy the sample-web successfully with out error.
> >> But when I go to the pagehttp://localhost:8080/persistence4J-sample-web/