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 [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.

Reply via email to