User (Legacy) Posted June 23, 2004 Report Share Posted June 23, 2004 Hi, I have created a chart using ChatFX for java development version. I am getting 'Invalid license(2048)' error even after manually activating the license code and restarting the web server. Please help. Thanks in advance, Vaishali Link to comment Share on other sites More sharing options...
Software FX Posted June 23, 2004 Report Share Posted June 23, 2004 Dear Vaishali, This error means you are using a license from a different machine. There are other possibities. Can you please tell me what output you get to standard error? from System.err.println -CJS "vaishali" <vnaik@retailexpert.com> wrote in message news:rMIQQeVWEHA.2276@webserver3.softwarefx.com... > Hi, > I have created a chart using ChatFX for java development version. I am > getting 'Invalid license(2048)' error even after manually activating the > license code and restarting the web server. > > > > Please help. > > > > Thanks in advance, > > Vaishali > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted June 24, 2004 Author Report Share Posted June 24, 2004 Hi CJS, See the following code. It's from displaying.jsp. ************************************************************* <%@page import="SoftwareFX.ChartFX.*"%><html> <head> <title>Legends: Displaying</title> </head> <body> <% try { ChartServer chart1 = new ChartServer(application,request,response); // In this case we are hardcoding the labels // but it would be the same if the labels are retrieved from the database chart1.setSerLeg(0, "ChartFX"); chart1.setSerLeg(1, "ReportFX"); // Show the Series Legend Window chart1.setSerLegBox(true); chart1.getSerLegBoxObj().setToolBorder(ToolBorder.EXTERNAL); ImageBorder myBorder = new ImageBorder(ImageBorderType.EMBOSS); chart1.setBorderObject(myBorder); chart1.getHtmlTag("400","280","JPG"); out.println("Success"); } catch(Exception e) { out.println("Error: " +e); } %> </body> </html> ******************************************************************** I am getting the "Success" message. Thanks for your help, Vaishali "Software FX Support" <support@softwarefx.com> wrote in message news:ckKTISXWEHA.3152@webserver3.softwarefx.com... > Dear Vaishali, > This error means you are using a license from a different machine. > There are other possibities. > Can you please tell me what output you get to standard error? from > System.err.println > -CJS > > "vaishali" <vnaik@retailexpert.com> wrote in message > news:rMIQQeVWEHA.2276@webserver3.softwarefx.com... > > Hi, > > I have created a chart using ChatFX for java development version. I > am > > getting 'Invalid license(2048)' error even after manually activating the > > license code and restarting the web server. > > > > > > > > Please help. > > > > > > > > Thanks in advance, > > > > Vaishali > > > > > > Link to comment Share on other sites More sharing options...
Software FX Posted June 24, 2004 Report Share Posted June 24, 2004 Chart FX for Java will not throw and exception when there is a licensing problem, it will just paint the chart image with the error, that's why you are getting "Success". but at the same time, it outputs some details to the server standard error log, and that's what we will like to What we will like to know that error. Also, the problem you may having is if you have more than one Java version in that system, your manual activation you may be using one, and the webserver may be using another, and the difference of the versions may be causing the error. If this is that case, you ca try activating using the servelet we supply. Regards, GA "vaishali" <vnaik@retailexpert.com> wrote in message news:dDLZIPgWEHA.3080@webserver3.softwarefx.com... > Hi CJS, > See the following code. It's from displaying.jsp. > ************************************************************* > <%@page import="SoftwareFX.ChartFX.*"%><html> > <head> > <title>Legends: Displaying</title> > </head> > > <body> > <% > try > { > ChartServer chart1 = new ChartServer(application,request,response); > > // In this case we are hardcoding the labels > // but it would be the same if the labels are retrieved from the database > chart1.setSerLeg(0, "ChartFX"); > chart1.setSerLeg(1, "ReportFX"); > > // Show the Series Legend Window > chart1.setSerLegBox(true); > > chart1.getSerLegBoxObj().setToolBorder(ToolBorder.EXTERNAL); > ImageBorder myBorder = new ImageBorder(ImageBorderType.EMBOSS); > chart1.setBorderObject(myBorder); > chart1.getHtmlTag("400","280","JPG"); > out.println("Success"); > } > catch(Exception e) > { > out.println("Error: " +e); > } > %> > > </body> > </html> > ******************************************************************** > I am getting the "Success" message. > > Thanks for your help, > Vaishali > > > > > > > > > > "Software FX Support" <support@softwarefx.com> wrote in message > news:ckKTISXWEHA.3152@webserver3.softwarefx.com... > > Dear Vaishali, > > This error means you are using a license from a different machine. > > There are other possibities. > > Can you please tell me what output you get to standard error? from > > System.err.println > > -CJS > > > > "vaishali" <vnaik@retailexpert.com> wrote in message > > news:rMIQQeVWEHA.2276@webserver3.softwarefx.com... > > > Hi, > > > I have created a chart using ChatFX for java development version. I > > am > > > getting 'Invalid license(2048)' error even after manually activating the > > > license code and restarting the web server. > > > > > > > > > > > > Please help. > > > > > > > > > > > > Thanks in advance, > > > > > > Vaishali > > > > > > > > > > > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted June 25, 2004 Author Report Share Posted June 25, 2004 Hi GA, I checked Tomcat's stdout.log and stderr.log files. I could not find any error related to Chart. I am using java version 1.3.1_12. Thanks for your help, Vaishali "SoftwareFX Support" <support@softwarefx.com> wrote in message news:uhS6DtgWEHA.2276@webserver3.softwarefx.com... > Chart FX for Java will not throw and exception when there is a licensing > problem, it will just paint the chart image with the error, that's why you > are getting "Success". but at the same time, it outputs some details to the > server standard error log, and that's what we will like to > > What we will like to know that error. > > Also, the problem you may having is if you have more than one Java version > in that system, your manual activation you may be using one, and the > webserver may be using another, and the difference of the versions may be > causing the error. If this is that case, you ca try activating using the > servelet we supply. > > Regards, > GA > > > > "vaishali" <vnaik@retailexpert.com> wrote in message > news:dDLZIPgWEHA.3080@webserver3.softwarefx.com... > > Hi CJS, > > See the following code. It's from displaying.jsp. > > ************************************************************* > > <%@page import="SoftwareFX.ChartFX.*"%><html> > > <head> > > <title>Legends: Displaying</title> > > </head> > > > > <body> > > <% > > try > > { > > ChartServer chart1 = new ChartServer(application,request,response); > > > > // In this case we are hardcoding the labels > > // but it would be the same if the labels are retrieved from the database > > chart1.setSerLeg(0, "ChartFX"); > > chart1.setSerLeg(1, "ReportFX"); > > > > // Show the Series Legend Window > > chart1.setSerLegBox(true); > > > > chart1.getSerLegBoxObj().setToolBorder(ToolBorder.EXTERNAL); > > ImageBorder myBorder = new ImageBorder(ImageBorderType.EMBOSS); > > chart1.setBorderObject(myBorder); > > chart1.getHtmlTag("400","280","JPG"); > > out.println("Success"); > > } > > catch(Exception e) > > { > > out.println("Error: " +e); > > } > > %> > > > > </body> > > </html> > > ******************************************************************** > > I am getting the "Success" message. > > > > Thanks for your help, > > Vaishali > > > > > > > > > > > > > > > > > > > > "Software FX Support" <support@softwarefx.com> wrote in message > > news:ckKTISXWEHA.3152@webserver3.softwarefx.com... > > > Dear Vaishali, > > > This error means you are using a license from a different machine. > > > There are other possibities. > > > Can you please tell me what output you get to standard error? from > > > System.err.println > > > -CJS > > > > > > "vaishali" <vnaik@retailexpert.com> wrote in message > > > news:rMIQQeVWEHA.2276@webserver3.softwarefx.com... > > > > Hi, > > > > I have created a chart using ChatFX for java development version. > I > > > am > > > > getting 'Invalid license(2048)' error even after manually activating > the > > > > license code and restarting the web server. > > > > > > > > > > > > > > > > Please help. > > > > > > > > > > > > > > > > Thanks in advance, > > > > > > > > Vaishali > > > > > > > > > > > > > > > > > > > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted June 28, 2004 Author Report Share Posted June 28, 2004 Hi GA, I checked my web server; it was using the different version of JAVA. Everything is working fine now. Thanks for help, Vaishali "vaishali" <vnaik@retailexpert.com> wrote in message news:f2KTh%23tWEHA.2276@webserver3.softwarefx.com... > Hi GA, > I checked Tomcat's stdout.log and stderr.log files. I could not find > any error related to Chart. > I am using java version 1.3.1_12. > > Thanks for your help, > Vaishali > > "SoftwareFX Support" <support@softwarefx.com> wrote in message > news:uhS6DtgWEHA.2276@webserver3.softwarefx.com... > > Chart FX for Java will not throw and exception when there is a licensing > > problem, it will just paint the chart image with the error, that's why you > > are getting "Success". but at the same time, it outputs some details to > the > > server standard error log, and that's what we will like to > > > > What we will like to know that error. > > > > Also, the problem you may having is if you have more than one Java version > > in that system, your manual activation you may be using one, and the > > webserver may be using another, and the difference of the versions may be > > causing the error. If this is that case, you ca try activating using the > > servelet we supply. > > > > Regards, > > GA > > > > > > > > "vaishali" <vnaik@retailexpert.com> wrote in message > > news:dDLZIPgWEHA.3080@webserver3.softwarefx.com... > > > Hi CJS, > > > See the following code. It's from displaying.jsp. > > > ************************************************************* > > > <%@page import="SoftwareFX.ChartFX.*"%><html> > > > <head> > > > <title>Legends: Displaying</title> > > > </head> > > > > > > <body> > > > <% > > > try > > > { > > > ChartServer chart1 = new ChartServer(application,request,response); > > > > > > // In this case we are hardcoding the labels > > > // but it would be the same if the labels are retrieved from the > database > > > chart1.setSerLeg(0, "ChartFX"); > > > chart1.setSerLeg(1, "ReportFX"); > > > > > > // Show the Series Legend Window > > > chart1.setSerLegBox(true); > > > > > > chart1.getSerLegBoxObj().setToolBorder(ToolBorder.EXTERNAL); > > > ImageBorder myBorder = new ImageBorder(ImageBorderType.EMBOSS); > > > chart1.setBorderObject(myBorder); > > > chart1.getHtmlTag("400","280","JPG"); > > > out.println("Success"); > > > } > > > catch(Exception e) > > > { > > > out.println("Error: " +e); > > > } > > > %> > > > > > > </body> > > > </html> > > > ******************************************************************** > > > I am getting the "Success" message. > > > > > > Thanks for your help, > > > Vaishali > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > "Software FX Support" <support@softwarefx.com> wrote in message > > > news:ckKTISXWEHA.3152@webserver3.softwarefx.com... > > > > Dear Vaishali, > > > > This error means you are using a license from a different machine. > > > > There are other possibities. > > > > Can you please tell me what output you get to standard error? from > > > > System.err.println > > > > -CJS > > > > > > > > "vaishali" <vnaik@retailexpert.com> wrote in message > > > > news:rMIQQeVWEHA.2276@webserver3.softwarefx.com... > > > > > Hi, > > > > > I have created a chart using ChatFX for java development > version. > > I > > > > am > > > > > getting 'Invalid license(2048)' error even after manually activating > > the > > > > > license code and restarting the web server. > > > > > > > > > > > > > > > > > > > > Please help. > > > > > > > > > > > > > > > > > > > > Thanks in advance, > > > > > > > > > > Vaishali > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.