[Attempto] Windows 7 install problem

George Herson gherson at snet.net
Sun Aug 8 01:09:31 CEST 2010


Hi again,

I have AceWiki (<0.4.0) working on Fedora 12 but it'd be more convenient to run on Windows 7.

So, has anyone gotten any AceWiki running on Windows 7?

The below is just more of the same reported inability to find the jpl.dll.  

I have that dll (and libpl.dll):
   C:\Program Files\pl\bin>dir "C:\Program Files\pl\bin\jpl.dll"
    Volume in drive C is TI102805W0E
    Volume Serial Number is 64B8-FAEB

    Directory of C:\Program Files\pl\bin

   11/30/2009  04:30 PM            95,232 jpl.dll


SWI-Prolog works by itself.

webapps.war starts up and I'm able to browse http://localhost:8080, but when I choose "Click here to enter AceWiki" I get the below errors.  A notable selection:  "2010-08-07 21:59:45.349:WARN::Error for /acewiki/
java.lang.UnsatisfiedLinkError: C:\Program Files\pl\bin\jpl.dll: Can't find dependent libraries"

I added C:\Program Files to my PATH, changed directories, and ran (both with and without the -D parameter):
C:\Users\me\Downloads\acewiki-0.4.0>java -Djava.library.path="C:\Program Files\pl\bin" -jar ..\jetty-runner-7.0.0.v20091005.jar webapps.war

Same error.

Same error also after copying all pl\bin .dll's to various directories such as the ones holding jetty.jar and the JDK/bin.

I'll try GlassFish next.

regards,
george

C:\Program Files\pl\bin>java -jar C:\Users\me\Downloads\jetty-runner-7.0.0.v2
091005.jar C:\Users\me\Downloads\acewiki-0.4.0\webapps.war
2010-08-07 21:59:18.735:INFO::Logging to StdErrLog::DEBUG=false via org.eclipse
jetty.util.log.StdErrLog
2010-08-07 21:59:18.736:INFO::Runner
2010-08-07 21:59:18.737:WARN::No tx manager found
2010-08-07 21:59:18.809:INFO::Deploying file:/C:/Users/me/Downloads/acewiki-0
4.0/webapps.war @ /
[WebAppContext at 4b4333@4b4333/,null,file:/C:/Users/me/Downloads/acewiki-0.4.0/
ebapps.war]
2010-08-07 21:59:18.832:INFO::jetty-7.0.0.v20091005
2010-08-07 21:59:18.908:INFO::Extract jar:file:/C:/Users/me/Downloads/acewiki
0.4.0/webapps.war!/ to C:\Users\me\AppData\Local\Temp\Jetty_0_0_0_0_8080_weba
ps.war____.1fvvtb\webapp
2010-08-07 21:59:20.962:INFO::No Transaction manager found - if your webapp req
ires one, please configure one.
2010-08-07 21:59:21.189:INFO::Started SelectChannelConnector at 0.0.0.0:8080
2010-08-07 21:59:34.611:INFO::seeing JVM BUG(s) - cancelling interestOps==0
2010-08-07 21:59:45.349:WARN::Error for /acewiki/
java.lang.UnsatisfiedLinkError: C:\Program Files\pl\bin\jpl.dll: Can't find dep
ndent libraries
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at jpl.JPL.loadNativeLibrary(JPL.java:100)
        at jpl.fli.Prolog.<clinit>(Prolog.java:85)
        at jpl.JPL.init(JPL.java:177)
        at ch.uzh.ifi.attempto.ape.APELocal.<init>(Unknown Source)
        at ch.uzh.ifi.attempto.ape.APELocal.init(Unknown Source)
        at ch.uzh.ifi.attempto.acewiki.AceWikiServlet.newApplicationInstance(Un
nown Source)
        at nextapp.echo2.webcontainer.ContainerInstance.init(ContainerInstance.
ava:206)
        at nextapp.echo2.webcontainer.ContainerSynchronizeService.renderInit(Co
tainerSynchronizeService.java:417)
        at nextapp.echo2.webrender.service.SynchronizeService.service(Synchroni
eService.java:269)
        at nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.ja
a:273)
        at ch.uzh.ifi.attempto.acewiki.AceWikiServlet.process(Unknown Source)
        at nextapp.echo2.webrender.WebRenderServlet.doPost(WebRenderServlet.jav
:189)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:53
)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.jav
:426)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.
ava:118)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.ja
a:495)
        at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandle
.java:179)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHand
er.java:930)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java
361)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandl
r.java:864)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.
ava:116)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(Con
extHandlerCollection.java:243)
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCol
ection.java:126)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrappe
.java:112)
        at org.eclipse.jetty.server.Server.handle(Server.java:337)
        at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection
java:552)
        at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpC
nnection.java:993)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:739)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209

        at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:3
9)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndP
int.java:437)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPoo
.java:435)
        at java.lang.Thread.run(Unknown Source)


--- On Fri, 12/18/09, Tobias Kuhn <t.kuhn at gmx.ch> wrote:

> From: Tobias Kuhn <t.kuhn at gmx.ch>
> Subject: Re: [Attempto] Windows 7 install problem
> To: "George Herson" <gherson at snet.net>
> Cc: "attempto at lists.ifi.uzh.ch" <attempto at lists.ifi.uzh.ch>
> Date: Friday, December 18, 2009, 3:59 AM
> Hi George,
> 
> One more thing that might be worth checking: jpl.dll,
> jpl.jar, and the SWI Prolog executable ("pl" 
> or "swipl") should be from the same SWI Prolog version.
> 
> Otherwise, I am out of ideas. You might consider writing to
> the SWI Prolog mailing list.
> 
> 
> Tobias
> 
> 
> On 17.12.09 18:27, George Herson wrote:
> > Hi Tobias,
> >
> > thanks but that PATH adjustment I'd already
> made.  I still think there may be a problem using
> SWI-Prolog's jpl.dll on Windows 7.
> >
> > However, everything is working for me so far on Fedora
> 12.
> >
> > regards,
> > George
> >
> > ----- Original Message ----
> > From: Tobias Kuhn<t.kuhn at gmx.ch>
> > To: George Herson<gherson at snet.net>
> > Cc: "(attempto at lists.ifi.uzh.ch)"<attempto at lists.ifi.uzh.ch>
> > Sent: Mon, December 14, 2009 3:12:32 AM
> > Subject: Re: [Attempto] Windows 7 install problem
> >
> > Hi George,
> >
> > It seems that Jetty finds jpl.dll but fails to find
> other SWI Prolog libraries. According to this link
> >
> > http://www.swi-prolog.org/packages/jpl/installation.html
> >
> > the problem could be that libpl.dll is not found.
> Maybe it works if you add "C:\Program
> > Files\pl\bin" additionally to the PATH environment
> variable.
> >
> > A similar problem has been reported to the list. See:
> >
> > https://lists.ifi.uzh.ch/pipermail/attempto/2008-December/000092.html
> >
> >
> > Cheers,
> > Tobias
> >
> >
> >
> > On 14.12.09 04:04, George Herson wrote:
> >> Greetings,
> >>
> >> This is mostly an info report that following the
> http://attempto.ifi.uzh.ch/site/docs/java/README.txt
> instructions on two Windows 7 machines, a Intel Core 2 Duo
> and Athlon 64, led to
> >>
> >>   
>    java.lang.UnsatisfiedLinkError: C:\Program
> Files\pl\bin\jpl.dll: Can't find dependent libraries
> >>
> >> even though C:\Program Files\pl\bin was in my
> PATH.
> >>
> >> Also for both, Dependency Walker (free from
> dependencywalker.com) showed these problems for that
> jpl.dll:
> >>
> >> "Error: At least one required implicit or
> forwarded dependency was not found.
> >> Warning: At least one delay-load dependency module
> was not found.
> >> Warning: At least one module has an unresolved
> import due to a missing export function in a delay-load
> dependent module."   Flagged were
> >> JVM.DLL
> >> MSVCR90.DLL
> >> IESHIMS.DLL
> >> SHLWAPI.DLL
> >> IEFRAME.DLL
> >> The first three couldn't be found and copying them
> into c:\windows\system32 just created further, similar
> problems.
> >>
> >> SWI-Prolog starts up but if I had to guess I would
> say that use of the jpl.dll may be problematic on Windows
> 7.
> >>
> >> The "Preditor" is working, though.
> >>
> >> My command to launch the web server was
> >>       C:\>java
> -Djava.library.path="C:\Program Files\pl\bin" -jar
> "C:\Program Files\jetty-runner-7.0.0.RC6.jar" "C:\Program
> Files\attempto_java_packages-091207\webapps.war"
> >>
> >> Next I'll try Fedora Linux.
> >>
> >> Regards,
> >> George
> >>
> >> _______________________________________________
> >> attempto mailing list
> >> attempto at lists.ifi.uzh.ch
> >> https://lists.ifi.uzh.ch/listinfo/attempto
> >>
> >
> 


More information about the attempto mailing list