We use the Desktop as our development environment for OpenBD
projects. I find it incredibly useful to just press the button to
package a complete WAR - that we can then deploy on CloudBees or
Tomcat for staging & production releases. Our CFML is in
Subversion, but having the exact-same ENGINE AND CFML traverse the
higher environments together as a package - is the ultimate in tight
source control ;-]
But having our OpenBD Desktop mysteriously descend into
ClassNotFound hell for a few days (longer in your case), certainly
affects the deadlines! It's an added frustration when we
can't establish the causation. See? That's a cute little
rhyme I just wrote there...
I would suggest we attempt a rigorous comparison of running
processes when this thing does and doesn't work, perhaps toggle our
AV protection off and on, SOMETHING to help pin down WHY this great
little program suddenly goes permissions-bipolar on us.
Al
On 12/29/2013 12:44 PM, Marcus F wrote:
Yes, a more detailed log would be very useful.
It's a hard situation, on the one hand I love OpenBD (Hell, I
made a CMS especially for it, which I'm working on the next
version of) but on the other hand I can't reliably even test the
latest version without setting up a full server (Even if it's
just a virtual machine).
I know it's free, and open source, and I don't have any feelings
of being owed anything by the developers, but many of my
questions and bugs seem to go unnoticed or unanswered here,
which means projects I can't do, new versions I can't try, and
so on, and since I'm not a Java developer I can't really do much
of anything with the bugs I run into.
I guess one of my main complaints about OpenBD is the lack of
communication, second up is lack of documentation (some tags
have no info at all, and aren't implement like in CF, and some
tags have not enough, in both cases it requires work, in some
cases quite a bit, to just get it working).
OpenBD 2.0.2 Desktop runs perfectly, I don't think I've ever had
a single hickup with it, so I wonder what changed between
Desktop versions, it's not just the engine version, probably
Jetty and Java versions too.
On Sunday, December 29, 2013 2:29:10 PM UTC-6, Al Holden wrote:
While you may have hit
on something with Windows path name laziness (OpenBD desktop
does rely on Java libraries after all), I think some of your
other findings may be coincidental to another cause.
I've had theories like these as well. Unfortunately, I'm
always drawn back to my most recent experience:
It worked last night. I closed the app, turned off the PC
and went to bed. The next day, the app had no history when
it started up, and threw the ClassNotFoundException. Two
days later, I tried a shorter path and they ALL started
working again. None of them had spaces btw.
But I did NOT change any path names, file names, ANYTHING.
Obviously though, OpenBD app - or my PC - DID. Unless
someone else can set me straight, the exception above means
that 1) the resource has moved or 2) the process is not
being allowed to access it. Not a lot of other possibilities
there.
One theory could be something in an updater or virus
protection (I use AVG) - that suddenly & silently
decides a critical file off-limits for a while.
While it's not fair to expect our desktop app heroes to
magically fix everything PC - it would be nice to get just a
little more console insight into what steps are being
cleared ("file found...", "file not found...", "resource in
use...") - or not - during startup.
Al
On 12/29/2013 10:34 AM, Marcus F wrote:
I've playing with this, and it seems very
hit and miss.
Some folders it works just fine, and some folders it
just throws tons of errors in console, starting with
these two lines:
2013-12-29 12:29:26.920:WARN:oejw. StandardDescriptorProcessor:Could
not instantiate listener com.naryx.tagfusion.cfm.application.cfHttpSessionListener
java.lang.ClassNotFoundException:
com.naryx.tagfusion.cfm.application.cfHttpSessionListener
So right now I have a single folder that seems to run
fine with desktop, C:\open
I've tried making other folders in C: to no avail, and
subfolders such as C:\open\cfwheels fails with the
errors as well.
No idea who's been working on the Desktop version, or
who can decipher the errors and maybe work on fixing
them, I certainly can't.
The full downside is that I can't properly test anything
above 2.0.2, except for this one folder that seems to
magically work :/
On Sunday, December 29, 2013 12:03:24 AM UTC-6, Marcus F
wrote:
Progress!
After finally sitting down with 3.0 (And 3.1,
nightly) OpenBD Desktop I've made a little progress.
It seems that for me, the issue is two-fold.
First off: No spaces in the pathname!
Second off: Context path needs to be set to / and
not \
And this seems to have fixed the issue, at least for
the moment, I'll be doing some tests to see if it
stays "unbroken" this time.
I'm running this on Windows 7 x64
On Monday, December 23, 2013 4:13:57 PM UTC-6,
Marcus F wrote:
I would love to find out too.
I've not been able to get it working more than
sporadically, so I haven't been able to test out
3.0 properly.
I *did* set up a VM but that's a pain in the ass
for dev'ing
On Monday, December 23, 2013 3:10:28 PM UTC-6,
Al Holden wrote:
And
just like that, 2 days later, it starts
working again. I ran the desktop against a
1-line index.cfm file I had placed in a
folder on my own desktop, and it launched
without the errors. It then launched against
my other real apps too.
The "ClassNotFoundException" is somewhat
telling. Because nothing has changed in my
Win7 volume, one might assume that (despite
my attempts to assuage them) there's
something applying a process or permissions
hold on my little OpenBD desktop classpath
files. Whatever it was, it seemed to survive
multiple reboots - as I noted below.
And now the problem is gone, for the time
being. It sure would be nice to know what
could immobilize my development process for
days like that. Does anyone know of some
better analysis tools besides explorer &
task manager?
Al
On 12/21/2013 11:44 PM, Al Holden
wrote:
This thread is old. Back
then, my own OpenBD desktop was working
fine, and Marcus' version was failing as
described below.
But now - almost a year later, I
sit down to my OpenBD 3.0 desktop
and the SAME THING happens to me. I
was just using this yesterday! First
it opened up with none of the path
or launch options from last night,
and when I pressed Start it threw
the same errors that Marcus saw last
March. Same version 3.0 [3rd March
2013]
I've tried restarting my PC,
downloading and unzipping a whole
new desktop, opening permissions,
verifying Java, checking and
un-checking all the option boxes,
and launching with different
projects. But unlike my friends of
last spring, I'm stuck and unable to
continue development no matter how
many times I tweak and restart this
thing.
Any advice from the publishers -
or hints at any actions beyond those
listed above - would be helpful.
Al
On Sunday, March 31, 2013 4:56:16 PM
UTC-7, Marcus F wrote:
I
just ran into some odd problems
with 3.0 Desktop.
I made a folder to start a new
project, started 3.0, picked the
folder and hit Start, it said the
folder is not valid (As expected),
I tell it to make it valid, and
run into a whole lot of errors in
the console.
I restarted it, but the same thing
happened. I downloaded it again
from the website, but the same
problem happens again.
It works fine with apps I've made
before, most of them with OpenBD
2.x
I started 2.0.2 and it worked just
fine.
Here are the errors, maybe someone
has run into this before:
(After the last line the whole
thing locks up)
Starting Standard Jetty Server
Port: 80; Exts: *.cfm *.cfml ;
Folder:
Ready to execute
2013-03-31
18:51:57.660:INFO:oejs.Server:jetty-7.6.1.v20120215
2013-03-31 18:51:57.756:INFO:oejw.StandardDescriptorProcessor:NO
JSP Support for /, did not find
org.apache.jasper.servlet.JspServlet
2013-03-31 18:51:57.775:WARN:oejw.StandardDescriptorProcessor:Could
not instantiate listener
com.naryx.tagfusion.cfm.application.cfHttpSessionListener
java.lang.ClassNotFoundException:
com.naryx.tagfusion.cfm.application.cfHttpSessionListener
at
java.net.URLClassLoader$1.run(Unknown
Source)
at
java.net.URLClassLoader$1.run(Unknown
Source)
at java.security.AccessController.doPrivileged(Native
Method)
at java.net.URLClassLoader.findClass(Unknown
Source)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:415)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:377)
at org.eclipse.jetty.server.handler.ContextHandler.loadClass(ContextHandler.java:1437)
at org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitListener(StandardDescriptorProcessor.java:1367)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown
Source)
at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:80)
at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:67)
at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:321)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1212)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:455)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
at org.eclipse.jetty.server.Server.doStart(Server.java:261)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at
com.bluedragon.desktop.jetty.OpenBDServer.startJettyServer(Unknown
Source)
at com.bluedragon.desktop.Desktop$2.run(Unknown
Source)
at
java.lang.Thread.run(Unknown
Source)
2013-03-31
18:51:57.784:INFO:oejsh.ContextHandler:started
o.e.j.w.WebAppContext{/,file:/C:/OpenBD30/}
2013-03-31
18:51:57.786:WARN:oejs.Holder:
java.lang.ClassNotFoundException:
com.newatlanta.filters.SearchEngineFriendlyURLFilter
at
java.net.URLClassLoader$1.run(Unknown
Source)
at
java.net.URLClassLoader$1.run(Unknown
Source)
at java.security.AccessController.doPrivileged(Native
Method)
at java.net.URLClassLoader.findClass(Unknown
Source)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:415)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:377)
at
org.eclipse.jetty.util.Loader.loadClass(Loader.java:92)
at
org.eclipse.jetty.util.Loader.loadClass(Loader.java:71)
at org.eclipse.jetty.servlet.Holder.doStart(Holder.java:84)
at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:74)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:747)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1214)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:455)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
at org.eclipse.jetty.server.Server.doStart(Server.java:261)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at
com.bluedragon.desktop.jetty.OpenBDServer.startJettyServer(Unknown
Source)
at com.bluedragon.desktop.Desktop$2.run(Unknown
Source)
at
java.lang.Thread.run(Unknown
Source)
2013-03-31
18:51:57.788:WARN:oejuc.AbstractLifeCycle:FAILED
SearchEngineFriendlyURLFilter:
javax.servlet.UnavailableException:
com.newatlanta.filters.SearchEngineFriendlyURLFilter
javax.servlet.UnavailableException:
com.newatlanta.filters.SearchEngineFriendlyURLFilter
at org.eclipse.jetty.servlet.Holder.doStart(Holder.java:91)
at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:74)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:747)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1214)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:455)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
at org.eclipse.jetty.server.Server.doStart(Server.java:261)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at
com.bluedragon.desktop.jetty.OpenBDServer.startJettyServer(Unknown
Source)
at com.bluedragon.desktop.Desktop$2.run(Unknown
Source)
at
java.lang.Thread.run(Unknown
Source)
2013-03-31 18:51:57.790:WARN:oejw.WebAppContext:Failed
startup of context
o.e.j.w.WebAppContext{/,file:/C:/OpenBD30/}
javax.servlet.UnavailableException:
com.newatlanta.filters.SearchEngineFriendlyURLFilter
at org.eclipse.jetty.servlet.Holder.doStart(Holder.java:91)
at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:74)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:747)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1214)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:455)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
at org.eclipse.jetty.server.Server.doStart(Server.java:261)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at
com.bluedragon.desktop.jetty.OpenBDServer.startJettyServer(Unknown
Source)
at com.bluedragon.desktop.Desktop$2.run(Unknown
Source)
at
java.lang.Thread.run(Unknown
Source)
2013-03-31 18:51:57.807:INFO:oejs.AbstractConnector:Started
[email protected].0:80
java.lang.ClassNotFoundException:
com.naryx.tagfusion.cfm.engine.cfEngine
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are
subscribed to the Google Groups "Open
BlueDragon" group.
To unsubscribe from this group and stop
receiving emails from it, send an email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to
the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails
from it, send an email to openbd+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google
Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
|