Forum Problems Installing LAMS: Re: Re: Re: Re: Re: Re: Lams fialed to build and start


 
Search: 

11: Re: Re: Re: Re: Re: Re: Lams fialed to build and start
In response to 9 01/10/07 02:10 AM
[ Reply | Forward ]
David,

Yes, we are having a few problems with the server at the moment.

All I can think of is that there is something wrong in the sharedlib setting in the common.properties file in lams_build. But if that was wrong I'd expect a lot more than just xdoclet to be going wrong.

Can you make a change to the build.xml in the lams_central directory. Find the webdoclet target and add the lines given below between <!-- dump the classpath... --> and <!-- end dump>

<target name="webdoclet" depends="preparedirs">
  <!-- dump the classpath to the log for debugging -->
  <pathconvert pathsep="${line.separator}|  |-- "
      property="echo-classpath"
      refid="project.classpath">
  </pathconvert>
  <echo message="Classpath for lams-central build ${echo-classpath}"/>
  <!-- end dump -->

  <webdoclet destdir="${generated.java}" force="${xdoclet.force}">

I'll attach a copy of a modified build.xml file in case that helps.

Then when the build runs, you should get some output like:
Buildfile: C:\EclipseWorkspace\lams_central\build.xml
preparedirs:
webdoclet:
    [echo] Classpath for lams-central build C:\EclipseWorkspace\lams_build\lib\axis\axis-ant.jar
    [echo] |  |-- C:\EclipseWorkspace\lams_build\lib\axis\axis.jar
    [echo] |  |-- C:\EclipseWorkspace\lams_build\lib\axis\jaxrpc.jar
    [echo] |  |-- C:\EclipseWorkspace\lams_build\lib\axis\saaj.jar
    [echo] |  |-- C:\EclipseWorkspace\lams_build\lib\axis\wsdl4j-1.5.1.jar
    [echo] |  |-- C:\EclipseWorkspace\lams_build\lib\catalina\catalina.jar
.....
    [echo] |  |-- C:\EclipseWorkspace\lams_build\lib\wddx\wddx.jar
    [echo] |  |-- C:\EclipseWorkspace\lams_build\lib\xdoclet\maven-xdoclet-plugin-1.2.3.jar
    [echo] |  |-- C:\EclipseWorkspace\lams_build\lib\xdoclet\xdoclet-1.2.3.jar
......
    [echo] |  |-- C:\jboss-4.0.2\server\default\lib\webcallbackhandler.jar


Could you post this as it should tell me what exactly in the classpath for the webdoclet calls.

Fiona

Posted by Fiona Malikoff

12: Re: Re: Re: Re: Re: Re: Re: Lams fialed to build and start
In response to 11 01/10/07 02:10 AM
[ Reply | Forward ]
The build.xml for lams_central...

Posted by Fiona Malikoff

Attachments:
13: build.xml: Lams fialed to build and start
In response to 11 01/10/07 05:38 PM
[ Reply | Forward ]
Hey Fiona,

I was just doing a diff on the two build.xml files and noticed that your build.xml is much different to the one that i have from the lams repository, including missing tasks assemble-ear, copyfiles etc.

I have attached my build file and hopefully you could modify that version and let me know if i even have the right version?

Posted by David Binney

Attachments:
14: Re: build.xml: Lams fialed to build and start
In response to 13 01/10/07 06:01 PM
[ Reply | Forward ]
David,

Different build file altogether.

Each of the projects in LAMS has their own build file, and the build.xml that is in the lams_build project is a master build file, which then calls the individual project build files.

The build file you have attached is the master build file in lams_build directory.

The build file that I have attached is the build file for the lams_central directory. I've put the debugging in lams_central, rather than in the master build, so that I can get the debugging as close to the problem as possible.

Fiona

Posted by Fiona Malikoff

15: assemble-ear after build.xml update: Lams fialed to build and start
In response to 11 01/10/07 09:33 PM
[ Reply | Forward ]
Hey Fiona,

I have made the changes to the lams_common/build.xml and it has shown up some more usefull information which should be helpful to you!!

Let me know what you find out?

Posted by David Binney

16: Re: assemble-ear after build.xml update: Lams fialed to build and start
In response to 15 01/10/07 09:37 PM
[ Reply | Forward ]
file upload..

Posted by David Binney

17: Re: Re: assemble-ear after build.xml update: Lams fialed to build and start
In response to 16 01/10/07 09:43 PM
[ Reply | Forward ]
another attempt before i just upload the text

Posted by David Binney

18: Re: Re: assemble-ear after build.xml update: Lams fialed to build and start
In response to 16 01/10/07 09:46 PM
[ Reply | Forward ]
another try :(((

Posted by David Binney

Attachments:
19: Re: Re: Re: assemble-ear after build.xml update: Lams fialed to build and start
In response to 18 01/12/07 01:12 AM
[ Reply | Forward ]
David,

Were stumped on this one at the moment. I've passed it to the team and we reckon it is something to do with the classpath, but we can't see what - that dump of the libraries on the path should be the exact list of libraries that xdoclet gets in the webdoclet command, and there is exactly one copy of the xdoclet libraries that I can see.

One of the guys tried it on a solaris blade, jdk 1.6 and ant 1.7 and it worked fine.

Fiona

Posted by Fiona Malikoff

20: Re: Re: Re: Re: Re: Re: Re: Lams fialed to build and start
In response to 11 06/17/08 12:37 PM
[ Reply | Forward ]
Dear Fiona,

Did you eventually fix this issue.
I have the same problem on:

- Windows Vista Home Premium, SP1
- jboss-4.0.2
- jdk1.6.0_06


I repeated the steps you recommended on the lams_central build.xml file, just to know about the classpath for the webdoclet, and got the attached file.

Posted by Juanma Dodero

Attachments:
Reply to first post on this page
Back to Problems Installing LAMS