users@glassfish.java.net

Cluster : path deployement problem

From: <glassfish_at_javadesktop.org>
Date: Fri, 01 Feb 2008 01:58:29 PST

Hello to all cluster aware guys and others,

I have a GUI with a tag library descriptor like this :
<!DOCTYPE taglib SYSTEM "dtds/web-jsptaglibrary_1_1.dtd">

I have a cluster configuration deployed for cluster 1:
${com.sun.aas.instanceRoot}/config/cluster1-config

DTD files are correctly replicated to instances in each instance in the dtds sub-directory :
${com.sun.aas.instanceRoot}/config/cluster1-config/dtds

The cluster1-config CLASSPATH-PREFIX is correctly defined to point on ${com.sun.aas.instanceRoot}/config/cluster1-config

and I get this deployement error :
[[i]#|2008-02-01T10:43:08.946+0100|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=12;_ThreadName=pool-1-thread-4;_RequestID=3d43a21e-e9aa-4656-8e43-5cda41c124a3;|PWC1315: Error reading listeners from TLD
javax.servlet.ServletException: PWC3037: Exception processing TLD at resource path /WEB-INF/tag/mmserver.tld in context /mmgui
        at org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:703)
        at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:442)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5117)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
        at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
        at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
        at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.FileNotFoundException: /product/mmserver2/glassfishv2UR1/nodeagents/node-toulon/toulon-cluster-citron-instanceA/config/dtds/web-jsptaglibrary_1_1.dtd (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
[/i]
The CLASSPATH-PREFIX is not used ! Instead Glassfish seems to look up in a fixed CONFIG place (i'm worried)

Hope someone solve this configuration issue,
Olivier
[Message sent by forum member 'omerlin' (omerlin)]

http://forums.java.net/jive/thread.jspa?messageID=256956