Re: svn commit: r756754 - /ofbiz/trunk/framework/webslinger/lib/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r756754 - /ofbiz/trunk/framework/webslinger/lib/

Adam Heath-2
[hidden email] wrote:
> Author: doogie
> Date: Fri Mar 20 20:50:19 2009
> New Revision: 756754
>
> URL: http://svn.apache.org/viewvc?rev=756754&view=rev
> Log:
> Upgrade to newer version.  Works on java 1.5 now.

As the log says, you can run on java 1.5 now.  Sorry it took so long.
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r756754 - /ofbiz/trunk/framework/webslinger/lib/

Joe Eckard

On Mar 20, 2009, at 4:51 PM, Adam Heath wrote:

> [hidden email] wrote:
>> Author: doogie
>> Date: Fri Mar 20 20:50:19 2009
>> New Revision: 756754
>>
>> URL: http://svn.apache.org/viewvc?rev=756754&view=rev
>> Log:
>> Upgrade to newer version.  Works on java 1.5 now.
>
> As the log says, you can run on java 1.5 now.  Sorry it took so long.

I get the following compilation error after an svn update (now at  
756985) and "ant clean-all && ant":

...

prepare:
     [mkdir] Created dir: /Users/eckard/src/ofbiz-rrmc/framework/
webslinger/build/classes
     [mkdir] Created dir: /Users/eckard/src/ofbiz-rrmc/framework/
webslinger/build/lib

classes:
   [javac15] Compiling 11 source files to /Users/eckard/src/ofbiz-rrmc/
framework/webslinger/build/classes
   [javac15] /Users/eckard/src/ofbiz-rrmc/framework/webslinger/src/org/
ofbiz/webslinger/WebslingerCatalinaContainer.java:31: package  
org.webslinger.catalina does not exist
   [javac15] import org.webslinger.catalina.WebslingerAccessLogValve;
   [javac15]                                ^
   [javac15] /Users/eckard/src/ofbiz-rrmc/framework/webslinger/src/org/
ofbiz/webslinger/WebslingerCatalinaContainer.java:38: cannot find symbol
   [javac15] symbol  : class WebslingerAccessLogValve
   [javac15] location: class  
org.ofbiz.webslinger.WebslingerCatalinaContainer
   [javac15]         WebslingerAccessLogValve al = new  
WebslingerAccessLogValve();
   [javac15]         ^
   [javac15] /Users/eckard/src/ofbiz-rrmc/framework/webslinger/src/org/
ofbiz/webslinger/WebslingerCatalinaContainer.java:38: cannot find symbol
   [javac15] symbol  : class WebslingerAccessLogValve
   [javac15] location: class  
org.ofbiz.webslinger.WebslingerCatalinaContainer
   [javac15]         WebslingerAccessLogValve al = new  
WebslingerAccessLogValve();
   [javac15]                                           ^
   [javac15] Note: Some input files use unchecked or unsafe operations.
   [javac15] Note: Recompile with -Xlint:unchecked for details.
   [javac15] 3 errors

BUILD FAILED
/Users/eckard/src/ofbiz-rrmc/build.xml:148: The following error  
occurred while executing this line:
/Users/eckard/src/ofbiz-rrmc/framework/build.xml:141: The following  
error occurred while executing this line:
/Users/eckard/src/ofbiz-rrmc/macros.xml:27: The following error  
occurred while executing this line:
/Users/eckard/src/ofbiz-rrmc/framework/webslinger/build.xml:53:  
Compile failed; see the compiler error output for details.


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r756754 - /ofbiz/trunk/framework/webslinger/lib/

David E Jones-3

Since it has been about 12 hours and no word from Adam I disabled the  
webslinger build and component load in SVN rev 756990.

For now at least we can build and run everything else (only the  
webslinger component and webapp should be affected by this).

I looked around a little for the missing class  
(WebslingerAccessLogValve) and couldn't find it, so it must be in a  
missing library, or perhaps the reference to it is in the wrong  
package or something. Anyway, my guess is Adam will be able to clean  
that up quickly once he's back in.

-David


On Mar 21, 2009, at 12:40 PM, Joe Eckard wrote:

>
> On Mar 20, 2009, at 4:51 PM, Adam Heath wrote:
>
>> [hidden email] wrote:
>>> Author: doogie
>>> Date: Fri Mar 20 20:50:19 2009
>>> New Revision: 756754
>>>
>>> URL: http://svn.apache.org/viewvc?rev=756754&view=rev
>>> Log:
>>> Upgrade to newer version.  Works on java 1.5 now.
>>
>> As the log says, you can run on java 1.5 now.  Sorry it took so long.
>
>
> I get the following compilation error after an svn update (now at  
> 756985) and "ant clean-all && ant":
>
> ...
>
> prepare:
>    [mkdir] Created dir: /Users/eckard/src/ofbiz-rrmc/framework/
> webslinger/build/classes
>    [mkdir] Created dir: /Users/eckard/src/ofbiz-rrmc/framework/
> webslinger/build/lib
>
> classes:
>  [javac15] Compiling 11 source files to /Users/eckard/src/ofbiz-rrmc/
> framework/webslinger/build/classes
>  [javac15] /Users/eckard/src/ofbiz-rrmc/framework/webslinger/src/org/
> ofbiz/webslinger/WebslingerCatalinaContainer.java:31: package  
> org.webslinger.catalina does not exist
>  [javac15] import org.webslinger.catalina.WebslingerAccessLogValve;
>  [javac15]                                ^
>  [javac15] /Users/eckard/src/ofbiz-rrmc/framework/webslinger/src/org/
> ofbiz/webslinger/WebslingerCatalinaContainer.java:38: cannot find  
> symbol
>  [javac15] symbol  : class WebslingerAccessLogValve
>  [javac15] location: class  
> org.ofbiz.webslinger.WebslingerCatalinaContainer
>  [javac15]         WebslingerAccessLogValve al = new  
> WebslingerAccessLogValve();
>  [javac15]         ^
>  [javac15] /Users/eckard/src/ofbiz-rrmc/framework/webslinger/src/org/
> ofbiz/webslinger/WebslingerCatalinaContainer.java:38: cannot find  
> symbol
>  [javac15] symbol  : class WebslingerAccessLogValve
>  [javac15] location: class  
> org.ofbiz.webslinger.WebslingerCatalinaContainer
>  [javac15]         WebslingerAccessLogValve al = new  
> WebslingerAccessLogValve();
>  [javac15]                                           ^
>  [javac15] Note: Some input files use unchecked or unsafe operations.
>  [javac15] Note: Recompile with -Xlint:unchecked for details.
>  [javac15] 3 errors
>
> BUILD FAILED
> /Users/eckard/src/ofbiz-rrmc/build.xml:148: The following error  
> occurred while executing this line:
> /Users/eckard/src/ofbiz-rrmc/framework/build.xml:141: The following  
> error occurred while executing this line:
> /Users/eckard/src/ofbiz-rrmc/macros.xml:27: The following error  
> occurred while executing this line:
> /Users/eckard/src/ofbiz-rrmc/framework/webslinger/build.xml:53:  
> Compile failed; see the compiler error output for details.
>

Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r756754 - /ofbiz/trunk/framework/webslinger/lib/

Adam Heath-2
David E Jones wrote:
>
> Since it has been about 12 hours and no word from Adam I disabled the
> webslinger build and component load in SVN rev 756990.

Yo, g(chest thump), I needs to sleep, man(peace sign)!

Fixed in 757011, and restored in 757014.

> For now at least we can build and run everything else (only the
> webslinger component and webapp should be affected by this).
>
> I looked around a little for the missing class
> (WebslingerAccessLogValve) and couldn't find it, so it must be in a
> missing library, or perhaps the reference to it is in the wrong package
> or something. Anyway, my guess is Adam will be able to clean that up
> quickly once he's back in.
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r756754 - /ofbiz/trunk/framework/webslinger/lib/

Joe Eckard
In reply to this post by Adam Heath-2

On Mar 20, 2009, at 4:51 PM, Adam Heath wrote:

> [hidden email] wrote:
>> Author: doogie
>> Date: Fri Mar 20 20:50:19 2009
>> New Revision: 756754
>>
>> URL: http://svn.apache.org/viewvc?rev=756754&view=rev
>> Log:
>> Upgrade to newer version.  Works on java 1.5 now.
>
> As the log says, you can run on java 1.5 now.  Sorry it took so long.

I'm pretty psyched to try this thing out, but it looks like there is  
still some sort of issue. I'm getting the following at /webslinger  
(r757107):

[20:04:13,986] ERROR [/webslinger].[WebslingerServlet]  -  
Servlet.service() for servlet WebslingerServlet threw exception
java.lang.NullPointerException
        at org.webslinger.AbstractMappingWebslingerServletContextFactory
$ContextKey.<init>(AbstractMappingWebslingerServletContextFactory.java:
242)
        at org.webslinger.AbstractMappingWebslingerServletContextFactory
$LayoutKey.freeze(AbstractMappingWebslingerServletContextFactory.java:
219)
        at org.webslinger.AbstractMappingWebslingerServletContextFactory
$LayoutKey.freeze(AbstractMappingWebslingerServletContextFactory.java:
211)
        at  
org
.webslinger
.lang.ConcurrentFreezableCache.get(ConcurrentFreezableCache.java:25)
        at  
org
.webslinger
.AbstractMappingWebslingerServletContextFactory
.getContext(AbstractMappingWebslingerServletContextFactory.java:125)
        at org.webslinger.AbstractMappingWebslingerServletContextFactory
$
ContextTTLObject
.load(AbstractMappingWebslingerServletContextFactory.java:200)
        at org.webslinger.AbstractMappingWebslingerServletContextFactory
$
ContextTTLObject
.load(AbstractMappingWebslingerServletContextFactory.java:189)
        at org.webslinger.util.TTLObject.load(TTLObject.java:339)
        at org.webslinger.util.TTLObject$ValueAndState$1.call(TTLObject.java:
158)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at org.webslinger.util.TTLObject.getObject(TTLObject.java:312)
        at  
org
.webslinger
.AbstractMappingWebslingerServletContextFactory
.getWebslingerServletContext
(AbstractMappingWebslingerServletContextFactory.java:105)
        at  
org
.webslinger.servlet.WebslingerServlet.service(WebslingerServlet.java:45)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at  
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290)
        at  
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at  
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
        at  
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
175)
        at  
org
.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
128)
        at  
org
.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
        at  
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at  
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
568)
        at  
org
.ofbiz
.catalina
.container
.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
        at  
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
286)
        at  
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
844)
        at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
447)
        at java.lang.Thread.run(Thread.java:613)


java -version:

java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-
b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)


Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r756754 - /ofbiz/trunk/framework/webslinger/lib/

Adam Heath-2
Joe Eckard wrote:

>
> On Mar 20, 2009, at 4:51 PM, Adam Heath wrote:
>
>> [hidden email] wrote:
>>> Author: doogie
>>> Date: Fri Mar 20 20:50:19 2009
>>> New Revision: 756754
>>>
>>> URL: http://svn.apache.org/viewvc?rev=756754&view=rev
>>> Log:
>>> Upgrade to newer version.  Works on java 1.5 now.
>>
>> As the log says, you can run on java 1.5 now.  Sorry it took so long.
>
> I'm pretty psyched to try this thing out, but it looks like there is
> still some sort of issue. I'm getting the following at /webslinger
> (r757107):
>
> [20:04:13,986] ERROR [/webslinger].[WebslingerServlet]  -
> Servlet.service() for servlet WebslingerServlet threw exception
> java.lang.NullPointerException
>     at
> org.webslinger.AbstractMappingWebslingerServletContextFactory$ContextKey.<init>(AbstractMappingWebslingerServletContextFactory.java:242)

Did you do ant run-install?