Is Induction setup with Glassfish4 and JDK7 possible?

47 views
Skip to first unread message

te...@omedix.com

unread,
Dec 5, 2013, 7:41:11 AM12/5/13
to induction...@googlegroups.com
Hello All,

Is Induction with JDK7 and Glassfish4 configuration possible ?

Regards,
VC

Adinath Raveendra Raj

unread,
Dec 6, 2013, 8:56:25 PM12/6/13
to induction...@googlegroups.com
I have not tested this configuration, but I see no reason why it would not work. Of course that's what engineers say...:)

Adi

te...@omedix.com

unread,
Dec 12, 2013, 2:25:48 AM12/12/13
to induction...@googlegroups.com
Hello Adi,

Thank you for reply. :)

I have tested Induction setup with Glassfish4 and JDK7 and I am getting some errors please find attached screenshot (500-Error-JDK7.rar).

We have tried to trace issue but we stuck at following code and each time Glassfish4 returning me http 500 error.

Class: 
com.acciente.induction.dispatcher.HttpDispatcher
 

public void dispatchRequest( HttpServletRequest oRequest, HttpServletResponse oResponse )
      throws IOException
{
  try
  {
// fire the preResolution interceptor
dispatchInterceptors_preResolution( oRequest, oResponse );

// first try to resolve the request to a controller
if ( ! dispatchControllerRequest( oRequest, oResponse ) )
{
// try to dispatch the request to a view
if ( ! dispatchViewRequest( oRequest, oResponse ) )  // NOT ABLE TO FIND VIEW AT THIS POINT, dispatchViewRequest WILL RETURN FALSE
{
  // even if we did not resolve to a contoller or view since we attempted resolution,
  // we fire the postResolution interceptor
  dispatchInterceptors_postResolution( oRequest, oResponse, null, null );

  throw new StopRequestProcessingSignal( "dispatch-request",
 "Request did not resolve to a controller or view, path > "
+ oRequest.getPathInfo() );
}
}
  }
  catch ( StopRequestProcessingSignal oSignal )
  {
if ( oSignal.isError() )
{
logAndRespond( oResponse, oSignal );
}
  }
}

Please find my comments in blue color. 

P.S.:  
We are not getting this error with JDK6 (64bit/32bit).

Regards,
VC
500-Error-JDK7.rar

Adinath Raveendra Raj

unread,
Dec 12, 2013, 3:17:03 AM12/12/13
to induction...@googlegroups.com
When you say it works with JDK6, do you mean it works when you compile your app with JDK6 and deploy to GlassFish 4? In that case, is it compiling with JDK 7 and deploying to GlassFish 4 that is not working?

I am wondering if you need a version of Induction compiled with JDK 7.

Adi

Adinath Raveendra Raj

unread,
Dec 12, 2013, 3:19:25 AM12/12/13
to induction...@googlegroups.com
Also I was not able to view your screenshot, perhaps you could try directly attaching the PNG?

Adi

te...@omedix.com

unread,
Dec 12, 2013, 11:11:12 PM12/12/13
to induction...@googlegroups.com
Hello Adi,

Please find below my test criteria and test results.

  Glassfish 3 Glassfish 4
JDK 6 Compile and working  JDK6 not supported
JDK 7 Compile and working  Getting HTTP 500 Error

I have re-attached screenshot in PNG format.

Regards,
Chirag
500-Error-JDK7.PNG
Reply all
Reply to author
Forward
0 new messages