[Resin-interest] Can't find symbol error when deploying a webapp on Resin 4 using JMS

2014-04-15 Thread Sadhana Jain
Hi,

I am running into the following error when deploying a webapp on resin 4
that uses JMS. It has been working well
on resin 3.1 and we are trying to move it to Resin 4.

The error is:
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.
[14-04-15 09:38:47.841] {resin-40} Compiling
com/veeva/multichannel/webhook/mailgun/MailGunWebHookAgent__MessageProxy.java
[14-04-15 09:38:48.728] {resin-40}
WebApp[production/webapp/default/multichannel] fail
[14-04-15 09:38:48.729] {main}
/opt/resin-4.0.39/webapps/multichannel/WEB-INF/work/ejb/com/veeva/multichannel/webhook/mailgun/MailGunWebHookAgent__MessageProxy.java:95:
error: cannot find symbol
   } catch
(com.veeva.multichannel.core.job.agent.JobAgentA$JobAgentProcessingException
e) {
 ^
 symbol:   class
JobAgentA$JobAgentProcessingException
 location: package
com.veeva.multichannel.core.job.agent
   1 error

It seems resin is trying to compile the *_MessageProxy.java classes which
refers to JobAgentProcessingException and it is present in WEB-INF/classes
but I don't know why it's not able to find that class in the
WEB-INF/classes. It's seems when compiling those MessageProxy classes, the
compiler's classpath is not set correctly? I am sure it's some
configuration issue that I am not able to figure out. Any help on how to
set the configuration resin.xml or resin-web.xml to overcome this error
will be much appreciated as I have spent almost three days on this issue
trying various things but to no avail.

Thanks a lot,
Sadhana
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Can't find symbol error when deploying a webapp on Resin 4 using JMS

2014-04-15 Thread Alex Rojkov
Sorry, that’s a code-gen bug.

It should have generated ‘.’ for ‘$’ in class name.

http://bugs.caucho.com/view.php?id=5715

To work around the issue please make your exception a normal public class.

Alex

 [14-04-15 09:38:48.729] {main} 
 /opt/resin-4.0.39/webapps/multichannel/WEB-INF/work/ejb/com/veeva/multichannel/webhook/mailgun/MailGunWebHookAgent__MessageProxy.java:95:
  error: cannot find symbol
} catch 
 (com.veeva.multichannel.core.job.agent.JobAgentA$JobAgentProcessingException 
 e) {
  ^
  symbol:   class JobAgentA$JobAgentProcessingException
  location: package 
 com.veeva.multichannel.core.job.agent
1 error


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest