Migration Railo to Lucee 4.5. on Windows Server 2008R2 and IIS 7.5 fails with Apache Tomcat error

244 views
Skip to first unread message

thorste...@googlemail.com

unread,
Sep 8, 2015, 2:50:34 AM9/8/15
to Lucee
Hi,

I followed the migration steps on
https://bitbucket.org/lucee/lucee/wiki/Migrate_from_Railo

Tomcat is starting after the migration, but if I try to go via the browser to one of my sites this error is shown:

HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.NullPointerException
	lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:437)
	lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:47)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.22 logs.


Apache Tomcat/7.0.22


I did not copy the BonCode connector, because I did not find the file BonCodeAJP13.dll on my system.

So I guess I haven't had installed the connector a few years ago? Can't rembeber anymore.


How can I get Lucee to run my sites?

Any help is appreciated

Thorsten


thorste...@googlemail.com

unread,
Sep 8, 2015, 2:53:32 AM9/8/15
to Lucee
In the websites requesttimeout.log is this entry

"ERROR","Thread-3","09/08/2015","06:50:59","controler","stop thread (2) because run into a timeout (fail to retrieve path:java.lang.NullPointerException:null).;java.lang.Throwable;java.lang.Throwable
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(Unknown Source)
    at java.net.SocketInputStream.read(Unknown Source)
    at org.apache.coyote.ajp.AjpProcessor.read(AjpProcessor.java:309)
    at org.apache.coyote.ajp.AjpProcessor.readMessage(AjpProcessor.java:364)
    at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:128)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

thorste...@googlemail.com

unread,
Sep 8, 2015, 2:55:53 AM9/8/15
to Lucee
railo/tomcat/logs/catalina.log has this exception

Sep 08, 2015 6:53:14 AM org.apache.catalina.core.StandardWrapperValve invoke
Schwerwiegend: Servlet.service() for servlet [GlobalCFMLServlet] in context with path [] threw exception
java.lang.NullPointerException
    at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:437)
    at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:47)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
    at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)

thorste...@googlemail.com

unread,
Sep 8, 2015, 4:05:03 AM9/8/15
to Lucee
I renamed the class from railo to lucce like written here:

"Check out our Lucee-server.xml, can you find the class I there (videoexecuter), if so rename railo. To lucee. "

No success either.

thorste...@googlemail.com

unread,
Sep 8, 2015, 4:05:46 AM9/8/15
to Lucee
Maybe this whole catalina.log is helpful. These are the log entries during the migration I guess.

Sep 08, 2015 6:15:27 AM org.apache.coyote.AbstractProtocol pause
Information: Pausing ProtocolHandler ["http-bio-8888"]
Sep 08, 2015 6:15:28 AM org.apache.coyote.AbstractProtocol pause
Information: Pausing ProtocolHandler ["ajp-bio-8009"]
Sep 08, 2015 6:15:29 AM org.apache.catalina.core.StandardService stopInternal
Information: Stopping service Catalina
Sep 08, 2015 6:15:30 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
Schwerwiegend: The web application [] appears to have started a thread named [Thread-4] but has failed to stop it. This is very likely to create a memory leak.
Sep 08, 2015 6:15:30 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
Schwerwiegend: The web application [] appears to have started a thread named [Thread-50] but has failed to stop it. This is very likely to create a memory leak.
Sep 08, 2015 6:15:31 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
Schwerwiegend: The web application [] appears to have started a thread named [Thread-43] but has failed to stop it. This is very likely to create a memory leak.
Sep 08, 2015 6:15:31 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
Schwerwiegend: The web application [] appears to have started a thread named [AWT-Windows] but has failed to stop it. This is very likely to create a memory leak.
Sep 08, 2015 6:15:31 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
Schwerwiegend: The web application [] appears to have started a thread named [Thread-45] but has failed to stop it. This is very likely to create a memory leak.
Sep 08, 2015 6:15:31 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
Schwerwiegend: The web application [] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.
Sep 08, 2015 6:15:31 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
Schwerwiegend: The web application [] appears to have started a thread named [Thread-47] but has failed to stop it. This is very likely to create a memory leak.
Sep 08, 2015 6:15:31 AM org.apache.coyote.AbstractProtocol stop
Information: Stopping ProtocolHandler ["http-bio-8888"]
Sep 08, 2015 6:15:31 AM org.apache.coyote.AbstractProtocol stop
Information: Stopping ProtocolHandler ["ajp-bio-8009"]
Sep 08, 2015 6:19:40 AM org.apache.catalina.core.AprLifecycleListener init
Information: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\railo\tomcat\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\nodejs\;;.
Sep 08, 2015 6:19:43 AM org.apache.coyote.AbstractProtocol init
Information: Initializing ProtocolHandler ["http-bio-8888"]
Sep 08, 2015 6:19:43 AM org.apache.coyote.AbstractProtocol init
Information: Initializing ProtocolHandler ["ajp-bio-8009"]
Sep 08, 2015 6:19:43 AM org.apache.catalina.startup.Catalina load
Information: Initialization processed in 5363 ms
Sep 08, 2015 6:19:43 AM org.apache.catalina.core.StandardService startInternal
Information: Starting service Catalina
Sep 08, 2015 6:19:43 AM org.apache.catalina.core.StandardEngine startInternal
Information: Starting Servlet Engine: Apache Tomcat/7.0.22
Sep 08, 2015 6:19:52 AM org.apache.catalina.util.SessionIdGenerator createSecureRandom
Information: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [172] milliseconds.
Sep 08, 2015 6:20:29 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory host-manager
Sep 08, 2015 6:20:30 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-docs
Sep 08, 2015 6:20:31 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-manager
Sep 08, 2015 6:20:49 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory host-manager
Sep 08, 2015 6:20:50 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-docs
Sep 08, 2015 6:20:50 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-manager
Sep 08, 2015 6:20:54 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory host-manager
Sep 08, 2015 6:20:54 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-docs
Sep 08, 2015 6:20:54 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-manager
Sep 08, 2015 6:20:58 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory host-manager
Sep 08, 2015 6:20:59 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-docs
Sep 08, 2015 6:20:59 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-manager
Sep 08, 2015 6:21:02 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory host-manager
Sep 08, 2015 6:21:02 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-docs
Sep 08, 2015 6:21:02 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-manager
Sep 08, 2015 6:21:06 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory host-manager
Sep 08, 2015 6:21:07 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-docs
Sep 08, 2015 6:21:07 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-manager
Sep 08, 2015 6:21:10 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory host-manager
Sep 08, 2015 6:21:10 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-docs
Sep 08, 2015 6:21:11 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-manager
Sep 08, 2015 6:21:17 AM org.apache.catalina.session.StandardManager doLoad
Schwerwiegend: ClassNotFoundException while loading persisted sessions: java.lang.ClassNotFoundException: railo.runtime.type.scope.JSession
java.lang.ClassNotFoundException: railo.runtime.type.scope.JSession
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.apache.catalina.util.CustomObjectInputStream.resolveClass(CustomObjectInputStream.java:76)
    at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1613)
    at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:1073)
    at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:284)
    at org.apache.catalina.session.StandardManager.load(StandardManager.java:204)
    at org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:470)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5241)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
    at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
    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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)

Sep 08, 2015 6:21:17 AM org.apache.catalina.session.StandardManager startInternal
Schwerwiegend: Exception loading sessions from persistent storage
java.lang.ClassNotFoundException: railo.runtime.type.scope.JSession
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.apache.catalina.util.CustomObjectInputStream.resolveClass(CustomObjectInputStream.java:76)
    at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1613)
    at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:1073)
    at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:284)
    at org.apache.catalina.session.StandardManager.load(StandardManager.java:204)
    at org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:470)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5241)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
    at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
    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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)

Sep 08, 2015 6:21:18 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory host-manager
Sep 08, 2015 6:21:18 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-docs
Sep 08, 2015 6:21:18 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-manager
Sep 08, 2015 6:21:18 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory host-manager
Sep 08, 2015 6:21:19 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory ROOT
Sep 08, 2015 6:21:19 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-docs
Sep 08, 2015 6:21:20 AM org.apache.catalina.startup.HostConfig deployDirectory
Information: Deploying web application directory tomcat-manager
Sep 08, 2015 6:21:20 AM org.apache.coyote.AbstractProtocol start
Information: Starting ProtocolHandler ["http-bio-8888"]
Sep 08, 2015 6:21:20 AM org.apache.coyote.AbstractProtocol start
Information: Starting ProtocolHandler ["ajp-bio-8009"]
Sep 08, 2015 6:21:20 AM org.apache.catalina.startup.Catalina start
Information: Server startup in 96558 ms
Sep 08, 2015 6:21:21 AM org.apache.catalina.core.StandardWrapperValve invoke

thorste...@googlemail.com

unread,
Sep 8, 2015, 6:10:42 AM9/8/15
to Lucee
I installed railo a few years ago with the installer on windows and iis, so I guess the BonCode connector should be uses.
In c://railo/AJP13 are files of the connector.
But I can't find
  • BonCodeAJP13.dll
  • BonCodeIIS.dll

anywhere on disc.

Strange.


Should I uninstall and install the new connector like mentioned in this

http://tomcatiis.riaforge.org/blog/index.cfm/2015/6/16/Upgrading-Railo-or-Lucee-Connector-Version



The BonCode connector is bundled with the Railo and Lucee CFML engine. If you need to upgrade the connector you can follow the instructions here so-long as you used the Railo/Lucee installer for the initial install.

First make a backup of the connector settings and install files. They are located in c:\windows\BonCodeAJP13.settings and [Railo/Lucee install]\AJP13 .

The actual upgrade involves removing the existing connector and then installing the new version.

a) Uninstall the existing connector: Run the Uninstallion program accessible in your control panel (Program and Features). Keep IIS features when prompted.

b) Download new version package (zip file) from distribution point (http://tomcatiis.riaforge.org)

c) Unblock (http://boncode.net/connector/webdocs/Tomcat_Connector.htm#_Toc422069495) the downloaded .zip and, then, extract files.

d) Copy the extracted files OVER the existing files in your Railo/Lucee install (e.g. [install]\AJP13 where [install] is the directory you have installed Railo\Lucee.

e) Run the connector_setup.exe program and acknowledge the warning that your inputs will be ignored.

f) Stop/Start IIS.


I am afraid to mess my system up.


thorste...@googlemail.com

unread,
Sep 8, 2015, 6:13:37 AM9/8/15
to Lucee
No luck.

No BonCode connector under "Programms and Functions".

What to do?

thorste...@googlemail.com

unread,
Sep 8, 2015, 6:26:56 AM9/8/15
to Lucee
Like mentioned in this post, the lucee wiki is wrong. The files
  • BonCodeAJP13.dll
  • BonCodeIIS.dll
are not in every case in the web roots.

https://groups.google.com/forum/#!searchin/lucee/BonCode/lucee/ZLj7m7g0ABw/G6OPLxlJCEwJ

Does anybody has a hint how to solve the issue?

thorste...@googlemail.com

unread,
Sep 8, 2015, 6:30:09 AM9/8/15
to Lucee

Upgrading Railo or Lucee Connector Version

Posted At : June 16, 2015 11:19 AM | Posted By : Bilal
Related Categories: how to,Lucee

The BonCode connector is bundled with the Railo and Lucee CFML engine. If you need to upgrade the connector you can follow the instructions here so-long as you used the Railo/Lucee installer for the initial install.

First make a backup of the connector settings and install files. They are located in c:\windows\BonCodeAJP13.settings and [Railo/Lucee install]\AJP13 .



1. There is no file c:\windows\BonCodeAJP13.settings on my machine.

2. [Railo/Lucee install]\AJP13 is there

thorste...@googlemail.com

unread,
Sep 8, 2015, 6:35:15 AM9/8/15
to Lucee
in c://railo/install.log I do find this entry.


installiere IIS7 Verbindung
Executing C:\railo\connector\iis7connect.bat
Script exit code: 0

Script output:
 Die Konfigurations„nderungen am Abschnitt "system.webServer/security/isapiCgiRestriction" f r "MACHINE/WEBROOT/APPHOST" im Commit-Pfad "MACHINE/WEBROOT/APPHOST" der Konfiguration wurden bernommen.
Die Konfigurations„nderungen am Abschnitt "system.webServer/isapiFilters" f r "MACHINE/WEBROOT/APPHOST" im Commit-Pfad "MACHINE/WEBROOT/APPHOST" der Konfiguration wurden bernommen.
Das VDIR-Objekt "Default Web Site/jakarta" wurde hinzugef gt.
Die Konfigurations„nderungen am Abschnitt "system.webServer/handlers" f r "MACHINE/WEBROOT/APPHOST" im Commit-Pfad "MACHINE/WEBROOT/APPHOST" der Konfiguration wurden bernommen.
Die Konfigurations„nderungen am Abschnitt "system.webServer/handlers" f r "MACHINE/WEBROOT/APPHOST" im Commit-Pfad "MACHINE/WEBROOT/APPHOST" der Konfiguration wurden bernommen.
Die Konfigurations„nderungen am Abschnitt "system.webServer/defaultDocument" f r "MACHINE/WEBROOT/APPHOST" im Commit-Pfad "MACHINE/WEBROOT/APPHOST" der Konfiguration wurden bernommen.

thorste...@googlemail.com

unread,
Sep 8, 2015, 9:00:49 AM9/8/15
to Lucee
No one any idea? What a pity.

Bilal

unread,
Sep 8, 2015, 11:51:15 AM9/8/15
to Lucee

Thorsten,
from the perspective of the connector a HTTP 500 error, especially one that displays java.null. exception is fantastic. It means the connector is working and displaying the output tomcat is providing.

Thus, all the other steps were probably not needed. I would roll them back, uninstall etc. and start from a clean slate.

To verify this: Does the system start when you access it directly via its web port (http://localhost:8888)? What does it display? If there is an error, I would backup the current state, then download the war distribution, rename the .war to .zip and extract all the web-inf content and replace it.

I would also not exclude a complete uninstall of whatever you have on the machine. Railo, IIS, Lucee (backup and remove all files) and a clean install IIS, Lucee. 

HTH,
Bilal






thorste...@googlemail.com

unread,
Sep 8, 2015, 1:04:49 PM9/8/15
to Lucee
Thanks Bilal, I will try your suggestions tomorrow! Very appreciated. Thorsten

thorste...@googlemail.com

unread,
Sep 8, 2015, 2:50:23 PM9/8/15
to Lucee
Hi,
http://localhost:8888
gives the same 500 error.

thorste...@googlemail.com

unread,
Sep 9, 2015, 2:21:01 AM9/9/15
to Lucee
Morning,

I stopped tomcat.
I backuped the railo/lib folder,
downloaded the war-file,
renamed the file extension it to zip.
Copied the lib folder to railo.
Copied web.xml to railo folder
Started Tomcat.
ColdFusion is serverd. Yeah.
But a cfwheels error is displayed.

Wheels.DataSourceNotFound

The data source could not be reached.

Suggested action

Make sure your database is reachable and that your data source settings are correct. You either need to setup a data source with the name philiaCMS_dev_jtds in the Administrator or tell CFWheels to use a different data source in config/settings.cfm.


I tried to go to the lucee admin at

http://localhost:8888/lucee-context/admin/web.cfm


Error is shown:

Lucee 4.5.1.023 Error (missinginclude)
Message Page /lucee-context/admin/web.cfm [C:\railo\tomcat\webapps\ROOT\lucee-context\admin\web.cfm] not found
Java Stacktrace Page /lucee-context/admin/web.cfm [C:\railo\tomcat\webapps\ROOT\lucee-context\admin\web.cfm] not found
  at lucee.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:915):915
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:946):946
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:902):902
  at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:223):223
  at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:35):35
  at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2257):2257
  at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2224):2224
  at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:456):456
  at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:47):47
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:722):722
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304):304
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224):224
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169):169
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168):168
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100):100
  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929):929
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118):118
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405):405
  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964):964
  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515):515
  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:304):304
  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source):-1
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source):-1
  at java.lang.Thread.run(Unknown Source):-1
 


There is no folder lucee-context in

C:\railo\tomcat\webapps\ROOT


Any ideas?


thorste...@googlemail.com

unread,
Sep 9, 2015, 2:26:29 AM9/9/15
to Lucee

thorste...@googlemail.com

unread,
Sep 9, 2015, 2:33:17 AM9/9/15
to Lucee
I can login into the Lucee server and web admin. Fine.
The web contexts are there.

But all the datasource mappings are gone.
Is there a way to get them back. Is there a config file which holds this info?

thorste...@googlemail.com

unread,
Sep 9, 2015, 2:36:04 AM9/9/15
to Lucee
Found a thread about missing datasources.
https://groups.google.com/forum/#!topic/lucee/RTKBWWI-X-E

Seems the bug is still there, at least in some circumstances.

thorste...@googlemail.com

unread,
Sep 9, 2015, 2:47:54 AM9/9/15
to Lucee
I found the old railo-web.xml.cfm files and copied the section about datasources over to lucee-web.xml.
Fine datasources are there and app starts up. ;-) Fine.

Next error.

On the website the umlauts are not displayed on every place correctly. All in the app should be UTF-8 encoded.
What coud be the cause to display now after the migration on some pages umlauts correctly and on others not?

thorste...@googlemail.com

unread,
Sep 9, 2015, 2:52:20 AM9/9/15
to Lucee

I set every charset setting in the lucce web admin to UTF-8.
I guess Lucee did not transmitt every setting from railo to it.
Restarted tomcat.
Umlauts are fine. ;-)
Reply all
Reply to author
Forward
0 new messages