Jump to content
Software FX Community

Various license problems on JBoss.


User (Legacy)

Recommended Posts

Chartfx 6.2 on JBoss 4.0.2.

We have an ear file that contains a war file and the war file uses chartfx.

If I deploy chartfx separately from the war file I get an error. (i.e.

chartfx.jar cfxjava.lic and ChartFX.Internet.config are in the

server/default/lib folder and referenced in the Class-Path: attribute of the

war files Manifest.MF file) I get a chart which has the text "Invalid

License (A00000). Please contact SoftwareFX Support".

If I redploy the application at any time the URL that is generated for the

chart is out of date and still uses the original tmp file pathname which is

no longer available. This means that the only way to update the application

is to stop and restart the server.

Cheers - Colin

Link to comment
Share on other sites

Hi Colin,

I apologize for the delay answering this post. Deploying the files is the

server/default/lib should work, but I'll double check with Jboss and get

back to you ASAP.

Regarding the second comment, for performance reason the license and config

are not read every time you generate a chart. The files are read at the

very first time, and then every now and them. So if you make changes and

test right away, you need to restart the application to force the re-load.

Regards,

GA

Software FX, Inc.

"colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

news:CLsWkaYzFHA.1856@webserver3.softwarefx.com...

> Chartfx 6.2 on JBoss 4.0.2.

>

> We have an ear file that contains a war file and the war file uses

> chartfx.

>

> If I deploy chartfx separately from the war file I get an error. (i.e.

> chartfx.jar cfxjava.lic and ChartFX.Internet.config are in the

> server/default/lib folder and referenced in the Class-Path: attribute of

> the war files Manifest.MF file) I get a chart which has the text "Invalid

> License (A00000). Please contact SoftwareFX Support".

>

> If I redploy the application at any time the URL that is generated for the

> chart is out of date and still uses the original tmp file pathname which

> is no longer available. This means that the only way to update the

> application is to stop and restart the server.

>

> Cheers - Colin

>

>

>

post-2107-13922382357253_thumb.png

post-2107-13922386054643_thumb.png

Link to comment
Share on other sites

I can get round the redeploy issue by restarting the server but I still have 

the same license problem when chartfx.jar is put into server/default/lib.

Any thoughts/progress?

Cheers - Colin

"SoftwareFX Support" <noreply> wrote in message

news:UShM1c00FHA.1708@webserver3.softwarefx.com...

> Hi Colin,

>

> I apologize for the delay answering this post. Deploying the files is the

> server/default/lib should work, but I'll double check with Jboss and get

> back to you ASAP.

>

> Regarding the second comment, for performance reason the license and

> config are not read every time you generate a chart. The files are read

> at the very first time, and then every now and them. So if you make

> changes and test right away, you need to restart the application to force

> the re-load.

>

> Regards,

> GA

> Software FX, Inc.

>

> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

> news:CLsWkaYzFHA.1856@webserver3.softwarefx.com...

>> Chartfx 6.2 on JBoss 4.0.2.

>>

>> We have an ear file that contains a war file and the war file uses

>> chartfx.

>>

>> If I deploy chartfx separately from the war file I get an error. (i.e.

>> chartfx.jar cfxjava.lic and ChartFX.Internet.config are in the

>> server/default/lib folder and referenced in the Class-Path: attribute of

>> the war files Manifest.MF file) I get a chart which has the text "Invalid

>> License (A00000). Please contact SoftwareFX Support".

>>

>> If I redploy the application at any time the URL that is generated for

>> the chart is out of date and still uses the original tmp file pathname

>> which is no longer available. This means that the only way to update the

>> application is to stop and restart the server.

>>

>> Cheers - Colin

>>

>>

>>

>

>

Link to comment
Share on other sites

Hi, I was trying to test this today in our Jboss server to find that it was 

all messed up because another testing that is going on. I'll build a new

server and let you know the results.

Regards,

GA

Software FX

"colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

news:nyQvyoV1FHA.1708@webserver3.softwarefx.com...

>I can get round the redeploy issue by restarting the server but I still

>have the same license problem when chartfx.jar is put into

>server/default/lib. Any thoughts/progress?

>

> Cheers - Colin

>

> "SoftwareFX Support" <noreply> wrote in message

> news:UShM1c00FHA.1708@webserver3.softwarefx.com...

>> Hi Colin,

>>

>> I apologize for the delay answering this post. Deploying the files is the

>> server/default/lib should work, but I'll double check with Jboss and get

>> back to you ASAP.

>>

>> Regarding the second comment, for performance reason the license and

>> config are not read every time you generate a chart. The files are read

>> at the very first time, and then every now and them. So if you make

>> changes and test right away, you need to restart the application to force

>> the re-load.

>>

>> Regards,

>> GA

>> Software FX, Inc.

>>

>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>> news:CLsWkaYzFHA.1856@webserver3.softwarefx.com...

>>> Chartfx 6.2 on JBoss 4.0.2.

>>>

>>> We have an ear file that contains a war file and the war file uses

>>> chartfx.

>>>

>>> If I deploy chartfx separately from the war file I get an error. (i.e.

>>> chartfx.jar cfxjava.lic and ChartFX.Internet.config are in the

>>> server/default/lib folder and referenced in the Class-Path: attribute of

>>> the war files Manifest.MF file) I get a chart which has the text

>>> "Invalid License (A00000). Please contact SoftwareFX Support".

>>>

>>> If I redploy the application at any time the URL that is generated for

>>> the chart is out of date and still uses the original tmp file pathname

>>> which is no longer available. This means that the only way to update the

>>> application is to stop and restart the server.

>>>

>>> Cheers - Colin

>>>

>>>

>>>

>>

>>

>

>

Link to comment
Share on other sites

I have obviously misread the documentation and assumed that wherever I put 

chartfx.jar I also had to put the license file. Whereas according to the

manual "When Chart FX for Java is used in a webserver, this license file,

cfxjava.lic file, must be located in the WEB-IF\lib folder of the web

application; when used as part of a Class, the .lic must be located in a

same location as the chartfx.jar file." file.

This means that I have to build a separate war file and ear file for each

target environment which is not ideal. Any chance of chartfx looking for the

license file in the classpath rather than hard coding a path?

- Colin

"SoftwareFX Support" <noreply> wrote in message

news:UShM1c00FHA.1708@webserver3.softwarefx.com...

> Hi Colin,

>

> I apologize for the delay answering this post. Deploying the files is the

> server/default/lib should work, but I'll double check with Jboss and get

> back to you ASAP.

>

> Regarding the second comment, for performance reason the license and

> config are not read every time you generate a chart. The files are read

> at the very first time, and then every now and them. So if you make

> changes and test right away, you need to restart the application to force

> the re-load.

>

> Regards,

> GA

> Software FX, Inc.

>

> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

> news:CLsWkaYzFHA.1856@webserver3.softwarefx.com...

>> Chartfx 6.2 on JBoss 4.0.2.

>>

>> We have an ear file that contains a war file and the war file uses

>> chartfx.

>>

>> If I deploy chartfx separately from the war file I get an error. (i.e.

>> chartfx.jar cfxjava.lic and ChartFX.Internet.config are in the

>> server/default/lib folder and referenced in the Class-Path: attribute of

>> the war files Manifest.MF file) I get a chart which has the text "Invalid

>> License (A00000). Please contact SoftwareFX Support".

>>

>> If I redploy the application at any time the URL that is generated for

>> the chart is out of date and still uses the original tmp file pathname

>> which is no longer available. This means that the only way to update the

>> application is to stop and restart the server.

>>

>> Cheers - Colin

>>

>>

>>

>

>

Link to comment
Share on other sites

Hi Colin,

In Chart FX for Java 6.0, there are some problem when the jar, license and

config file are not in the WEB-INF\lib. We were able to deploy in the class

path in some environments, but it doesn't work in some others, JBoss being

one of them.

This has been changed in version 6.2, and we have successfully deployed the

files in the common lib folders in several application servers, i.e, Tomcat,

Sun, Oracle, etc.

As I've said in my previous answer, I'm building a new Jboss server to test

this scenario, I'm hopping to give you a definitive answer next Monday.

Thanks,

GA

"colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

news:6K349ml1FHA.1724@webserver3.softwarefx.com...

>I have obviously misread the documentation and assumed that wherever I put

>chartfx.jar I also had to put the license file. Whereas according to the

>manual "When Chart FX for Java is used in a webserver, this license file,

>cfxjava.lic file, must be located in the WEB-IF\lib folder of the web

>application; when used as part of a Class, the .lic must be located in a

>same location as the chartfx.jar file." file.

>

> This means that I have to build a separate war file and ear file for each

> target environment which is not ideal. Any chance of chartfx looking for

> the license file in the classpath rather than hard coding a path?

>

> - Colin

>

> "SoftwareFX Support" <noreply> wrote in message

> news:UShM1c00FHA.1708@webserver3.softwarefx.com...

>> Hi Colin,

>>

>> I apologize for the delay answering this post. Deploying the files is the

>> server/default/lib should work, but I'll double check with Jboss and get

>> back to you ASAP.

>>

>> Regarding the second comment, for performance reason the license and

>> config are not read every time you generate a chart. The files are read

>> at the very first time, and then every now and them. So if you make

>> changes and test right away, you need to restart the application to force

>> the re-load.

>>

>> Regards,

>> GA

>> Software FX, Inc.

>>

>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>> news:CLsWkaYzFHA.1856@webserver3.softwarefx.com...

>>> Chartfx 6.2 on JBoss 4.0.2.

>>>

>>> We have an ear file that contains a war file and the war file uses

>>> chartfx.

>>>

>>> If I deploy chartfx separately from the war file I get an error. (i.e.

>>> chartfx.jar cfxjava.lic and ChartFX.Internet.config are in the

>>> server/default/lib folder and referenced in the Class-Path: attribute of

>>> the war files Manifest.MF file) I get a chart which has the text

>>> "Invalid License (A00000). Please contact SoftwareFX Support".

>>>

>>> If I redploy the application at any time the URL that is generated for

>>> the chart is out of date and still uses the original tmp file pathname

>>> which is no longer available. This means that the only way to update the

>>> application is to stop and restart the server.

>>>

>>> Cheers - Colin

>>>

>>>

>>>

>>

>>

>

>

Link to comment
Share on other sites

  • 3 weeks later...

any progress on this?

"SoftwareFX Support" <noreply> wrote in message

news:b5ZoJim1FHA.1708@webserver3.softwarefx.com...

> Hi Colin,

>

> In Chart FX for Java 6.0, there are some problem when the jar, license and

> config file are not in the WEB-INF\lib. We were able to deploy in the

> class path in some environments, but it doesn't work in some others, JBoss

> being one of them.

>

> This has been changed in version 6.2, and we have successfully deployed

> the files in the common lib folders in several application servers, i.e,

> Tomcat, Sun, Oracle, etc.

>

> As I've said in my previous answer, I'm building a new Jboss server to

> test this scenario, I'm hopping to give you a definitive answer next

> Monday.

>

> Thanks,

> GA

>

> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

> news:6K349ml1FHA.1724@webserver3.softwarefx.com...

>>I have obviously misread the documentation and assumed that wherever I put

>>chartfx.jar I also had to put the license file. Whereas according to the

>>manual "When Chart FX for Java is used in a webserver, this license file,

>>cfxjava.lic file, must be located in the WEB-IF\lib folder of the web

>>application; when used as part of a Class, the .lic must be located in a

>>same location as the chartfx.jar file." file.

>>

>> This means that I have to build a separate war file and ear file for each

>> target environment which is not ideal. Any chance of chartfx looking for

>> the license file in the classpath rather than hard coding a path?

>>

>> - Colin

>>

>> "SoftwareFX Support" <noreply> wrote in message

>> news:UShM1c00FHA.1708@webserver3.softwarefx.com...

>>> Hi Colin,

>>>

>>> I apologize for the delay answering this post. Deploying the files is

>>> the server/default/lib should work, but I'll double check with Jboss and

>>> get back to you ASAP.

>>>

>>> Regarding the second comment, for performance reason the license and

>>> config are not read every time you generate a chart. The files are read

>>> at the very first time, and then every now and them. So if you make

>>> changes and test right away, you need to restart the application to

>>> force the re-load.

>>>

>>> Regards,

>>> GA

>>> Software FX, Inc.

>>>

>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>> news:CLsWkaYzFHA.1856@webserver3.softwarefx.com...

>>>> Chartfx 6.2 on JBoss 4.0.2.

>>>>

>>>> We have an ear file that contains a war file and the war file uses

>>>> chartfx.

>>>>

>>>> If I deploy chartfx separately from the war file I get an error. (i.e.

>>>> chartfx.jar cfxjava.lic and ChartFX.Internet.config are in the

>>>> server/default/lib folder and referenced in the Class-Path: attribute

>>>> of the war files Manifest.MF file) I get a chart which has the text

>>>> "Invalid License (A00000). Please contact SoftwareFX Support".

>>>>

>>>> If I redploy the application at any time the URL that is generated for

>>>> the chart is out of date and still uses the original tmp file pathname

>>>> which is no longer available. This means that the only way to update

>>>> the application is to stop and restart the server.

>>>>

>>>> Cheers - Colin

>>>>

>>>>

>>>>

>>>

>>>

>>

>>

>

>

Link to comment
Share on other sites

Hi Colin, I apologize for the delay.

This is what I did to get tit working on JBoss 4.0.2

1) I copied the following files to the default/lib folder:

chartfx.jar,

chartfx.annotation.jar,

chartfx.map.jar,

chartfx.polar.jar,

jai_codec.jar,

jai_core.jar,

ChartFX.Internet.config,

cfxjava.lic

NOTE: al these files are from Chart FX for Java 6.2 Beta.

2) I created a small sample application with just one jsp, testJBOSS.war,

which I'm attaching.

3) I placed testJBOSS.war in server/default/deploy

4) started JBoss

5) Open this URL http://localhost:8080/testJBOSS/Index.jsp and got a Chart.

Please follow this steps and let me know if you get the same results.

Regards,

GA

"colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

news:NMwPU2T5FHA.1996@webserver3.softwarefx.com...

> any progress on this?

>

> "SoftwareFX Support" <noreply> wrote in message

> news:b5ZoJim1FHA.1708@webserver3.softwarefx.com...

>> Hi Colin,

>>

>> In Chart FX for Java 6.0, there are some problem when the jar, license

>> and

>> config file are not in the WEB-INF\lib. We were able to deploy in the

>> class path in some environments, but it doesn't work in some others,

>> JBoss

>> being one of them.

>>

>> This has been changed in version 6.2, and we have successfully deployed

>> the files in the common lib folders in several application servers, i.e,

>> Tomcat, Sun, Oracle, etc.

>>

>> As I've said in my previous answer, I'm building a new Jboss server to

>> test this scenario, I'm hopping to give you a definitive answer next

>> Monday.

>>

>> Thanks,

>> GA

>>

>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>> news:6K349ml1FHA.1724@webserver3.softwarefx.com...

>>>I have obviously misread the documentation and assumed that wherever I

>>>put

>>>chartfx.jar I also had to put the license file. Whereas according to the

>>>manual "When Chart FX for Java is used in a webserver, this license file,

>>>cfxjava.lic file, must be located in the WEB-IF\lib folder of the web

>>>application; when used as part of a Class, the .lic must be located in a

>>>same location as the chartfx.jar file." file.

>>>

>>> This means that I have to build a separate war file and ear file for

>>> each

>>> target environment which is not ideal. Any chance of chartfx looking for

>>> the license file in the classpath rather than hard coding a path?

>>>

>>> - Colin

>>>

>>> "SoftwareFX Support" <noreply> wrote in message

>>> news:UShM1c00FHA.1708@webserver3.softwarefx.com...

>>>> Hi Colin,

>>>>

>>>> I apologize for the delay answering this post. Deploying the files is

>>>> the server/default/lib should work, but I'll double check with Jboss

>>>> and

>>>> get back to you ASAP.

>>>>

>>>> Regarding the second comment, for performance reason the license and

>>>> config are not read every time you generate a chart. The files are

>>>> read

>>>> at the very first time, and then every now and them. So if you make

>>>> changes and test right away, you need to restart the application to

>>>> force the re-load.

>>>>

>>>> Regards,

>>>> GA

>>>> Software FX, Inc.

>>>>

>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>> news:CLsWkaYzFHA.1856@webserver3.softwarefx.com...

>>>>> Chartfx 6.2 on JBoss 4.0.2.

>>>>>

>>>>> We have an ear file that contains a war file and the war file uses

>>>>> chartfx.

>>>>>

>>>>> If I deploy chartfx separately from the war file I get an error. (i.e.

>>>>> chartfx.jar cfxjava.lic and ChartFX.Internet.config are in the

>>>>> server/default/lib folder and referenced in the Class-Path: attribute

>>>>> of the war files Manifest.MF file) I get a chart which has the text

>>>>> "Invalid License (A00000). Please contact SoftwareFX Support".

>>>>>

>>>>> If I redploy the application at any time the URL that is generated for

>>>>> the chart is out of date and still uses the original tmp file pathname

>>>>> which is no longer available. This means that the only way to update

>>>>> the application is to stop and restart the server.

>>>>>

>>>>> Cheers - Colin

>>>>>

>>>>>

>>>>>

>>>>

>>>>

>>>

>>>

>>

>>

>

>

Link to comment
Share on other sites

I tried your war file without changing it and I get an error.

The ChartFX.Internet.config file that I used has a "." for the RequiredRoot

element. The jsp page looks for the chart at /chartfx/temp/xxx.png" and

there is no chart file there.

The manifest.mf file in chartfx.jar shows 6.2.1963.18239 as the

Specification-Version if that helps.

I then upgraded to the latest service pack 6.0.2020 from the softwarefx site

with the same result.

When I use the beta release the demo you sent works but our application

fails because of an exception: java.lang.NoSuchMethodError:

ChartServer.setBorderObject(java.lang.Object). This works on the current

release and no code changes were made for the test. I can't release beta

quality software to production. Do you know when the new release is likely

to be out of beta?

Cheers - Colin

"SoftwareFX Support" <noreply> wrote in message

news:%234h3AXY5FHA.968@webserver3.softwarefx.com...

> Hi Colin, I apologize for the delay.

>

> This is what I did to get tit working on JBoss 4.0.2

>

> 1) I copied the following files to the default/lib folder:

> chartfx.jar,

> chartfx.annotation.jar,

> chartfx.map.jar,

> chartfx.polar.jar,

> jai_codec.jar,

> jai_core.jar,

> ChartFX.Internet.config,

> cfxjava.lic

>

> NOTE: al these files are from Chart FX for Java 6.2 Beta.

>

> 2) I created a small sample application with just one jsp, testJBOSS.war,

> which I'm attaching.

>

> 3) I placed testJBOSS.war in server/default/deploy

>

> 4) started JBoss

>

> 5) Open this URL http://localhost:8080/testJBOSS/Index.jsp and got a

> Chart.

>

> Please follow this steps and let me know if you get the same results.

>

> Regards,

> GA

>

>

> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

> news:NMwPU2T5FHA.1996@webserver3.softwarefx.com...

>> any progress on this?

>>

>> "SoftwareFX Support" <noreply> wrote in message

>> news:b5ZoJim1FHA.1708@webserver3.softwarefx.com...

>>> Hi Colin,

>>>

>>> In Chart FX for Java 6.0, there are some problem when the jar, license

>>> and

>>> config file are not in the WEB-INF\lib. We were able to deploy in the

>>> class path in some environments, but it doesn't work in some others,

>>> JBoss

>>> being one of them.

>>>

>>> This has been changed in version 6.2, and we have successfully deployed

>>> the files in the common lib folders in several application servers, i.e,

>>> Tomcat, Sun, Oracle, etc.

>>>

>>> As I've said in my previous answer, I'm building a new Jboss server to

>>> test this scenario, I'm hopping to give you a definitive answer next

>>> Monday.

>>>

>>> Thanks,

>>> GA

>>>

>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>> news:6K349ml1FHA.1724@webserver3.softwarefx.com...

>>>>I have obviously misread the documentation and assumed that wherever I

>>>>put

>>>>chartfx.jar I also had to put the license file. Whereas according to the

>>>>manual "When Chart FX for Java is used in a webserver, this license

>>>>file,

>>>>cfxjava.lic file, must be located in the WEB-IF\lib folder of the web

>>>>application; when used as part of a Class, the .lic must be located in a

>>>>same location as the chartfx.jar file." file.

>>>>

>>>> This means that I have to build a separate war file and ear file for

>>>> each

>>>> target environment which is not ideal. Any chance of chartfx looking

>>>> for

>>>> the license file in the classpath rather than hard coding a path?

>>>>

>>>> - Colin

>>>>

>>>> "SoftwareFX Support" <noreply> wrote in message

>>>> news:UShM1c00FHA.1708@webserver3.softwarefx.com...

>>>>> Hi Colin,

>>>>>

>>>>> I apologize for the delay answering this post. Deploying the files is

>>>>> the server/default/lib should work, but I'll double check with Jboss

>>>>> and

>>>>> get back to you ASAP.

>>>>>

>>>>> Regarding the second comment, for performance reason the license and

>>>>> config are not read every time you generate a chart. The files are

>>>>> read

>>>>> at the very first time, and then every now and them. So if you make

>>>>> changes and test right away, you need to restart the application to

>>>>> force the re-load.

>>>>>

>>>>> Regards,

>>>>> GA

>>>>> Software FX, Inc.

>>>>>

>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>>> news:CLsWkaYzFHA.1856@webserver3.softwarefx.com...

>>>>>> Chartfx 6.2 on JBoss 4.0.2.

>>>>>>

>>>>>> We have an ear file that contains a war file and the war file uses

>>>>>> chartfx.

>>>>>>

>>>>>> If I deploy chartfx separately from the war file I get an error.

>>>>>> (i.e.

>>>>>> chartfx.jar cfxjava.lic and ChartFX.Internet.config are in the

>>>>>> server/default/lib folder and referenced in the Class-Path: attribute

>>>>>> of the war files Manifest.MF file) I get a chart which has the text

>>>>>> "Invalid License (A00000). Please contact SoftwareFX Support".

>>>>>>

>>>>>> If I redploy the application at any time the URL that is generated

>>>>>> for

>>>>>> the chart is out of date and still uses the original tmp file

>>>>>> pathname

>>>>>> which is no longer available. This means that the only way to update

>>>>>> the application is to stop and restart the server.

>>>>>>

>>>>>> Cheers - Colin

>>>>>>

>>>>>>

>>>>>>

>>>>>

>>>>>

>>>>

>>>>

>>>

>>>

>>

>>

>

>

>

Link to comment
Share on other sites

Hi Colin, I'm confused with the versions...which version is the one working 

for you?

Thanks,

GA

"colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

news:PaLS01t5FHA.2724@webserver3.softwarefx.com...

>I tried your war file without changing it and I get an error.

>

> The ChartFX.Internet.config file that I used has a "." for the

> RequiredRoot element. The jsp page looks for the chart at

> /chartfx/temp/xxx.png" and there is no chart file there.

>

> The manifest.mf file in chartfx.jar shows 6.2.1963.18239 as the

> Specification-Version if that helps.

>

> I then upgraded to the latest service pack 6.0.2020 from the softwarefx

> site with the same result.

>

> When I use the beta release the demo you sent works but our application

> fails because of an exception: java.lang.NoSuchMethodError:

> ChartServer.setBorderObject(java.lang.Object). This works on the current

> release and no code changes were made for the test. I can't release beta

> quality software to production. Do you know when the new release is likely

> to be out of beta?

>

> Cheers - Colin

>

>

>

>

> "SoftwareFX Support" <noreply> wrote in message

> news:%234h3AXY5FHA.968@webserver3.softwarefx.com...

>> Hi Colin, I apologize for the delay.

>>

>> This is what I did to get tit working on JBoss 4.0.2

>>

>> 1) I copied the following files to the default/lib folder:

>> chartfx.jar,

>> chartfx.annotation.jar,

>> chartfx.map.jar,

>> chartfx.polar.jar,

>> jai_codec.jar,

>> jai_core.jar,

>> ChartFX.Internet.config,

>> cfxjava.lic

>>

>> NOTE: al these files are from Chart FX for Java 6.2 Beta.

>>

>> 2) I created a small sample application with just one jsp, testJBOSS.war,

>> which I'm attaching.

>>

>> 3) I placed testJBOSS.war in server/default/deploy

>>

>> 4) started JBoss

>>

>> 5) Open this URL http://localhost:8080/testJBOSS/Index.jsp and got a

>> Chart.

>>

>> Please follow this steps and let me know if you get the same results.

>>

>> Regards,

>> GA

>>

>>

>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>> news:NMwPU2T5FHA.1996@webserver3.softwarefx.com...

>>> any progress on this?

>>>

>>> "SoftwareFX Support" <noreply> wrote in message

>>> news:b5ZoJim1FHA.1708@webserver3.softwarefx.com...

>>>> Hi Colin,

>>>>

>>>> In Chart FX for Java 6.0, there are some problem when the jar, license

>>>> and

>>>> config file are not in the WEB-INF\lib. We were able to deploy in the

>>>> class path in some environments, but it doesn't work in some others,

>>>> JBoss

>>>> being one of them.

>>>>

>>>> This has been changed in version 6.2, and we have successfully

>>>> deployed

>>>> the files in the common lib folders in several application servers,

>>>> i.e,

>>>> Tomcat, Sun, Oracle, etc.

>>>>

>>>> As I've said in my previous answer, I'm building a new Jboss server to

>>>> test this scenario, I'm hopping to give you a definitive answer next

>>>> Monday.

>>>>

>>>> Thanks,

>>>> GA

>>>>

>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>> news:6K349ml1FHA.1724@webserver3.softwarefx.com...

>>>>>I have obviously misread the documentation and assumed that wherever I

>>>>>put

>>>>>chartfx.jar I also had to put the license file. Whereas according to

>>>>>the

>>>>>manual "When Chart FX for Java is used in a webserver, this license

>>>>>file,

>>>>>cfxjava.lic file, must be located in the WEB-IF\lib folder of the web

>>>>>application; when used as part of a Class, the .lic must be located in

>>>>>a

>>>>>same location as the chartfx.jar file." file.

>>>>>

>>>>> This means that I have to build a separate war file and ear file for

>>>>> each

>>>>> target environment which is not ideal. Any chance of chartfx looking

>>>>> for

>>>>> the license file in the classpath rather than hard coding a path?

>>>>>

>>>>> - Colin

>>>>>

>>>>> "SoftwareFX Support" <noreply> wrote in message

>>>>> news:UShM1c00FHA.1708@webserver3.softwarefx.com...

>>>>>> Hi Colin,

>>>>>>

>>>>>> I apologize for the delay answering this post. Deploying the files is

>>>>>> the server/default/lib should work, but I'll double check with Jboss

>>>>>> and

>>>>>> get back to you ASAP.

>>>>>>

>>>>>> Regarding the second comment, for performance reason the license and

>>>>>> config are not read every time you generate a chart. The files are

>>>>>> read

>>>>>> at the very first time, and then every now and them. So if you make

>>>>>> changes and test right away, you need to restart the application to

>>>>>> force the re-load.

>>>>>>

>>>>>> Regards,

>>>>>> GA

>>>>>> Software FX, Inc.

>>>>>>

>>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>>>> news:CLsWkaYzFHA.1856@webserver3.softwarefx.com...

>>>>>>> Chartfx 6.2 on JBoss 4.0.2.

>>>>>>>

>>>>>>> We have an ear file that contains a war file and the war file uses

>>>>>>> chartfx.

>>>>>>>

>>>>>>> If I deploy chartfx separately from the war file I get an error.

>>>>>>> (i.e.

>>>>>>> chartfx.jar cfxjava.lic and ChartFX.Internet.config are in the

>>>>>>> server/default/lib folder and referenced in the Class-Path:

>>>>>>> attribute

>>>>>>> of the war files Manifest.MF file) I get a chart which has the text

>>>>>>> "Invalid License (A00000). Please contact SoftwareFX Support".

>>>>>>>

>>>>>>> If I redploy the application at any time the URL that is generated

>>>>>>> for

>>>>>>> the chart is out of date and still uses the original tmp file

>>>>>>> pathname

>>>>>>> which is no longer available. This means that the only way to update

>>>>>>> the application is to stop and restart the server.

>>>>>>>

>>>>>>> Cheers - Colin

>>>>>>>

>>>>>>>

>>>>>>>

>>>>>>

>>>>>>

>>>>>

>>>>>

>>>>

>>>>

>>>

>>>

>>

>>

>>

>

>

Link to comment
Share on other sites

Numbers are from Specification-Version attribute of the manifest.mf in 

chartfx.jar file.

6.2.1963.18239 fails for testJBOSS.war

6.0.2020.19278 fails for testJBOSS.war

6.2.2060.23875 works for testJBOSS.war but fails on setBorderObject error in

our app.

Basically only the current beta version works with your test app but this

fails to run our existing app.

Cheers - Colin

"SoftwareFX Support" <noreply> wrote in message

news:gQ0NwDv5FHA.968@webserver3.softwarefx.com...

> Hi Colin, I'm confused with the versions...which version is the one

> working for you?

>

> Thanks,

> GA

>

>

> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

> news:PaLS01t5FHA.2724@webserver3.softwarefx.com...

>>I tried your war file without changing it and I get an error.

>>

>> The ChartFX.Internet.config file that I used has a "." for the

>> RequiredRoot element. The jsp page looks for the chart at

>> /chartfx/temp/xxx.png" and there is no chart file there.

>>

>> The manifest.mf file in chartfx.jar shows 6.2.1963.18239 as the

>> Specification-Version if that helps.

>>

>> I then upgraded to the latest service pack 6.0.2020 from the softwarefx

>> site with the same result.

>>

>> When I use the beta release the demo you sent works but our application

>> fails because of an exception: java.lang.NoSuchMethodError:

>> ChartServer.setBorderObject(java.lang.Object). This works on the current

>> release and no code changes were made for the test. I can't release beta

>> quality software to production. Do you know when the new release is

>> likely to be out of beta?

>>

>> Cheers - Colin

>>

>>

>>

>>

>> "SoftwareFX Support" <noreply> wrote in message

>> news:%234h3AXY5FHA.968@webserver3.softwarefx.com...

>>> Hi Colin, I apologize for the delay.

>>>

>>> This is what I did to get tit working on JBoss 4.0.2

>>>

>>> 1) I copied the following files to the default/lib folder:

>>> chartfx.jar,

>>> chartfx.annotation.jar,

>>> chartfx.map.jar,

>>> chartfx.polar.jar,

>>> jai_codec.jar,

>>> jai_core.jar,

>>> ChartFX.Internet.config,

>>> cfxjava.lic

>>>

>>> NOTE: al these files are from Chart FX for Java 6.2 Beta.

>>>

>>> 2) I created a small sample application with just one jsp,

>>> testJBOSS.war, which I'm attaching.

>>>

>>> 3) I placed testJBOSS.war in server/default/deploy

>>>

>>> 4) started JBoss

>>>

>>> 5) Open this URL http://localhost:8080/testJBOSS/Index.jsp and got a

>>> Chart.

>>>

>>> Please follow this steps and let me know if you get the same results.

>>>

>>> Regards,

>>> GA

>>>

>>>

>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>> news:NMwPU2T5FHA.1996@webserver3.softwarefx.com...

>>>> any progress on this?

>>>>

>>>> "SoftwareFX Support" <noreply> wrote in message

>>>> news:b5ZoJim1FHA.1708@webserver3.softwarefx.com...

>>>>> Hi Colin,

>>>>>

>>>>> In Chart FX for Java 6.0, there are some problem when the jar, license

>>>>> and

>>>>> config file are not in the WEB-INF\lib. We were able to deploy in the

>>>>> class path in some environments, but it doesn't work in some others,

>>>>> JBoss

>>>>> being one of them.

>>>>>

>>>>> This has been changed in version 6.2, and we have successfully

>>>>> deployed

>>>>> the files in the common lib folders in several application servers,

>>>>> i.e,

>>>>> Tomcat, Sun, Oracle, etc.

>>>>>

>>>>> As I've said in my previous answer, I'm building a new Jboss server to

>>>>> test this scenario, I'm hopping to give you a definitive answer next

>>>>> Monday.

>>>>>

>>>>> Thanks,

>>>>> GA

>>>>>

>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>>> news:6K349ml1FHA.1724@webserver3.softwarefx.com...

>>>>>>I have obviously misread the documentation and assumed that wherever I

>>>>>>put

>>>>>>chartfx.jar I also had to put the license file. Whereas according to

>>>>>>the

>>>>>>manual "When Chart FX for Java is used in a webserver, this license

>>>>>>file,

>>>>>>cfxjava.lic file, must be located in the WEB-IF\lib folder of the web

>>>>>>application; when used as part of a Class, the .lic must be located in

>>>>>>a

>>>>>>same location as the chartfx.jar file." file.

>>>>>>

>>>>>> This means that I have to build a separate war file and ear file for

>>>>>> each

>>>>>> target environment which is not ideal. Any chance of chartfx looking

>>>>>> for

>>>>>> the license file in the classpath rather than hard coding a path?

>>>>>>

>>>>>> - Colin

>>>>>>

>>>>>> "SoftwareFX Support" <noreply> wrote in message

>>>>>> news:UShM1c00FHA.1708@webserver3.softwarefx.com...

>>>>>>> Hi Colin,

>>>>>>>

>>>>>>> I apologize for the delay answering this post. Deploying the files

>>>>>>> is

>>>>>>> the server/default/lib should work, but I'll double check with Jboss

>>>>>>> and

>>>>>>> get back to you ASAP.

>>>>>>>

>>>>>>> Regarding the second comment, for performance reason the license and

>>>>>>> config are not read every time you generate a chart. The files are

>>>>>>> read

>>>>>>> at the very first time, and then every now and them. So if you make

>>>>>>> changes and test right away, you need to restart the application to

>>>>>>> force the re-load.

>>>>>>>

>>>>>>> Regards,

>>>>>>> GA

>>>>>>> Software FX, Inc.

>>>>>>>

>>>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>>>>> news:CLsWkaYzFHA.1856@webserver3.softwarefx.com...

>>>>>>>> Chartfx 6.2 on JBoss 4.0.2.

>>>>>>>>

>>>>>>>> We have an ear file that contains a war file and the war file uses

>>>>>>>> chartfx.

>>>>>>>>

>>>>>>>> If I deploy chartfx separately from the war file I get an error.

>>>>>>>> (i.e.

>>>>>>>> chartfx.jar cfxjava.lic and ChartFX.Internet.config are in the

>>>>>>>> server/default/lib folder and referenced in the Class-Path:

>>>>>>>> attribute

>>>>>>>> of the war files Manifest.MF file) I get a chart which has the text

>>>>>>>> "Invalid License (A00000). Please contact SoftwareFX Support".

>>>>>>>>

>>>>>>>> If I redploy the application at any time the URL that is generated

>>>>>>>> for

>>>>>>>> the chart is out of date and still uses the original tmp file

>>>>>>>> pathname

>>>>>>>> which is no longer available. This means that the only way to

>>>>>>>> update

>>>>>>>> the application is to stop and restart the server.

>>>>>>>>

>>>>>>>> Cheers - Colin

>>>>>>>>

>>>>>>>>

>>>>>>>>

>>>>>>>

>>>>>>>

>>>>>>

>>>>>>

>>>>>

>>>>>

>>>>

>>>>

>>>

>>>

>>>

>>

>>

>

>

Link to comment
Share on other sites

Ok, can you send us a sample that reproduces the setBorderObject error>

Thanks,

GA

SoftwareFX

"colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

news:yFFtYlS6FHA.472@webserver3.softwarefx.com...

> Numbers are from Specification-Version attribute of the manifest.mf in

> chartfx.jar file.

>

> 6.2.1963.18239 fails for testJBOSS.war

> 6.0.2020.19278 fails for testJBOSS.war

> 6.2.2060.23875 works for testJBOSS.war but fails on setBorderObject error

> in our app.

>

> Basically only the current beta version works with your test app but this

> fails to run our existing app.

>

> Cheers - Colin

>

> "SoftwareFX Support" <noreply> wrote in message

> news:gQ0NwDv5FHA.968@webserver3.softwarefx.com...

>> Hi Colin, I'm confused with the versions...which version is the one

>> working for you?

>>

>> Thanks,

>> GA

>>

>>

>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>> news:PaLS01t5FHA.2724@webserver3.softwarefx.com...

>>>I tried your war file without changing it and I get an error.

>>>

>>> The ChartFX.Internet.config file that I used has a "." for the

>>> RequiredRoot element. The jsp page looks for the chart at

>>> /chartfx/temp/xxx.png" and there is no chart file there.

>>>

>>> The manifest.mf file in chartfx.jar shows 6.2.1963.18239 as the

>>> Specification-Version if that helps.

>>>

>>> I then upgraded to the latest service pack 6.0.2020 from the softwarefx

>>> site with the same result.

>>>

>>> When I use the beta release the demo you sent works but our application

>>> fails because of an exception: java.lang.NoSuchMethodError:

>>> ChartServer.setBorderObject(java.lang.Object). This works on the current

>>> release and no code changes were made for the test. I can't release beta

>>> quality software to production. Do you know when the new release is

>>> likely to be out of beta?

>>>

>>> Cheers - Colin

>>>

>>>

>>>

>>>

>>> "SoftwareFX Support" <noreply> wrote in message

>>> news:%234h3AXY5FHA.968@webserver3.softwarefx.com...

>>>> Hi Colin, I apologize for the delay.

>>>>

>>>> This is what I did to get tit working on JBoss 4.0.2

>>>>

>>>> 1) I copied the following files to the default/lib folder:

>>>> chartfx.jar,

>>>> chartfx.annotation.jar,

>>>> chartfx.map.jar,

>>>> chartfx.polar.jar,

>>>> jai_codec.jar,

>>>> jai_core.jar,

>>>> ChartFX.Internet.config,

>>>> cfxjava.lic

>>>>

>>>> NOTE: al these files are from Chart FX for Java 6.2 Beta.

>>>>

>>>> 2) I created a small sample application with just one jsp,

>>>> testJBOSS.war, which I'm attaching.

>>>>

>>>> 3) I placed testJBOSS.war in server/default/deploy

>>>>

>>>> 4) started JBoss

>>>>

>>>> 5) Open this URL http://localhost:8080/testJBOSS/Index.jsp and got a

>>>> Chart.

>>>>

>>>> Please follow this steps and let me know if you get the same results.

>>>>

>>>> Regards,

>>>> GA

>>>>

>>>>

>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>> news:NMwPU2T5FHA.1996@webserver3.softwarefx.com...

>>>>> any progress on this?

>>>>>

>>>>> "SoftwareFX Support" <noreply> wrote in message

>>>>> news:b5ZoJim1FHA.1708@webserver3.softwarefx.com...

>>>>>> Hi Colin,

>>>>>>

>>>>>> In Chart FX for Java 6.0, there are some problem when the jar,

>>>>>> license and

>>>>>> config file are not in the WEB-INF\lib. We were able to deploy in

>>>>>> the

>>>>>> class path in some environments, but it doesn't work in some others,

>>>>>> JBoss

>>>>>> being one of them.

>>>>>>

>>>>>> This has been changed in version 6.2, and we have successfully

>>>>>> deployed

>>>>>> the files in the common lib folders in several application servers,

>>>>>> i.e,

>>>>>> Tomcat, Sun, Oracle, etc.

>>>>>>

>>>>>> As I've said in my previous answer, I'm building a new Jboss server

>>>>>> to

>>>>>> test this scenario, I'm hopping to give you a definitive answer next

>>>>>> Monday.

>>>>>>

>>>>>> Thanks,

>>>>>> GA

>>>>>>

>>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>>>> news:6K349ml1FHA.1724@webserver3.softwarefx.com...

>>>>>>>I have obviously misread the documentation and assumed that wherever

>>>>>>>I put

>>>>>>>chartfx.jar I also had to put the license file. Whereas according to

>>>>>>>the

>>>>>>>manual "When Chart FX for Java is used in a webserver, this license

>>>>>>>file,

>>>>>>>cfxjava.lic file, must be located in the WEB-IF\lib folder of the web

>>>>>>>application; when used as part of a Class, the .lic must be located

>>>>>>>in a

>>>>>>>same location as the chartfx.jar file." file.

>>>>>>>

>>>>>>> This means that I have to build a separate war file and ear file for

>>>>>>> each

>>>>>>> target environment which is not ideal. Any chance of chartfx looking

>>>>>>> for

>>>>>>> the license file in the classpath rather than hard coding a path?

>>>>>>>

>>>>>>> - Colin

>>>>>>>

>>>>>>> "SoftwareFX Support" <noreply> wrote in message

>>>>>>> news:UShM1c00FHA.1708@webserver3.softwarefx.com...

>>>>>>>> Hi Colin,

>>>>>>>>

>>>>>>>> I apologize for the delay answering this post. Deploying the files

>>>>>>>> is

>>>>>>>> the server/default/lib should work, but I'll double check with

>>>>>>>> Jboss and

>>>>>>>> get back to you ASAP.

>>>>>>>>

>>>>>>>> Regarding the second comment, for performance reason the license

>>>>>>>> and

>>>>>>>> config are not read every time you generate a chart. The files are

>>>>>>>> read

>>>>>>>> at the very first time, and then every now and them. So if you

>>>>>>>> make

>>>>>>>> changes and test right away, you need to restart the application to

>>>>>>>> force the re-load.

>>>>>>>>

>>>>>>>> Regards,

>>>>>>>> GA

>>>>>>>> Software FX, Inc.

>>>>>>>>

>>>>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>>>>>> news:CLsWkaYzFHA.1856@webserver3.softwarefx.com...

>>>>>>>>> Chartfx 6.2 on JBoss 4.0.2.

>>>>>>>>>

>>>>>>>>> We have an ear file that contains a war file and the war file uses

>>>>>>>>> chartfx.

>>>>>>>>>

>>>>>>>>> If I deploy chartfx separately from the war file I get an error.

>>>>>>>>> (i.e.

>>>>>>>>> chartfx.jar cfxjava.lic and ChartFX.Internet.config are in the

>>>>>>>>> server/default/lib folder and referenced in the Class-Path:

>>>>>>>>> attribute

>>>>>>>>> of the war files Manifest.MF file) I get a chart which has the

>>>>>>>>> text

>>>>>>>>> "Invalid License (A00000). Please contact SoftwareFX Support".

>>>>>>>>>

>>>>>>>>> If I redploy the application at any time the URL that is generated

>>>>>>>>> for

>>>>>>>>> the chart is out of date and still uses the original tmp file

>>>>>>>>> pathname

>>>>>>>>> which is no longer available. This means that the only way to

>>>>>>>>> update

>>>>>>>>> the application is to stop and restart the server.

>>>>>>>>>

>>>>>>>>> Cheers - Colin

>>>>>>>>>

>>>>>>>>>

>>>>>>>>>

>>>>>>>>

>>>>>>>>

>>>>>>>

>>>>>>>

>>>>>>

>>>>>>

>>>>>

>>>>>

>>>>

>>>>

>>>>

>>>

>>>

>>

>>

>

>

Link to comment
Share on other sites

Cut & paste the 2 lines of code from the DefaultBorder javadoc page into 

your original index.jsp page is enough to produce the error.

Complete listing is attached but the relevant lines are:

axis.setAlternateColor(new java.awt.Color(255, 255, 255));

axis.setInterlaced(true);

// added next 2 lines

DefaultBorder myBorder = new DefaultBorder(BorderType.BUMP);

chart1.setBorderObject (myBorder);

%>

The result is as follows:

exception

javax.servlet.ServletException:

SoftwareFX.ChartFX.ChartServer.setBorderObject(Ljava/lang/Object;)V

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781) org.apache.jsp.testBorderObject_jsp._jspService(org.apache.jsp.testBorderObject_jsp:88) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)root causejava.lang.NoSuchMethodError:SoftwareFX.ChartFX.ChartServer.setBorderObject(Ljava/lang/Object;)V org.apache.jsp.testBorderObject_jsp._jspService(org.apache.jsp.testBorderObject_jsp:75) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)This works fine on the previous (non-beta) versions of chartfx."SoftwareFX Support" <noreply> wrote in messagenews:zBeVRjU6FHA.468@webserver3.softwarefx.com...> Ok, can you send us a sample that reproduces the setBorderObject error>>> Thanks,> GA> SoftwareFX>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message> news:yFFtYlS6FHA.472@webserver3.softwarefx.com...>> Numbers are from Specification-Version attribute of the manifest.mf in>> chartfx.jar file.>>>> 6.2.1963.18239 fails for testJBOSS.war>> 6.0.2020.19278 fails for testJBOSS.war>> 6.2.2060.23875 works for testJBOSS.war but fails on setBorderObject error>> in our app.>>>> Basically only the current beta version works with your test app but this>> fails to run our existing app.>>>> Cheers - Colin>>>> "SoftwareFX Support" <noreply> wrote in message>> news:gQ0NwDv5FHA.968@webserver3.softwarefx.com...>>> Hi Colin, I'm confused with the versions...which version is the one>>> working for you?>>>>>> Thanks,>>> GA>>>>>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message>>> news:PaLS01t5FHA.2724@webserver3.softwarefx.com...>>>>I tried your war file without changing it and I get an error.>>>>>>>> The ChartFX.Internet.config file that I used has a "." for the>>>> RequiredRoot element. The jsp page looks for the chart at>>>> /chartfx/temp/xxx.png" and there is no chart file there.>>>>>>>> The manifest.mf file in chartfx.jar shows 6.2.1963.18239 as the>>>> Specification-Version if that helps.>>>>>>>> I then upgraded to the latest service pack 6.0.2020 from the softwarefx>>>> site with the same result.>>>>>>>> When I use the beta release the demo you sent works but our application>>>> fails because of an exception: java.lang.NoSuchMethodError:>>>> ChartServer.setBorderObject(java.lang.Object). This works on thecurrent>>>> release and no code changes were made for the test. I can't releasebeta>>>> quality software to production. Do you know when the new release is>>>> likely to be out of beta?>>>>>>>> Cheers - Colin>>>>>>>>>>>>>>>>>>>> "SoftwareFX Support" <noreply> wrote in message>>>> news:%234h3AXY5FHA.968@webserver3.softwarefx.com...>>>>> Hi Colin, I apologize for the delay.>>>>>>>>>> This is what I did to get tit working on JBoss 4.0.2>>>>>>>>>> 1) I copied the following files to the default/lib folder:>>>>> chartfx.jar,>>>>> chartfx.annotation.jar,>>>>> chartfx.map.jar,>>>>> chartfx.polar.jar,>>>>> jai_codec.jar,>>>>> jai_core.jar,>>>>> ChartFX.Internet.config,>>>>> cfxjava.lic>>>>>>>>>> NOTE: al these files are from Chart FX for Java 6.2 Beta.>>>>>>>>>> 2) I created a small sample application with just one jsp,>>>>> testJBOSS.war, which I'm attaching.>>>>>>>>>> 3) I placed testJBOSS.war in server/default/deploy>>>>>>>>>> 4) started JBoss>>>>>>>>>> 5) Open this URL http://localhost:8080/testJBOSS/Index.jsp and got a>>>>> Chart.>>>>>>>>>> Please follow this steps and let me know if you get the same results.>>>>>>>>>> Regards,>>>>> GA>>>>>>>>>>>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message>>>>> news:NMwPU2T5FHA.1996@webserver3.softwarefx.com...>>>>>> any progress on this?>>>>>>>>>>>> "SoftwareFX Support" <noreply> wrote in message>>>>>> news:b5ZoJim1FHA.1708@webserver3.softwarefx.com...>>>>>>> Hi Colin,>>>>>>>>>>>>>> In Chart FX for Java 6.0, there are some problem when the jar,>>>>>>> license and>>>>>>> config file are not in the WEB-INF\lib. We were able to deploy in>>>>>>> the>>>>>>> class path in some environments, but it doesn't work in some others,>>>>>>> JBoss>>>>>>> being one of them.>>>>>>>>>>>>>> This has been changed in version 6.2, and we have successfully>>>>>>> deployed>>>>>>> the files in the common lib folders in several application servers,>>>>>>> i.e,>>>>>>> Tomcat, Sun, Oracle, etc.>>>>>>>>>>>>>> As I've said in my previous answer, I'm building a new Jboss server>>>>>>> to>>>>>>> test this scenario, I'm hopping to give you a definitive answer next>>>>>>> Monday.>>>>>>>>>>>>>> Thanks,>>>>>>> GA>>>>>>>>>>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message>>>>>>> news:6K349ml1FHA.1724@webserver3.softwarefx.com...>>>>>>>>I have obviously misread the documentation and assumed that wherever>>>>>>>>I put>>>>>>>>chartfx.jar I also had to put the license file. Whereas according to>>>>>>>>the>>>>>>>>manual "When Chart FX for Java is used in a webserver, this license>>>>>>>>file,>>>>>>>>cfxjava.lic file, must be located in the WEB-IF\lib folder of theweb>>>>>>>>application; when used as part of a Class, the .lic must be located>>>>>>>>in a>>>>>>>>same location as the chartfx.jar file." file.>>>>>>>>>>>>>>>> This means that I have to build a separate war file and ear filefor>>>>>>>> each>>>>>>>> target environment which is not ideal. Any chance of chartfxlooking>>>>>>>> for>>>>>>>> the license file in the classpath rather than hard coding a path?>>>>>>>>>>>>>>>> - Colin>>>>>>>>>>>>>>>> "SoftwareFX Support" <noreply> wrote in message>>>>>>>> news:UShM1c00FHA.1708@webserver3.softwarefx.com...>>>>>>>>> Hi Colin,>>>>>>>>>>>>>>>>>> I apologize for the delay answering this post. Deploying the files>>>>>>>>> is>>>>>>>>> the server/default/lib should work, but I'll double check with>>>>>>>>> Jboss and>>>>>>>>> get back to you ASAP.>>>>>>>>>>>>>>>>>> Regarding the second comment, for performance reason the license>>>>>>>>> and>>>>>>>>> config are not read every time you generate a chart. The filesare>>>>>>>>> read>>>>>>>>> at the very first time, and then every now and them. So if you>>>>>>>>> make>>>>>>>>> changes and test right away, you need to restart the applicationto>>>>>>>>> force the re-load.>>>>>>>>>>>>>>>>>> Regards,>>>>>>>>> GA>>>>>>>>> Software FX, Inc.>>>>>>>>>>>>>>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message>>>>>>>>> news:CLsWkaYzFHA.1856@webserver3.softwarefx.com...>>>>>>>>>> Chartfx 6.2 on JBoss 4.0.2.>>>>>>>>>>>>>>>>>>>> We have an ear file that contains a war file and the war fileuses>>>>>>>>>> chartfx.>>>>>>>>>>>>>>>>>>>> If I deploy chartfx separately from the war file I get an error.>>>>>>>>>> (i.e.>>>>>>>>>> chartfx.jar cfxjava.lic and ChartFX.Internet.config are in the>>>>>>>>>> server/default/lib folder and referenced in the Class-Path:>>>>>>>>>> attribute>>>>>>>>>> of the war files Manifest.MF file) I get a chart which has the>>>>>>>>>> text>>>>>>>>>> "Invalid License (A00000). Please contact SoftwareFX Support".>>>>>>>>>>>>>>>>>>>> If I redploy the application at any time the URL that isgenerated>>>>>>>>>> for>>>>>>>>>> the chart is out of date and still uses the original tmp file>>>>>>>>>> pathname>>>>>>>>>> which is no longer available. This means that the only way to>>>>>>>>>> update>>>>>>>>>> the application is to stop and restart the server.>>>>>>>>>>>>>>>>>>>> Cheers - Colin>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Link to comment
Share on other sites

Any progress on this?

"SoftwareFX Support" <noreply> wrote in message

news:zBeVRjU6FHA.468@webserver3.softwarefx.com...

> Ok, can you send us a sample that reproduces the setBorderObject error>

>

> Thanks,

> GA

> SoftwareFX

>

> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

> news:yFFtYlS6FHA.472@webserver3.softwarefx.com...

>> Numbers are from Specification-Version attribute of the manifest.mf in

>> chartfx.jar file.

>>

>> 6.2.1963.18239 fails for testJBOSS.war

>> 6.0.2020.19278 fails for testJBOSS.war

>> 6.2.2060.23875 works for testJBOSS.war but fails on setBorderObject error

>> in our app.

>>

>> Basically only the current beta version works with your test app but this

>> fails to run our existing app.

>>

>> Cheers - Colin

>>

>> "SoftwareFX Support" <noreply> wrote in message

>> news:gQ0NwDv5FHA.968@webserver3.softwarefx.com...

>>> Hi Colin, I'm confused with the versions...which version is the one

>>> working for you?

>>>

>>> Thanks,

>>> GA

>>>

>>>

>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>> news:PaLS01t5FHA.2724@webserver3.softwarefx.com...

>>>>I tried your war file without changing it and I get an error.

>>>>

>>>> The ChartFX.Internet.config file that I used has a "." for the

>>>> RequiredRoot element. The jsp page looks for the chart at

>>>> /chartfx/temp/xxx.png" and there is no chart file there.

>>>>

>>>> The manifest.mf file in chartfx.jar shows 6.2.1963.18239 as the

>>>> Specification-Version if that helps.

>>>>

>>>> I then upgraded to the latest service pack 6.0.2020 from the softwarefx

>>>> site with the same result.

>>>>

>>>> When I use the beta release the demo you sent works but our application

>>>> fails because of an exception: java.lang.NoSuchMethodError:

>>>> ChartServer.setBorderObject(java.lang.Object). This works on the

>>>> current release and no code changes were made for the test. I can't

>>>> release beta quality software to production. Do you know when the new

>>>> release is likely to be out of beta?

>>>>

>>>> Cheers - Colin

>>>>

>>>>

>>>>

>>>>

>>>> "SoftwareFX Support" <noreply> wrote in message

>>>> news:%234h3AXY5FHA.968@webserver3.softwarefx.com...

>>>>> Hi Colin, I apologize for the delay.

>>>>>

>>>>> This is what I did to get tit working on JBoss 4.0.2

>>>>>

>>>>> 1) I copied the following files to the default/lib folder:

>>>>> chartfx.jar,

>>>>> chartfx.annotation.jar,

>>>>> chartfx.map.jar,

>>>>> chartfx.polar.jar,

>>>>> jai_codec.jar,

>>>>> jai_core.jar,

>>>>> ChartFX.Internet.config,

>>>>> cfxjava.lic

>>>>>

>>>>> NOTE: al these files are from Chart FX for Java 6.2 Beta.

>>>>>

>>>>> 2) I created a small sample application with just one jsp,

>>>>> testJBOSS.war, which I'm attaching.

>>>>>

>>>>> 3) I placed testJBOSS.war in server/default/deploy

>>>>>

>>>>> 4) started JBoss

>>>>>

>>>>> 5) Open this URL http://localhost:8080/testJBOSS/Index.jsp and got a

>>>>> Chart.

>>>>>

>>>>> Please follow this steps and let me know if you get the same results.

>>>>>

>>>>> Regards,

>>>>> GA

>>>>>

>>>>>

>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>>> news:NMwPU2T5FHA.1996@webserver3.softwarefx.com...

>>>>>> any progress on this?

>>>>>>

>>>>>> "SoftwareFX Support" <noreply> wrote in message

>>>>>> news:b5ZoJim1FHA.1708@webserver3.softwarefx.com...

>>>>>>> Hi Colin,

>>>>>>>

>>>>>>> In Chart FX for Java 6.0, there are some problem when the jar,

>>>>>>> license and

>>>>>>> config file are not in the WEB-INF\lib. We were able to deploy in

>>>>>>> the

>>>>>>> class path in some environments, but it doesn't work in some others,

>>>>>>> JBoss

>>>>>>> being one of them.

>>>>>>>

>>>>>>> This has been changed in version 6.2, and we have successfully

>>>>>>> deployed

>>>>>>> the files in the common lib folders in several application servers,

>>>>>>> i.e,

>>>>>>> Tomcat, Sun, Oracle, etc.

>>>>>>>

>>>>>>> As I've said in my previous answer, I'm building a new Jboss server

>>>>>>> to

>>>>>>> test this scenario, I'm hopping to give you a definitive answer next

>>>>>>> Monday.

>>>>>>>

>>>>>>> Thanks,

>>>>>>> GA

>>>>>>>

>>>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>>>>> news:6K349ml1FHA.1724@webserver3.softwarefx.com...

>>>>>>>>I have obviously misread the documentation and assumed that wherever

>>>>>>>>I put

>>>>>>>>chartfx.jar I also had to put the license file. Whereas according to

>>>>>>>>the

>>>>>>>>manual "When Chart FX for Java is used in a webserver, this license

>>>>>>>>file,

>>>>>>>>cfxjava.lic file, must be located in the WEB-IF\lib folder of the

>>>>>>>>web

>>>>>>>>application; when used as part of a Class, the .lic must be located

>>>>>>>>in a

>>>>>>>>same location as the chartfx.jar file." file.

>>>>>>>>

>>>>>>>> This means that I have to build a separate war file and ear file

>>>>>>>> for each

>>>>>>>> target environment which is not ideal. Any chance of chartfx

>>>>>>>> looking for

>>>>>>>> the license file in the classpath rather than hard coding a path?

>>>>>>>>

>>>>>>>> - Colin

>>>>>>>>

>>>>>>>> "SoftwareFX Support" <noreply> wrote in message

>>>>>>>> news:UShM1c00FHA.1708@webserver3.softwarefx.com...

>>>>>>>>> Hi Colin,

>>>>>>>>>

>>>>>>>>> I apologize for the delay answering this post. Deploying the files

>>>>>>>>> is

>>>>>>>>> the server/default/lib should work, but I'll double check with

>>>>>>>>> Jboss and

>>>>>>>>> get back to you ASAP.

>>>>>>>>>

>>>>>>>>> Regarding the second comment, for performance reason the license

>>>>>>>>> and

>>>>>>>>> config are not read every time you generate a chart. The files

>>>>>>>>> are read

>>>>>>>>> at the very first time, and then every now and them. So if you

>>>>>>>>> make

>>>>>>>>> changes and test right away, you need to restart the application

>>>>>>>>> to

>>>>>>>>> force the re-load.

>>>>>>>>>

>>>>>>>>> Regards,

>>>>>>>>> GA

>>>>>>>>> Software FX, Inc.

>>>>>>>>>

>>>>>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>>>>>>> news:CLsWkaYzFHA.1856@webserver3.softwarefx.com...

>>>>>>>>>> Chartfx 6.2 on JBoss 4.0.2.

>>>>>>>>>>

>>>>>>>>>> We have an ear file that contains a war file and the war file

>>>>>>>>>> uses

>>>>>>>>>> chartfx.

>>>>>>>>>>

>>>>>>>>>> If I deploy chartfx separately from the war file I get an error.

>>>>>>>>>> (i.e.

>>>>>>>>>> chartfx.jar cfxjava.lic and ChartFX.Internet.config are in the

>>>>>>>>>> server/default/lib folder and referenced in the Class-Path:

>>>>>>>>>> attribute

>>>>>>>>>> of the war files Manifest.MF file) I get a chart which has the

>>>>>>>>>> text

>>>>>>>>>> "Invalid License (A00000). Please contact SoftwareFX Support".

>>>>>>>>>>

>>>>>>>>>> If I redploy the application at any time the URL that is

>>>>>>>>>> generated for

>>>>>>>>>> the chart is out of date and still uses the original tmp file

>>>>>>>>>> pathname

>>>>>>>>>> which is no longer available. This means that the only way to

>>>>>>>>>> update

>>>>>>>>>> the application is to stop and restart the server.

>>>>>>>>>>

>>>>>>>>>> Cheers - Colin

>>>>>>>>>>

>>>>>>>>>>

>>>>>>>>>>

>>>>>>>>>

>>>>>>>>>

>>>>>>>>

>>>>>>>>

>>>>>>>

>>>>>>>

>>>>>>

>>>>>>

>>>>>

>>>>>

>>>>>

>>>>

>>>>

>>>

>>>

>>

>>

>

>

Link to comment
Share on other sites

  • 2 months later...

Is anyone still looking into this issue?

"SoftwareFX Support" <noreply> wrote in message

news:zBeVRjU6FHA.468@webserver3.softwarefx.com...

> Ok, can you send us a sample that reproduces the setBorderObject error>

>

> Thanks,

> GA

> SoftwareFX

>

> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

> news:yFFtYlS6FHA.472@webserver3.softwarefx.com...

>> Numbers are from Specification-Version attribute of the manifest.mf in

>> chartfx.jar file.

>>

>> 6.2.1963.18239 fails for testJBOSS.war

>> 6.0.2020.19278 fails for testJBOSS.war

>> 6.2.2060.23875 works for testJBOSS.war but fails on setBorderObject error

>> in our app.

>>

>> Basically only the current beta version works with your test app but this

>> fails to run our existing app.

>>

>> Cheers - Colin

>>

>> "SoftwareFX Support" <noreply> wrote in message

>> news:gQ0NwDv5FHA.968@webserver3.softwarefx.com...

>>> Hi Colin, I'm confused with the versions...which version is the one

>>> working for you?

>>>

>>> Thanks,

>>> GA

>>>

>>>

>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>> news:PaLS01t5FHA.2724@webserver3.softwarefx.com...

>>>>I tried your war file without changing it and I get an error.

>>>>

>>>> The ChartFX.Internet.config file that I used has a "." for the

>>>> RequiredRoot element. The jsp page looks for the chart at

>>>> /chartfx/temp/xxx.png" and there is no chart file there.

>>>>

>>>> The manifest.mf file in chartfx.jar shows 6.2.1963.18239 as the

>>>> Specification-Version if that helps.

>>>>

>>>> I then upgraded to the latest service pack 6.0.2020 from the softwarefx

>>>> site with the same result.

>>>>

>>>> When I use the beta release the demo you sent works but our application

>>>> fails because of an exception: java.lang.NoSuchMethodError:

>>>> ChartServer.setBorderObject(java.lang.Object). This works on the

>>>> current release and no code changes were made for the test. I can't

>>>> release beta quality software to production. Do you know when the new

>>>> release is likely to be out of beta?

>>>>

>>>> Cheers - Colin

>>>>

>>>>

>>>>

>>>>

>>>> "SoftwareFX Support" <noreply> wrote in message

>>>> news:%234h3AXY5FHA.968@webserver3.softwarefx.com...

>>>>> Hi Colin, I apologize for the delay.

>>>>>

>>>>> This is what I did to get tit working on JBoss 4.0.2

>>>>>

>>>>> 1) I copied the following files to the default/lib folder:

>>>>> chartfx.jar,

>>>>> chartfx.annotation.jar,

>>>>> chartfx.map.jar,

>>>>> chartfx.polar.jar,

>>>>> jai_codec.jar,

>>>>> jai_core.jar,

>>>>> ChartFX.Internet.config,

>>>>> cfxjava.lic

>>>>>

>>>>> NOTE: al these files are from Chart FX for Java 6.2 Beta.

>>>>>

>>>>> 2) I created a small sample application with just one jsp,

>>>>> testJBOSS.war, which I'm attaching.

>>>>>

>>>>> 3) I placed testJBOSS.war in server/default/deploy

>>>>>

>>>>> 4) started JBoss

>>>>>

>>>>> 5) Open this URL http://localhost:8080/testJBOSS/Index.jsp and got a

>>>>> Chart.

>>>>>

>>>>> Please follow this steps and let me know if you get the same results.

>>>>>

>>>>> Regards,

>>>>> GA

>>>>>

>>>>>

>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>>> news:NMwPU2T5FHA.1996@webserver3.softwarefx.com...

>>>>>> any progress on this?

>>>>>>

>>>>>> "SoftwareFX Support" <noreply> wrote in message

>>>>>> news:b5ZoJim1FHA.1708@webserver3.softwarefx.com...

>>>>>>> Hi Colin,

>>>>>>>

>>>>>>> In Chart FX for Java 6.0, there are some problem when the jar,

>>>>>>> license and

>>>>>>> config file are not in the WEB-INF\lib. We were able to deploy in

>>>>>>> the

>>>>>>> class path in some environments, but it doesn't work in some others,

>>>>>>> JBoss

>>>>>>> being one of them.

>>>>>>>

>>>>>>> This has been changed in version 6.2, and we have successfully

>>>>>>> deployed

>>>>>>> the files in the common lib folders in several application servers,

>>>>>>> i.e,

>>>>>>> Tomcat, Sun, Oracle, etc.

>>>>>>>

>>>>>>> As I've said in my previous answer, I'm building a new Jboss server

>>>>>>> to

>>>>>>> test this scenario, I'm hopping to give you a definitive answer next

>>>>>>> Monday.

>>>>>>>

>>>>>>> Thanks,

>>>>>>> GA

>>>>>>>

>>>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>>>>> news:6K349ml1FHA.1724@webserver3.softwarefx.com...

>>>>>>>>I have obviously misread the documentation and assumed that wherever

>>>>>>>>I put

>>>>>>>>chartfx.jar I also had to put the license file. Whereas according to

>>>>>>>>the

>>>>>>>>manual "When Chart FX for Java is used in a webserver, this license

>>>>>>>>file,

>>>>>>>>cfxjava.lic file, must be located in the WEB-IF\lib folder of the

>>>>>>>>web

>>>>>>>>application; when used as part of a Class, the .lic must be located

>>>>>>>>in a

>>>>>>>>same location as the chartfx.jar file." file.

>>>>>>>>

>>>>>>>> This means that I have to build a separate war file and ear file

>>>>>>>> for each

>>>>>>>> target environment which is not ideal. Any chance of chartfx

>>>>>>>> looking for

>>>>>>>> the license file in the classpath rather than hard coding a path?

>>>>>>>>

>>>>>>>> - Colin

>>>>>>>>

>>>>>>>> "SoftwareFX Support" <noreply> wrote in message

>>>>>>>> news:UShM1c00FHA.1708@webserver3.softwarefx.com...

>>>>>>>>> Hi Colin,

>>>>>>>>>

>>>>>>>>> I apologize for the delay answering this post. Deploying the files

>>>>>>>>> is

>>>>>>>>> the server/default/lib should work, but I'll double check with

>>>>>>>>> Jboss and

>>>>>>>>> get back to you ASAP.

>>>>>>>>>

>>>>>>>>> Regarding the second comment, for performance reason the license

>>>>>>>>> and

>>>>>>>>> config are not read every time you generate a chart. The files

>>>>>>>>> are read

>>>>>>>>> at the very first time, and then every now and them. So if you

>>>>>>>>> make

>>>>>>>>> changes and test right away, you need to restart the application

>>>>>>>>> to

>>>>>>>>> force the re-load.

>>>>>>>>>

>>>>>>>>> Regards,

>>>>>>>>> GA

>>>>>>>>> Software FX, Inc.

>>>>>>>>>

>>>>>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>>>>>>> news:CLsWkaYzFHA.1856@webserver3.softwarefx.com...

>>>>>>>>>> Chartfx 6.2 on JBoss 4.0.2.

>>>>>>>>>>

>>>>>>>>>> We have an ear file that contains a war file and the war file

>>>>>>>>>> uses

>>>>>>>>>> chartfx.

>>>>>>>>>>

>>>>>>>>>> If I deploy chartfx separately from the war file I get an error.

>>>>>>>>>> (i.e.

>>>>>>>>>> chartfx.jar cfxjava.lic and ChartFX.Internet.config are in the

>>>>>>>>>> server/default/lib folder and referenced in the Class-Path:

>>>>>>>>>> attribute

>>>>>>>>>> of the war files Manifest.MF file) I get a chart which has the

>>>>>>>>>> text

>>>>>>>>>> "Invalid License (A00000). Please contact SoftwareFX Support".

>>>>>>>>>>

>>>>>>>>>> If I redploy the application at any time the URL that is

>>>>>>>>>> generated for

>>>>>>>>>> the chart is out of date and still uses the original tmp file

>>>>>>>>>> pathname

>>>>>>>>>> which is no longer available. This means that the only way to

>>>>>>>>>> update

>>>>>>>>>> the application is to stop and restart the server.

>>>>>>>>>>

>>>>>>>>>> Cheers - Colin

>>>>>>>>>>

>>>>>>>>>>

>>>>>>>>>>

>>>>>>>>>

>>>>>>>>>

>>>>>>>>

>>>>>>>>

>>>>>>>

>>>>>>>

>>>>>>

>>>>>>

>>>>>

>>>>>

>>>>>

>>>>

>>>>

>>>

>>>

>>

>>

>

>

Attachments.zip

Attachments.zip

Link to comment
Share on other sites

Hi Colin, I apologize for now getting back to you before.  The issue has 

been fixed in the release version of Chart FX for Java 6.2 (6.2.204).

Regarding 6.0, it haven't been fixed yet, but it in the to do list, and it

will be fixed for the next service pack.

Regards,

GA

"colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

news:KhMXxhoIGHA.476@webserver3.softwarefx.com...

> Is anyone still looking into this issue?

>

> "SoftwareFX Support" <noreply> wrote in message

> news:zBeVRjU6FHA.468@webserver3.softwarefx.com...

>> Ok, can you send us a sample that reproduces the setBorderObject error>

>>

>> Thanks,

>> GA

>> SoftwareFX

>>

>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>> news:yFFtYlS6FHA.472@webserver3.softwarefx.com...

>>> Numbers are from Specification-Version attribute of the manifest.mf in

>>> chartfx.jar file.

>>>

>>> 6.2.1963.18239 fails for testJBOSS.war

>>> 6.0.2020.19278 fails for testJBOSS.war

>>> 6.2.2060.23875 works for testJBOSS.war but fails on setBorderObject

>>> error in our app.

>>>

>>> Basically only the current beta version works with your test app but

>>> this fails to run our existing app.

>>>

>>> Cheers - Colin

>>>

>>> "SoftwareFX Support" <noreply> wrote in message

>>> news:gQ0NwDv5FHA.968@webserver3.softwarefx.com...

>>>> Hi Colin, I'm confused with the versions...which version is the one

>>>> working for you?

>>>>

>>>> Thanks,

>>>> GA

>>>>

>>>>

>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>> news:PaLS01t5FHA.2724@webserver3.softwarefx.com...

>>>>>I tried your war file without changing it and I get an error.

>>>>>

>>>>> The ChartFX.Internet.config file that I used has a "." for the

>>>>> RequiredRoot element. The jsp page looks for the chart at

>>>>> /chartfx/temp/xxx.png" and there is no chart file there.

>>>>>

>>>>> The manifest.mf file in chartfx.jar shows 6.2.1963.18239 as the

>>>>> Specification-Version if that helps.

>>>>>

>>>>> I then upgraded to the latest service pack 6.0.2020 from the

>>>>> softwarefx site with the same result.

>>>>>

>>>>> When I use the beta release the demo you sent works but our

>>>>> application fails because of an exception:

>>>>> java.lang.NoSuchMethodError:

>>>>> ChartServer.setBorderObject(java.lang.Object). This works on the

>>>>> current release and no code changes were made for the test. I can't

>>>>> release beta quality software to production. Do you know when the new

>>>>> release is likely to be out of beta?

>>>>>

>>>>> Cheers - Colin

>>>>>

>>>>>

>>>>>

>>>>>

>>>>> "SoftwareFX Support" <noreply> wrote in message

>>>>> news:%234h3AXY5FHA.968@webserver3.softwarefx.com...

>>>>>> Hi Colin, I apologize for the delay.

>>>>>>

>>>>>> This is what I did to get tit working on JBoss 4.0.2

>>>>>>

>>>>>> 1) I copied the following files to the default/lib folder:

>>>>>> chartfx.jar,

>>>>>> chartfx.annotation.jar,

>>>>>> chartfx.map.jar,

>>>>>> chartfx.polar.jar,

>>>>>> jai_codec.jar,

>>>>>> jai_core.jar,

>>>>>> ChartFX.Internet.config,

>>>>>> cfxjava.lic

>>>>>>

>>>>>> NOTE: al these files are from Chart FX for Java 6.2 Beta.

>>>>>>

>>>>>> 2) I created a small sample application with just one jsp,

>>>>>> testJBOSS.war, which I'm attaching.

>>>>>>

>>>>>> 3) I placed testJBOSS.war in server/default/deploy

>>>>>>

>>>>>> 4) started JBoss

>>>>>>

>>>>>> 5) Open this URL http://localhost:8080/testJBOSS/Index.jsp and got a

>>>>>> Chart.

>>>>>>

>>>>>> Please follow this steps and let me know if you get the same results.

>>>>>>

>>>>>> Regards,

>>>>>> GA

>>>>>>

>>>>>>

>>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>>>> news:NMwPU2T5FHA.1996@webserver3.softwarefx.com...

>>>>>>> any progress on this?

>>>>>>>

>>>>>>> "SoftwareFX Support" <noreply> wrote in message

>>>>>>> news:b5ZoJim1FHA.1708@webserver3.softwarefx.com...

>>>>>>>> Hi Colin,

>>>>>>>>

>>>>>>>> In Chart FX for Java 6.0, there are some problem when the jar,

>>>>>>>> license and

>>>>>>>> config file are not in the WEB-INF\lib. We were able to deploy in

>>>>>>>> the

>>>>>>>> class path in some environments, but it doesn't work in some

>>>>>>>> others, JBoss

>>>>>>>> being one of them.

>>>>>>>>

>>>>>>>> This has been changed in version 6.2, and we have successfully

>>>>>>>> deployed

>>>>>>>> the files in the common lib folders in several application servers,

>>>>>>>> i.e,

>>>>>>>> Tomcat, Sun, Oracle, etc.

>>>>>>>>

>>>>>>>> As I've said in my previous answer, I'm building a new Jboss server

>>>>>>>> to

>>>>>>>> test this scenario, I'm hopping to give you a definitive answer

>>>>>>>> next

>>>>>>>> Monday.

>>>>>>>>

>>>>>>>> Thanks,

>>>>>>>> GA

>>>>>>>>

>>>>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>>>>>> news:6K349ml1FHA.1724@webserver3.softwarefx.com...

>>>>>>>>>I have obviously misread the documentation and assumed that

>>>>>>>>>wherever I put

>>>>>>>>>chartfx.jar I also had to put the license file. Whereas according

>>>>>>>>>to the

>>>>>>>>>manual "When Chart FX for Java is used in a webserver, this license

>>>>>>>>>file,

>>>>>>>>>cfxjava.lic file, must be located in the WEB-IF\lib folder of the

>>>>>>>>>web

>>>>>>>>>application; when used as part of a Class, the .lic must be located

>>>>>>>>>in a

>>>>>>>>>same location as the chartfx.jar file." file.

>>>>>>>>>

>>>>>>>>> This means that I have to build a separate war file and ear file

>>>>>>>>> for each

>>>>>>>>> target environment which is not ideal. Any chance of chartfx

>>>>>>>>> looking for

>>>>>>>>> the license file in the classpath rather than hard coding a path?

>>>>>>>>>

>>>>>>>>> - Colin

>>>>>>>>>

>>>>>>>>> "SoftwareFX Support" <noreply> wrote in message

>>>>>>>>> news:UShM1c00FHA.1708@webserver3.softwarefx.com...

>>>>>>>>>> Hi Colin,

>>>>>>>>>>

>>>>>>>>>> I apologize for the delay answering this post. Deploying the

>>>>>>>>>> files is

>>>>>>>>>> the server/default/lib should work, but I'll double check with

>>>>>>>>>> Jboss and

>>>>>>>>>> get back to you ASAP.

>>>>>>>>>>

>>>>>>>>>> Regarding the second comment, for performance reason the license

>>>>>>>>>> and

>>>>>>>>>> config are not read every time you generate a chart. The files

>>>>>>>>>> are read

>>>>>>>>>> at the very first time, and then every now and them. So if you

>>>>>>>>>> make

>>>>>>>>>> changes and test right away, you need to restart the application

>>>>>>>>>> to

>>>>>>>>>> force the re-load.

>>>>>>>>>>

>>>>>>>>>> Regards,

>>>>>>>>>> GA

>>>>>>>>>> Software FX, Inc.

>>>>>>>>>>

>>>>>>>>>> "colin-mcfarlane" <colin-mcfarlane@supanet.com> wrote in message

>>>>>>>>>> news:CLsWkaYzFHA.1856@webserver3.softwarefx.com...

>>>>>>>>>>> Chartfx 6.2 on JBoss 4.0.2.

>>>>>>>>>>>

>>>>>>>>>>> We have an ear file that contains a war file and the war file

>>>>>>>>>>> uses

>>>>>>>>>>> chartfx.

>>>>>>>>>>>

>>>>>>>>>>> If I deploy chartfx separately from the war file I get an error.

>>>>>>>>>>> (i.e.

>>>>>>>>>>> chartfx.jar cfxjava.lic and ChartFX.Internet.config are in the

>>>>>>>>>>> server/default/lib folder and referenced in the Class-Path:

>>>>>>>>>>> attribute

>>>>>>>>>>> of the war files Manifest.MF file) I get a chart which has the

>>>>>>>>>>> text

>>>>>>>>>>> "Invalid License (A00000). Please contact SoftwareFX Support".

>>>>>>>>>>>

>>>>>>>>>>> If I redploy the application at any time the URL that is

>>>>>>>>>>> generated for

>>>>>>>>>>> the chart is out of date and still uses the original tmp file

>>>>>>>>>>> pathname

>>>>>>>>>>> which is no longer available. This means that the only way to

>>>>>>>>>>> update

>>>>>>>>>>> the application is to stop and restart the server.

>>>>>>>>>>>

>>>>>>>>>>> Cheers - Colin

>>>>>>>>>>>

>>>>>>>>>>>

>>>>>>>>>>>

>>>>>>>>>>

>>>>>>>>>>

>>>>>>>>>

>>>>>>>>>

>>>>>>>>

>>>>>>>>

>>>>>>>

>>>>>>>

>>>>>>

>>>>>>

>>>>>>

>>>>>

>>>>>

>>>>

>>>>

>>>

>>>

>>

>>

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...