Hi
But this problem is coming and going. I had this sometime ago, then it
was gone and now it is back.
Andy
----- Original Message -----
From: "Jason Dillon" <[EMAIL PROTECTED]>
To: "Andreas Schaefer" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, April 05, 2002 8:21 PM
Subject: Re: [JBoss-dev] Strange behaviour with Jetty, JBoss 3.0 and
jboss-web.xml
> Ahh.. ic. This is the filenames are too long for win32/cygwin to handle.
>
> We need to stop putting the full URL path under tmp/deploy, per my
> previous rants on this.
>
> I think that David was going to change this, but I am not sure what the
> timeline was for that.
>
> Short-term, change the base directory where you work out of to be
> closer to c:\
>
> --jason
>
>
> Andreas Schaefer wrote:
>
> >Here is the output of my Cygwin shell which causes Hypersonic not to
start:
> >
> >19:55:26,265 INFO [MainDeployer] Successfully completed deployment of
> >package:
>
>file:/C:/Cygwin32/home/schaefa/jboss.dev/jboss-all/build/output/jboss-3.0.0
b
> >eta2/server/default/deploy/jetty-lugin.sar
> >19:55:26,265 INFO [MainDeployer] Starting deployment of package:
>
>file:/C:/Cygwin32/home/schaefa/jboss.dev/jboss-all/build/output/jboss-3.0.0
b
> >eta2/server/default/deploy/new-hsqldb-default-service.xml
> >19:55:26,275 ERROR [MainDeployer] Could not make local copy for
>
>file:/C:/Cygwin32/home/schaefa/jboss.dev/jboss-all/build/output/jboss-3.0.0
b
> >eta2/server/default/deploy/new-hsqldb-default-service.xml
> >java.io.FileNotFoundException:
>
>C:\Cygwin32\home\schaefa\jboss.dev\jboss-all\build\output\jboss-3.0.0beta2\
s
> >erver\default\tmp\deploy\C\Cygwin32\home\sc
>
>haefa\jboss.dev\jboss-all\build\output\jboss-3.0.0beta2\server\default\depl
o
> >y\new-hsqldb-default-service.xml\55.new-hsqldb-default-service.xml
(Filename
> >too long)
> > at java.io.FileOutputStream.open(Native Method)
> > at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
> > at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
> > at java.io.FileOutputStream.<init>(FileOutputStream.java:132)
> > at org.jboss.deployment.MainDeployer.copy(MainDeployer.java:1029)
> > at
> >org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:993)
> > at org.jboss.deployment.MainDeployer.init(MainDeployer.java:544)
> >
> >Have fun - Andy
> >----- Original Message -----
> >From: "Jason Dillon" <[EMAIL PROTECTED]>
> >To: "Andreas Schaefer" <[EMAIL PROTECTED]>
> >Cc: <[EMAIL PROTECTED]>
> >Sent: Friday, April 05, 2002 7:19 PM
> >Subject: Re: [JBoss-dev] Strange behaviour with Jetty, JBoss 3.0 and
> >jboss-web.xml
> >
> >
> >>Hrm... I am running under cygwin just fine with the latest CVS HEAD. I
> >>am looking into FileURLConnection a bit more right now... Looks like the
> >>sun version won't let you getOutputStream() and always returns a
> >>FilePermission("read").
> >>
> >>I am not sure why Scott chose to use the url attribute and convert the
> >>path instead of using the File object which we have a reference too
> >>either...
> >>
> >>Is there anything specific which I can do to reproduce your problem? I
> >>am not seeing strange deployment out of the box... perhaps the testsuite
> >>is failing in that area, but I just wouldn't know... since it seems to
> >>always fail somewhere. Ahh, I can remember back when this ran clean...
> >>those were the days =P
> >>
> >>So, can you confirm that you disabled our custom file protocol and you
> >>still get deployment errors. I am not clear on that based on this
> >>
> >response.
> >
> >>=)
> >>
> >>--jason
> >>
> >>
> >>Andreas Schaefer wrote:
> >>
> >>>Hi Jason
> >>>
> >>>The same problem but since the last CVS update I cannot deploy
Hypersonic
> >>>
> >DB
> >
> >>>because it throws a similar exception but ONLY on CYGWIN
> >>>
> ><really-strange/>.
> >
> >>>Andy
> >>>
> >>>----- Original Message -----
> >>>From: "Jason Dillon" <[EMAIL PROTECTED]>
> >>>To: "Andreas Schaefer" <[EMAIL PROTECTED]>
> >>>Cc: <[EMAIL PROTECTED]>
> >>>Sent: Friday, April 05, 2002 6:56 PM
> >>>Subject: Re: [JBoss-dev] Strange behaviour with Jetty, JBoss 3.0 and
> >>>jboss-web.xml
> >>>
> >>>
> >>>>Andreas, can you do me a favor and rename
> >>>>common/src/main/org/jboss/net/protocol/file/Handler.java to
> >>>>common/src/main/org/jboss/net/protocol/file/Handler.java.disable, then
> >>>>build clean and see if this still happens.
> >>>>
> >>>>I am currious if there is another bug in the file protocol
URLConnection
> >>>>which I don't know about.
> >>>>
> >>>>--jason
> >>>>
> >>>>
> >>>>Andreas Schaefer wrote:
> >>>>
> >>>>>Hi Geeks
> >>>>>
> >>>>>Just encountered a strange problem when I deploy a WAR
> >>>>>file on JBoss 3.0 with Jetty (W2K and JDK 1.3.1) that the
> >>>>>case matters that the "WEB-INF" directory where jboss-web.xml
> >>>>>is in which then is used in build.xml in the WAR tasks to be
> >>>>>included into the WAR file (BTW in this directory is the web.xml
> >>>>>and jboss-web.xml).
> >>>>>Therefore when the directory name is in lower case and I add
> >>>>>the jboss-web.xml file the deployment fails with:
> >>>>>
> >>>>>18:41:59,529 ERROR [JBossWebApplicationContext#/web-client] problem
> >>>>>
> >>>locating
> >>>
> >>>>>web.xml
> >>>>>java.io.FileNotFoundException: C:\Documents and
Settings\schaefa\Local
> >>>>>Settings\Temp\Jetty__8080___web-client\webapp\WEB-INF\web.xml;
> >>>>>
> >>>BadResource:
> >>>
> >>>>>C:\Documents
> >>>>>and Settings\schaefa\Local
> >>>>>Settings\Temp\Jetty__8080___web-client\webapp\WEB-INF\web.xml is
alias
> >>>>>
> >of
> >
> >>>>>C:\Documents and Settings\schaefa\Local
> >>>>>Settings\Temp\Jetty__8080___web-client\webapp\web-inf\web.xml
> >>>>> at
> >>>>>
>
>>>org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.j
a
> >>>
> >v
> >
> >>>a
> >>>
> >>>>>:52)
> >>>>> at
> >>>>>
>
>>>org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConne
c
> >>>
> >t
> >
> >>>i
> >>>
> >>>>>on.java:59)
> >>>>> at java.net.URL.openStream(URL.java:798)
> >>>>> at
> >>>>>
> >>>org.apache.crimson.parser.InputEntity.init(InputEntity.java:209)
> >>>
> >>>>> at
> >>>>>
> >>>org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:471)
> >>>
> >>>>> at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
> >>>>> at
> >>>>>org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
> >>>>>
> >>>>>Note that this only happens when I add the jboss-web.xml file but not
> >>>>>
> >>>when
> >>>
> >>>>>it is not included.
> >>>>>
> >>>>>Strange, isn't it ?
> >>>>>
> >>>>>xxxxxxxxxxxxxxxxx
> >>>>>Andreas Schaefer
> >>>>>Senior Consultant
> >>>>>JBoss Group, LLC
> >>>>>xxxxxxxxxxxxxxxxx
> >>>>>
> >>>>>
> >>>>>
> >>>>>_______________________________________________
> >>>>>Jboss-development mailing list
> >>>>>[EMAIL PROTECTED]
> >>>>>https://lists.sourceforge.net/lists/listinfo/jboss-development
> >>>>>
> >>>>
> >>
> >>
> >>_______________________________________________
> >>Jboss-development mailing list
> >>[EMAIL PROTECTED]
> >>https://lists.sourceforge.net/lists/listinfo/jboss-development
> >>
> >>
> >
>
>
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development