no jacob-1.16.1-x86 in java.library.path

859 views
Skip to first unread message

George

unread,
Nov 29, 2012, 12:43:33 AM11/29/12
to ra...@googlegroups.com
I am testing an upgrade to Railo 4.0.2.002. Generally stuff is working a bit slower but OK. Our maps are not displaying though. When I try to access them I get this error:

Railo 4.0.2.002 Error (java.lang.NoClassDefFoundError)
Message Could not initialize class com.jacob.com.Dispatch
Cause java.lang.NoClassDefFoundError
Stacktrace The Error Occurred in
C:\Inetpub\wwwroot-live\bmcc\bmccmap\templates\app_map.cfm: line 55
53: name="oCourier"
54: class="MapInfo.MapXcourier"
55: action="CREATE">
56: <CFSET Session.Courier = oCourier>
57:

called fromC:\Inetpub\wwwroot-live\bmcc\bmccmap\maps.cfm: line 44


I can also see these errors in the logs:

"ERROR","web-0","11/29/2012","09:48:10","","no jacob-1.16.1-x86 in java.library.path"
"ERROR","web-0","11/29/2012","09:48:59","","Could not initialize class com.jacob.com.Dispatch"
"ERROR","web-0","11/29/2012","15:18:54","","no jacob-1.16.1-x86 in java.library.path"
"ERROR","web-0","11/29/2012","15:19:43","","Could not initialize class com.jacob.com.Dispatch"
"ERROR","web-0","11/29/2012","15:19:44","","Could not initialize class com.jacob.com.Dispatch"
"ERROR","web-0","11/29/2012","15:19:45","","Could not initialize class com.jacob.com.Dispatch"
"ERROR","web-0","11/29/2012","15:20:01","","Could not initialize class com.jacob.com.Dispatch"
"ERROR","web-0","11/29/2012","15:20:28","","Could not initialize class com.jacob.com.Dispatch"
"ERROR","web-0","11/29/2012","16:19:34","","Could not initialize class com.jacob.com.Dispatch"
"ERROR","web-0","11/29/2012","16:19:55","","Could not initialize class com.jacob.com.Dispatch"
"ERROR","web-0","11/29/2012","16:41:59","","Could not initialize class com.jacob.com.Dispatch"

I clearly have a problem with this Jacob fellow. Anybody knows where he went?

George

unread,
Nov 29, 2012, 12:50:47 AM11/29/12
to ra...@googlegroups.com
OK. I found that there is no link to C:railo\lib which is where jacob.jar resides. I included that there and now I am getting a new error that says:

ERROR","web-0","11/29/2012","16:48:38","","no jacob-1.16.1-x86 in java.library.path"

Michael Offner

unread,
Nov 29, 2012, 3:25:28 AM11/29/12
to ra...@googlegroups.com
"Generally stuff is working a bit slower but OK
What is slower, you can point to something? Overall performance should be increased, not decreased.

Micha


2012/11/29 George <gos...@bmcc.nsw.gov.au>



--
/micha

Michael Offner CTO Railo Technologies GmbH

George

unread,
Nov 29, 2012, 5:53:19 PM11/29/12
to ra...@googlegroups.com
Speed has increased since I deleted and then restored all caches I had. I found a possxible bug while doing this though. It is not possible to allocate any cache to Resource and function (but that is not the purpose of this post).

I also stated previously that after I included the required path to the java env (in railo-tomcat service control) I was getting a different message. That is not the case. I entered a wrong path and that is why I was getting a different message. The mapping still does not work and Jacob still has not been initialized.




On Thursday, November 29, 2012 4:43:33 PM UTC+11, George wrote:

George

unread,
Dec 2, 2012, 10:12:35 PM12/2/12
to ra...@googlegroups.com
Still struggling with this one. I can tell you though that it takes much longer to initialize applications the with the previous version. That means the first start up is much slower.


On Thursday, November 29, 2012 4:43:33 PM UTC+11, George wrote:

Igal

unread,
Dec 3, 2012, 1:07:12 AM12/3/12
to ra...@googlegroups.com
What's your setup like? Are you using Tomcat?


On Sunday, December 2, 2012 7:12:35 PM UTC-8, George wrote:
> Still struggling with this one. I can tell you though that it takes much longer to initialize applications the with the previous version. That means the first start up is much slower.
>
> On Thursday, November 29, 2012 4:43:33 PM UTC+11, George wrote:I am testing an upgrade to Railo 4.0.2.002. Generally stuff is working a bit slower but OK. Our maps are not displaying though. When I try to access them I get this error:
>
> Railo 4.0.2.002 Error (java.lang.NoClassDefFoundError)
>
>
> Message
> Could not initialize class com.jacob.com.Dispatch
>
>
> Cause
> java.lang.NoClassDefFoundError
>
>
> Stacktrace
>
> The Error Occurred in
>
>

> C:\Inetpub\wwwroot-live\bmcc\bmccmap\templates\app_map.cfm: line 55
>
>
> 53: name="oCourier"
>
> 54: class="MapInfo.MapXcourier"
>
> 55: action="CREATE">
>
> 56: <CFSET Session.Courier = oCourier>
>
> 57:
>
>
>
>
>

George

unread,
Dec 3, 2012, 5:07:09 PM12/3/12
to ra...@googlegroups.com
I used a windows executable that I downloaded from getrailo.org.It includes TOMCAT server. Normally I only upload a patch but I though that for a major upgrade it would be better to run the full package.


The server is Window$ 2003 + Railo + Tomcat + MSSQL 2005 server.



On Thursday, November 29, 2012 4:43:33 PM UTC+11, George wrote:

Igal

unread,
Dec 3, 2012, 7:13:11 PM12/3/12
to ra...@googlegroups.com
ok, so one known issue with Tomcat that might be the cause of your slow startup, is that Tomcat scans the whole /WEB-INF directory tree at startup.

that means that if you have a lot of files there it might cause the slow startup.

one potential issue with Railo is the .scpt files in the /WEB-INF/railo/client folder, which can have maaaany files if you have clientManagement on with default settings.

check that folder first, and other potentially overly-filled folders in /WEB-INF

HTH,


Igal

George

unread,
Dec 3, 2012, 7:20:12 PM12/3/12
to ra...@googlegroups.com
I do not have client folder there at all. Anyway. That was not the main purpose of this post. I had a problem with the jacob library. I downloaded an official jacob dll file and replaced "jacob.dll" in "C:\railo\lib\railo-server\context\bin\" by a downloaded file: "jacob-1.16.1-x86.dll"

My com objects now seem to work fine. This is a bug in Railo and it should be looked at.


On Thursday, November 29, 2012 4:43:33 PM UTC+11, George wrote:

Aaron Davis

unread,
Dec 4, 2012, 5:36:42 PM12/4/12
to ra...@googlegroups.com
I am having the same issue on Windows 2003 Web Edition.

Diagnostics: no jacob-1.16.1-x86 in java.library.path

I will try this fix.

Aaron

Igal @ getRailo.org

unread,
Dec 4, 2012, 5:45:09 PM12/4/12
to ra...@googlegroups.com
the Windows dll doesn't ship with Railo.

you can get it at http://danadler.com/jacob/ and put it somewhere on your Windows path


Igal

Igal @ getRailo.org

unread,
Dec 4, 2012, 6:17:12 PM12/4/12
to ra...@googlegroups.com
apparently the dll does ship with Railo but it seems like something is preventing it from working properly.

can you open a ticket in the JIRA for this please?
https://issues.jboss.org/browse/RAILO


Igal

Igal Sapir

unread,
Dec 4, 2012, 8:40:26 PM12/4/12
to ra...@googlegroups.com

This should be fixed in the next update.
https://issues.jboss.org/browse/RAILO-2191

Igal

--
typos, misspels, and other weird words brought to you courtesy of my mobile device.

Aaron Davis

unread,
Dec 4, 2012, 9:13:26 PM12/4/12
to ra...@googlegroups.com, ra...@googlegroups.com
Any chance that update is tonight? :-)

I either need to refactor some code or roll back to 3.3

Doh!

Aaron

Igal @ getRailo.org

unread,
Dec 4, 2012, 9:26:42 PM12/4/12
to ra...@googlegroups.com
all that the update is doing is save the dll to the right folder.

you can do that manually right now.  extract the correct dll for your OS bit-size from the attached zip and save it to
{railo-server}\context\bin

you can find the location of the railo-server from the main page in the server administrator.

then restart Railo and test.

HTH,


Igal
jacob-dll.zip

Aaron Davis

unread,
Dec 4, 2012, 9:31:07 PM12/4/12
to ra...@googlegroups.com, ra...@googlegroups.com
Above and beyond man! Ill get that done when I get the kids to bed and can focus.

Thanks!

Aaron
<jacob-dll.zip>

Igal @ getRailo.org

unread,
Dec 4, 2012, 9:33:19 PM12/4/12
to ra...@googlegroups.com
you're welcome :)

please let us know if it worked,


Igal

Aaron Davis

unread,
Dec 5, 2012, 3:19:12 PM12/5/12
to ra...@googlegroups.com
I couldnt get this to work. I ended up giving up and refactoring the app at hand. Needed to be done anyway, but just wasnt planning to stay up all night doing it.

Thanks again for your efforts.

Aaron

Igal

unread,
Dec 5, 2012, 3:27:07 PM12/5/12
to ra...@googlegroups.com
ok, sorry it didn't work for you.

I don't have a test case so I wasn't able to ensure that the suggested fix works.

the only other thing I can think of is that the dll should be renamed to jacob.dll but I'm not sure if that would make a difference.


Igal

Aaron Davis

unread,
Dec 5, 2012, 3:34:27 PM12/5/12
to ra...@googlegroups.com
No worries. I think that there are likely other factors in play. it was the first railo/windows setup we did a while back and I imagine there could be something wrong at that level.

Aaron

George

unread,
Dec 5, 2012, 5:32:23 PM12/5/12
to ra...@googlegroups.com
I did not rename the file at all. I left the original name (jacob-1.16.1-x86.dll) and everything works fine.

George


On Thursday, November 29, 2012 4:43:33 PM UTC+11, George wrote:
Reply all
Reply to author
Forward
0 new messages