Re: Upgrading Tomcat from 7.0.34 to 8.0.53

2020-11-19 Thread Chuan Ong
Hi Steven

I think what you are looking for is called Apache TomEE which is a version
of tomcat that supports EJBs. You can find it here: https://tomee.apache.org.
Judging from what you are stating checkout version 7.1.4 plus.

Thanks.

On Thu, Nov 19, 2020 at 1:02 PM Mark Thomas  wrote:

> On 19/11/2020 18:48, Nelligan, Steven M wrote:
> >
> > I am in the process of upgrading our systems from Tomcat 7.0.34 to
> Tomcat 8.0.53 and Java 7 to Java 8
>
> Tomcat 8.0.x is no longer supported. You need to upgrade to at least
> 8.5.x and preferably 9.0.x.
>
> > I'm not sure if this is a java 8 or a Tomcat 8 issue.
> >
> > We have several application which use EJBs.  These are not working.  I
> have no experience in EJB's and having problems trying to figure out what
> is happening.
>
> No Tomcat version has, or will ever, support EJBs.
>
> You must be using some additional library to provide EJB support. It
> looks like that is not configured correctly.
>
> Mark
>
>
> >
> > Because of my lack of knowledge on EJB's the following may be rambling.
> >
> > Via the java debugger, I am able to determine that the EJB is not be
> initialized.
> >
> > Example of a class .
> > ...
> > @EJB
> > CustomerService customerService;
> > @EJB
> > OrderStatusService orderStatusService;
> > @EJB
> > SettingService settingService;
> > @EJB
> > ErrorLogService errorLogService;
> > @EJB
> > EsbBroker esbBroker;
> > ...
> >  orderStatusService.createOrderStatus(orderRequest);
> > ...
> >
> > On the original server orderStatusService has a value, but in the new
> server the value is null.
> >
> > Is there something with Tomcat 8/Java 8 I need to change to get the code
> to work correctly?
> >
> > If this is not a Tomcat8 issue, please let me know and I can try to
> follow other avenues to get help.
> >
> > Thanks in advance,
> > -Steve Nelligan
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: Getting the Manager app running on localhost.. Please help

2018-07-12 Thread Chuan Ong


To use host-manager you need admin-gui as the role.

> On Jul 12, 2018, at 11:08 AM, D├ęsilets, Alain  
> wrote:
> 
> Thx for the reply.
> 
>> have you enabled all user roles with passwords? in 
>> CATALINA_HOME/conf/tomcat-users.xml file? 
>> Also, don't forget to change
>> the passwords noted as "" with something "interesting".
> 
> Yes. As I mentioned in the first email of this thread, I have a file 
> [CATALINA_HOME]/conf/tomcat-users.xml with the following content:
> 
>   
>   
>   
>roles="manager,manager-script,manager-gui"/>
> 
>>   By default, it can only run on localhost, and it's configured to listen to
>>   127.0.0.1 via the valve. If you uncomment the user role part and change the
>>   password, you should be able to log in. i was able to start it by doing
>>   above.
> 
> As I mentioned in the first email, when I tried it first with the above 
> tomcat-users.xml file and no manager.xml file, it didn't work. Server Status 
> worked, Manager opened the page but couldn't deploy a war file, and Host 
> Manager gave me 403. This happened whether I accessed the site as 
> http://localhost:8080 or http://127.0.0.1:8080. 
> 
> So for some reason or other, the default behaviour doesn't seem to work for 
> me.
> 
> Note that I am using OSX. 
> 
> Could this be due to some sort of proxy issue?
> 
> Thx again.
> 
> Alain
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org