You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "Nelligan, Steven M" <sn...@illinois.edu> on 2020/11/19 14:02:02 UTC

Upgrading from ActiveMQ 5.4.2 to 5.16.0

First time trying to upgrade ActiveMQ.

I am in the process of upgrading ActiveMQ to the latest version, along with this I am upgrading    yajsw from 10.4 to 12.15.

We are using ACTIVEMQ, YAJSW, and Mule for our processing.  We are on a Windows 2008r2 server, and running the programs as services.

When I try to startup the new ActiveMQ using the following Path:
"java.exe -classpath G:\yajsw-stable-12.15\wrapper.jar -Xrs -Dwrapper.service=true -Dwrapper.config=G:\yajsw-stable-12.15\conf\wrapper.activemq.conf -Dwrapper.additional.1x=-Xrs -Djna_tmpdir=g:\yajsw-stable-12.15\tmp org.rzo.yajsw.boot.WrapperServiceBooter"
I get the following errors in the ActiveMQ log file:

...
2020-11-18 14:11:40,137 | WARN  | Cannot recover message audit | org.apache.activemq.store.kahadb.MessageDatabase | main
java.io.IOException: Invalid location size: 1:100, size: 0
...
2020-11-18 14:11:40,137 | WARN  | Cannot recover ackMessageFileMap | org.apache.activemq.store.kahadb.MessageDatabase | main
java.io.IOException: Invalid location size: 1:503, size: 0
...
2020-11-18 16:06:18,973 | WARN  | Cannot recover ackMessageFileMap | org.apache.activemq.store.kahadb.MessageDatabase | main
java.io.IOException: Invalid location size: 1:503, size: 0


Did I miss something in the install process?

Thanks in advance,

Steven M Nelligan
APPLICATION DEVELOPER

Facilities and Services
Information Technology Services
University of Illinois at Urbana-Champaign
Facilities and Services
1501 S. Oak Street | M/C 800
Champaign, IL 61820
217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu<ma...@illinois.edu>
www.fs.illinois.edu<http://www.fs.illinois.edu/>

[facebook]<https://www.facebook.com/UniversityOfIllinoisFacilitiesServices>    [twitter] <https://twitter.com/UofIFS>     [instagram] <https://www.instagram.com/uofifs/>     [youtube] <https://www.youtube.com/user/UofIFS>

[https://webtools.illinois.edu/webservices/js/ds/signature_logo.png]<http://illinois.edu/>

Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure.




RE: Upgrading from ActiveMQ 5.4.2 to 5.16.0

Posted by "Nelligan, Steven M" <sn...@illinois.edu>.
ActiveMQ 5.4.2 did not use kahadb.

I did empty the kahadb folder and that seems to have solved the problem.

Thanks for the help,
Steve


-----Original Message-----
From: Jean-Baptiste Onofre <jb...@nanthrax.net> 
Sent: Thursday, November 19, 2020 8:15 AM
To: users@activemq.apache.org
Subject: Re: Upgrading from ActiveMQ 5.4.2 to 5.16.0

Hi,

Did you purge the kahadb folder or reuse the one from 5.4 ?
I would try to backup the existing kahadb folder and start from a fresh one.

Regards
JB

> Le 19 nov. 2020 à 15:02, Nelligan, Steven M <sn...@illinois.edu> a écrit :
> 
>  
> First time trying to upgrade ActiveMQ.
>  
> I am in the process of upgrading ActiveMQ to the latest version, along with this I am upgrading    yajsw from 10.4 to 12.15.
>  
> We are using ACTIVEMQ, YAJSW, and Mule for our processing.  We are on a Windows 2008r2 server, and running the programs as services.
>  
> When I try to startup the new ActiveMQ using the following Path:
> “java.exe -classpath G:\yajsw-stable-12.15\wrapper.jar -Xrs -Dwrapper.service=true -Dwrapper.config=G:\yajsw-stable-12.15\conf\wrapper.activemq.conf -Dwrapper.additional.1x=-Xrs -Djna_tmpdir=g:\yajsw-stable-12.15\tmp org.rzo.yajsw.boot.WrapperServiceBooter”
> I get the following errors in the ActiveMQ log file:
>  
> …
> 2020-11-18 14:11:40,137 | WARN  | Cannot recover message audit | 
> org.apache.activemq.store.kahadb.MessageDatabase | main
> java.io.IOException: Invalid location size: 1:100, size: 0 …
> 2020-11-18 14:11:40,137 | WARN  | Cannot recover ackMessageFileMap | 
> org.apache.activemq.store.kahadb.MessageDatabase | main
> java.io.IOException: Invalid location size: 1:503, size: 0 …
> 2020-11-18 16:06:18,973 | WARN  | Cannot recover ackMessageFileMap | 
> org.apache.activemq.store.kahadb.MessageDatabase | main
> java.io.IOException: Invalid location size: 1:503, size: 0
>  
>  
> Did I miss something in the install process?
>  
> Thanks in advance,
>  
> STEVEN M NELLIGAN
> APPLICATION DEVELOPER
>  
> Facilities and Services
> Information Technology Services
> University of Illinois at Urbana-Champaign Facilities and Services
> 1501 S. Oak Street | M/C 800
> Champaign, IL 61820
> 217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu 
> <ma...@illinois.edu> www.fs.illinois.edu 
> <http://www.fs.illinois.edu/>
>  
>  <https://www.facebook.com/UniversityOfIllinoisFacilitiesServices>     <https://twitter.com/UofIFS>     <https://www.instagram.com/uofifs/>     <https://www.youtube.com/user/UofIFS>     
> 
>  <http://illinois.edu/>
> 
> Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure.


Re: Upgrading from ActiveMQ 5.4.2 to 5.16.0

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
Hi,

Did you purge the kahadb folder or reuse the one from 5.4 ?
I would try to backup the existing kahadb folder and start from a fresh one.

Regards
JB

> Le 19 nov. 2020 à 15:02, Nelligan, Steven M <sn...@illinois.edu> a écrit :
> 
>  
> First time trying to upgrade ActiveMQ.
>  
> I am in the process of upgrading ActiveMQ to the latest version, along with this I am upgrading    yajsw from 10.4 to 12.15.
>  
> We are using ACTIVEMQ, YAJSW, and Mule for our processing.  We are on a Windows 2008r2 server, and running the programs as services.
>  
> When I try to startup the new ActiveMQ using the following Path:
> “java.exe -classpath G:\yajsw-stable-12.15\wrapper.jar -Xrs -Dwrapper.service=true -Dwrapper.config=G:\yajsw-stable-12.15\conf\wrapper.activemq.conf -Dwrapper.additional.1x=-Xrs -Djna_tmpdir=g:\yajsw-stable-12.15\tmp org.rzo.yajsw.boot.WrapperServiceBooter”
> I get the following errors in the ActiveMQ log file:
>  
> …
> 2020-11-18 14:11:40,137 | WARN  | Cannot recover message audit | org.apache.activemq.store.kahadb.MessageDatabase | main
> java.io.IOException: Invalid location size: 1:100, size: 0
> …
> 2020-11-18 14:11:40,137 | WARN  | Cannot recover ackMessageFileMap | org.apache.activemq.store.kahadb.MessageDatabase | main
> java.io.IOException: Invalid location size: 1:503, size: 0
> …
> 2020-11-18 16:06:18,973 | WARN  | Cannot recover ackMessageFileMap | org.apache.activemq.store.kahadb.MessageDatabase | main
> java.io.IOException: Invalid location size: 1:503, size: 0
>  
>  
> Did I miss something in the install process?
>  
> Thanks in advance, 
>  
> STEVEN M NELLIGAN
> APPLICATION DEVELOPER
>  
> Facilities and Services
> Information Technology Services
> University of Illinois at Urbana-Champaign
> Facilities and Services
> 1501 S. Oak Street | M/C 800
> Champaign, IL 61820
> 217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu <ma...@illinois.edu>
> www.fs.illinois.edu <http://www.fs.illinois.edu/>
>  
>  <https://www.facebook.com/UniversityOfIllinoisFacilitiesServices>     <https://twitter.com/UofIFS>     <https://www.instagram.com/uofifs/>     <https://www.youtube.com/user/UofIFS>     
> 
>  <http://illinois.edu/>
> 
> Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure.