Jump to content
Software FX Community

Newbie test JSP


User (Legacy)

Recommended Posts

Dear Group,

I'm trying to get a test graph (community edition) showing in my existing

application, using a bit of sample code from the ChartFX website and

documentation. My JSP appears and the image placeholder is there. But no

image appears. I'm using Oracle 10g App Server on Linux to run the web apps.

When I view source, it points correctly I think to

<IMG SRC="/chartfx6/temp/CFT0211_03244129CBA.jpg" WIDTH="450" HEIGHT="280"

>

I have the .jar files in my application/WEB-INF/lib folder, and the

application/chartfx6/temp folder exists too.

Anyone have any suggestions? I installed the community edition on Windows,

but set up libraries in JBuilder 2005 to add the .jars direct to the linux

folders, so I don't think this is a problem. Might it be a licence issue?

The JSP code is below.......taken straight off the documentation

Thanks in advance

Iain

<%@page import="SoftwareFX.ChartFX.*"%>

<%

ChartServer chart1 = new ChartServer(application, request, response);

chart1.setGallery(Gallery.LINES);

// Pass 7 hours of data (15 min increment).

chart1.openData(COD.VALUES, 1, 28);

for (int i = 0; i < 28; i++)

chart1.setValue(0, i, java.lang.Math.random() * 80);

chart1.closeData(COD.VALUES);

// Assign all labels (this will help in tooltips)

java.util.Date dateTime = new java.util.Date(103, 5, 1, 9, 30, 0);

java.util.GregorianCalendar cal = new java.util.GregorianCalendar();

for (int j = 0; j < 28; j++) {

chart1.setLegend(j,

java.text.DateFormat.getTimeInstance(3).format(dateTime));

cal.setTime(dateTime);

cal.add(java.util.Calendar.MINUTE, 15);

dateTime = cal.getTime();

}

// Set the X axis

chart1.getAxisX().setStep((short) 4);

chart1.getAxisX().setFirstLabel((short) 3);

chart1.getAxisX().setMinorStep((short) 1);

chart1.getAxisX().setFont(new java.awt.Font("Verdana",

java.awt.Font.ROMAN_BASELINE, 9));

%>

<html>

<head>

<title>BirdTrack (BTO/RSPB/BWI)</title>

</head>

<body>

<%=chart1.getHtmlTag("450","280","PGN")%>

</body>

</html>

___________________________________________________________

British Trust for Ornithology, The Nunnery, Norfolk IP24 2PU, UK

Tel: +44 (0)1842 750050, fax: +44 (0)1842 750030

Link to comment
Share on other sites

Hi Ian,

Have you deployed the ChartFX.Internet.config? If that file is not present,

Chart FX for Java wouldn't know where to generate the image file. Is the

JPEG being generated in the /chartfx6/temp/ folder on the server?

If there is a license issue you will get an image with a license error.

GA

SoftwareFX

"Iain Downie" <iain.downie@bto.org> wrote in message

news:Q92ke%23EEFHA.768@webserver3.softwarefx.com...

> Dear Group,

>

> I'm trying to get a test graph (community edition) showing in my existing

> application, using a bit of sample code from the ChartFX website and

> documentation. My JSP appears and the image placeholder is there. But no

> image appears. I'm using Oracle 10g App Server on Linux to run the web

> apps.

>

> When I view source, it points correctly I think to

> <IMG SRC="/chartfx6/temp/CFT0211_03244129CBA.jpg" WIDTH="450"

> HEIGHT="280"

>>

>

> I have the .jar files in my application/WEB-INF/lib folder, and the

> application/chartfx6/temp folder exists too.

>

> Anyone have any suggestions? I installed the community edition on Windows,

> but set up libraries in JBuilder 2005 to add the .jars direct to the linux

> folders, so I don't think this is a problem. Might it be a licence issue?

>

> The JSP code is below.......taken straight off the documentation

> Thanks in advance

> Iain

>

> <%@page import="SoftwareFX.ChartFX.*"%>

> <%

> ChartServer chart1 = new ChartServer(application, request, response);

> chart1.setGallery(Gallery.LINES);

> // Pass 7 hours of data (15 min increment).

> chart1.openData(COD.VALUES, 1, 28);

> for (int i = 0; i < 28; i++)

> chart1.setValue(0, i, java.lang.Math.random() * 80);

> chart1.closeData(COD.VALUES);

> // Assign all labels (this will help in tooltips)

> java.util.Date dateTime = new java.util.Date(103, 5, 1, 9, 30, 0);

> java.util.GregorianCalendar cal = new java.util.GregorianCalendar();

> for (int j = 0; j < 28; j++) {

> chart1.setLegend(j,

> java.text.DateFormat.getTimeInstance(3).format(dateTime));

> cal.setTime(dateTime);

> cal.add(java.util.Calendar.MINUTE, 15);

> dateTime = cal.getTime();

> }

> // Set the X axis

> chart1.getAxisX().setStep((short) 4);

> chart1.getAxisX().setFirstLabel((short) 3);

> chart1.getAxisX().setMinorStep((short) 1);

> chart1.getAxisX().setFont(new java.awt.Font("Verdana",

> java.awt.Font.ROMAN_BASELINE, 9));

> %>

> <html>

> <head>

> <title>BirdTrack (BTO/RSPB/BWI)</title>

> </head>

> <body>

> <%=chart1.getHtmlTag("450","280","PGN")%>

> </body>

> </html>

>

> ___________________________________________________________

> British Trust for Ornithology, The Nunnery, Norfolk IP24 2PU, UK

> Tel: +44 (0)1842 750050, fax: +44 (0)1842 750030

Link to comment
Share on other sites

Dear GA,

thanks, but it still isn't working. The main installation produced

cfxjava.lic and ChartFX.Internet.config files in the /lib directory beside

the jai.jars etc., so I deployed these manually into the web applications

WEB-INF/lib beside the ChartFX and other .jars. When I restarted the

application and went to my test page, still no graph appeared, and nothing

in the temp folder either.

Also, I use JBuilder, and when I rebuild, everything in the lib folder is

replaced by the libraries I set up through JBuilder. I can't seem to set the

.lic or .config files to become a part of this rebuild, so I lose them

everytime I rebuild the application. Although this is not ChartFX's fault,

do you know of any way around this issue? This is only really pertinent if I

can get the bleedin' graphs showing in the first place!

Cheers for the help

Iain

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:xZ1TFSGEFHA.768@webserver3.softwarefx.com...

> Hi Ian,

>

> Have you deployed the ChartFX.Internet.config? If that file is not

present,

> Chart FX for Java wouldn't know where to generate the image file. Is the

> JPEG being generated in the /chartfx6/temp/ folder on the server?

>

> If there is a license issue you will get an image with a license error.

>

> GA

> SoftwareFX

>

>

> "Iain Downie" <iain.downie@bto.org> wrote in message

> news:Q92ke%23EEFHA.768@webserver3.softwarefx.com...

> > Dear Group,

> >

> > I'm trying to get a test graph (community edition) showing in my

existing

> > application, using a bit of sample code from the ChartFX website and

> > documentation. My JSP appears and the image placeholder is there. But no

> > image appears. I'm using Oracle 10g App Server on Linux to run the web

> > apps.

> >

> > When I view source, it points correctly I think to

> > <IMG SRC="/chartfx6/temp/CFT0211_03244129CBA.jpg" WIDTH="450"

> > HEIGHT="280"

> >>

> >

> > I have the .jar files in my application/WEB-INF/lib folder, and the

> > application/chartfx6/temp folder exists too.

> >

> > Anyone have any suggestions? I installed the community edition on

Windows,

> > but set up libraries in JBuilder 2005 to add the .jars direct to the

linux

> > folders, so I don't think this is a problem. Might it be a licence

issue?

> >

> > The JSP code is below.......taken straight off the documentation

> > Thanks in advance

> > Iain

> >

> > <%@page import="SoftwareFX.ChartFX.*"%>

> > <%

> > ChartServer chart1 = new ChartServer(application, request, response);

> > chart1.setGallery(Gallery.LINES);

> > // Pass 7 hours of data (15 min increment).

> > chart1.openData(COD.VALUES, 1, 28);

> > for (int i = 0; i < 28; i++)

> > chart1.setValue(0, i, java.lang.Math.random() * 80);

> > chart1.closeData(COD.VALUES);

> > // Assign all labels (this will help in tooltips)

> > java.util.Date dateTime = new java.util.Date(103, 5, 1, 9, 30, 0);

> > java.util.GregorianCalendar cal = new java.util.GregorianCalendar();

> > for (int j = 0; j < 28; j++) {

> > chart1.setLegend(j,

> > java.text.DateFormat.getTimeInstance(3).format(dateTime));

> > cal.setTime(dateTime);

> > cal.add(java.util.Calendar.MINUTE, 15);

> > dateTime = cal.getTime();

> > }

> > // Set the X axis

> > chart1.getAxisX().setStep((short) 4);

> > chart1.getAxisX().setFirstLabel((short) 3);

> > chart1.getAxisX().setMinorStep((short) 1);

> > chart1.getAxisX().setFont(new java.awt.Font("Verdana",

> > java.awt.Font.ROMAN_BASELINE, 9));

> > %>

> > <html>

> > <head>

> > <title>BirdTrack (BTO/RSPB/BWI)</title>

> > </head>

> > <body>

> > <%=chart1.getHtmlTag("450","280","PGN")%>

> > </body>

> > </html>

> >

> > ___________________________________________________________

> > British Trust for Ornithology, The Nunnery, Norfolk IP24 2PU, UK

> > Tel: +44 (0)1842 750050, fax: +44 (0)1842 750030

Link to comment
Share on other sites

Hi Iain,

First lets try to figure out why it is not working when you deploy the files

manually. I don't have a Oracle 10g AS but I'm in process of building one.

We have tested Chart FX for Java on 9g though.

Could you take a look to the server logs and see if there is any error or

exception thrown that may help us to identify the issue? Also, is your

server headless?

Thanks,

Gabriel

"Iain Downie" <iain.downie@bto.org> wrote in message

news:i8m3N0nEFHA.768@webserver3.softwarefx.com...

> Dear GA,

>

> thanks, but it still isn't working. The main installation produced

> cfxjava.lic and ChartFX.Internet.config files in the /lib directory beside

> the jai.jars etc., so I deployed these manually into the web applications

> WEB-INF/lib beside the ChartFX and other .jars. When I restarted the

> application and went to my test page, still no graph appeared, and nothing

> in the temp folder either.

>

> Also, I use JBuilder, and when I rebuild, everything in the lib folder is

> replaced by the libraries I set up through JBuilder. I can't seem to set

> the

> .lic or .config files to become a part of this rebuild, so I lose them

> everytime I rebuild the application. Although this is not ChartFX's fault,

> do you know of any way around this issue? This is only really pertinent if

> I

> can get the bleedin' graphs showing in the first place!

>

> Cheers for the help

> Iain

>

> "SoftwareFX Support" <noreply@softwarefx.com> wrote in message

> news:xZ1TFSGEFHA.768@webserver3.softwarefx.com...

>> Hi Ian,

>>

>> Have you deployed the ChartFX.Internet.config? If that file is not

> present,

>> Chart FX for Java wouldn't know where to generate the image file. Is the

>> JPEG being generated in the /chartfx6/temp/ folder on the server?

>>

>> If there is a license issue you will get an image with a license error.

>>

>> GA

>> SoftwareFX

>>

>>

>> "Iain Downie" <iain.downie@bto.org> wrote in message

>> news:Q92ke%23EEFHA.768@webserver3.softwarefx.com...

>> > Dear Group,

>> >

>> > I'm trying to get a test graph (community edition) showing in my

> existing

>> > application, using a bit of sample code from the ChartFX website and

>> > documentation. My JSP appears and the image placeholder is there. But

>> > no

>> > image appears. I'm using Oracle 10g App Server on Linux to run the web

>> > apps.

>> >

>> > When I view source, it points correctly I think to

>> > <IMG SRC="/chartfx6/temp/CFT0211_03244129CBA.jpg" WIDTH="450"

>> > HEIGHT="280"

>> >>

>> >

>> > I have the .jar files in my application/WEB-INF/lib folder, and the

>> > application/chartfx6/temp folder exists too.

>> >

>> > Anyone have any suggestions? I installed the community edition on

> Windows,

>> > but set up libraries in JBuilder 2005 to add the .jars direct to the

> linux

>> > folders, so I don't think this is a problem. Might it be a licence

> issue?

>> >

>> > The JSP code is below.......taken straight off the documentation

>> > Thanks in advance

>> > Iain

>> >

>> > <%@page import="SoftwareFX.ChartFX.*"%>

>> > <%

>> > ChartServer chart1 = new ChartServer(application, request, response);

>> > chart1.setGallery(Gallery.LINES);

>> > // Pass 7 hours of data (15 min increment).

>> > chart1.openData(COD.VALUES, 1, 28);

>> > for (int i = 0; i < 28; i++)

>> > chart1.setValue(0, i, java.lang.Math.random() * 80);

>> > chart1.closeData(COD.VALUES);

>> > // Assign all labels (this will help in tooltips)

>> > java.util.Date dateTime = new java.util.Date(103, 5, 1, 9, 30, 0);

>> > java.util.GregorianCalendar cal = new java.util.GregorianCalendar();

>> > for (int j = 0; j < 28; j++) {

>> > chart1.setLegend(j,

>> > java.text.DateFormat.getTimeInstance(3).format(dateTime));

>> > cal.setTime(dateTime);

>> > cal.add(java.util.Calendar.MINUTE, 15);

>> > dateTime = cal.getTime();

>> > }

>> > // Set the X axis

>> > chart1.getAxisX().setStep((short) 4);

>> > chart1.getAxisX().setFirstLabel((short) 3);

>> > chart1.getAxisX().setMinorStep((short) 1);

>> > chart1.getAxisX().setFont(new java.awt.Font("Verdana",

>> > java.awt.Font.ROMAN_BASELINE, 9));

>> > %>

>> > <html>

>> > <head>

>> > <title>BirdTrack (BTO/RSPB/BWI)</title>

>> > </head>

>> > <body>

>> > <%=chart1.getHtmlTag("450","280","PGN")%>

>> > </body>

>> > </html>

>> >

>> > ___________________________________________________________

>> > British Trust for Ornithology, The Nunnery, Norfolk IP24 2PU, UK

>> > Tel: +44 (0)1842 750050, fax: +44 (0)1842 750030

Link to comment
Share on other sites

Gabriel...

> First lets try to figure out why it is not working when you deploy the

files

> manually. I don't have a Oracle 10g AS but I'm in process of building

one.

> We have tested Chart FX for Java on 9g though.

Vaguely similar (9i and 10g) in their core set up.

> Could you take a look to the server logs and see if there is any error or

> exception thrown that may help us to identify the issue? Also, is your

> server headless?

There was nothing coming into the specific application logs that I have for

the web application that calls the chartfx test code I posted earlier. I

then looked at the access log, and saw the following when I try to call

it.....

193.195.133.99 - - [15/Feb/2005:09:35:02 +0000] "GET

/chartfx6/temp/CFT0215_0934571B2BB.jpg HTTP/1.1" 404 326

I then looked at the error logs and saw.....

[Tue Feb 15 09:35:02 2005] [error] [client 193.195.133.99] [ecid:

1108460102:127.0.0.1:10892:0:2,0] File does not exist:

/home/oracle/oracleas/Apache/Apache/htdocs/chartfx6/temp/CFT0215_0934571B2BB

.jpg

This made me think that I was set up wrong. I thought that the ChartFX and

chart6fx folders had to be at the root level of the application, not the

server. So I quickly built the required folders within htdocs as specified

above, restarted and tried again.....still no luck, and no graphs getting

deposited in either location.

Regarding HEADLESS? I'm not sure. Is there an easy way to tell? I am not

getting any of the DISPLAY errors support describe in Q8001019 or Q8001020.

I am using JDK1.4, so am fairly up to date. I can use JFreeChart and Cewolf

no bother (so I presume the Headless is not an issue as graphs are being

rendered), but I wanted to explore how flexible ChartFX is as I found Cewolf

quite difficult to customise.

Thanks for taking the time to look into this.

Regards

Iain

Link to comment
Share on other sites

Iain, I built a Oracle 10g application server.  Then I made a test 

application and packaged it in a war file, which I deployed using the Oracle

Administrative Console, and it seems to work.

Then a remembered that in our testing with Oracle9g we ran into the same

issues: the application need to be deployed to work. I guess the deployment

procedure sets some particular configuration that is required by the server.

This is not rare though, we've found many application servers that require

deployment using their tools to work properly, Weblogic and Sun Webserver

come to mind.

I have attached the war file I used to deploy, can you try deploying it on

your server to see if it works?

Regards,

GA

Software FX

"Iain Downie" <iain.downie@bto.org> wrote in message

news:EYWdfR0EFHA.2536@webserver3.softwarefx.com...

> Gabriel...

>

>> First lets try to figure out why it is not working when you deploy the

> files

>> manually. I don't have a Oracle 10g AS but I'm in process of building

> one.

>> We have tested Chart FX for Java on 9g though.

>

> Vaguely similar (9i and 10g) in their core set up.

>

>

>> Could you take a look to the server logs and see if there is any error or

>> exception thrown that may help us to identify the issue? Also, is your

>> server headless?

>

> There was nothing coming into the specific application logs that I have

> for

> the web application that calls the chartfx test code I posted earlier. I

> then looked at the access log, and saw the following when I try to call

> it.....

>

> 193.195.133.99 - - [15/Feb/2005:09:35:02 +0000] "GET

> /chartfx6/temp/CFT0215_0934571B2BB.jpg HTTP/1.1" 404 326

>

> I then looked at the error logs and saw.....

>

> [Tue Feb 15 09:35:02 2005] [error] [client 193.195.133.99] [ecid:

> 1108460102:127.0.0.1:10892:0:2,0] File does not exist:

> /home/oracle/oracleas/Apache/Apache/htdocs/chartfx6/temp/CFT0215_0934571B2BB

> .jpg

>

> This made me think that I was set up wrong. I thought that the ChartFX and

> chart6fx folders had to be at the root level of the application, not the

> server. So I quickly built the required folders within htdocs as specified

> above, restarted and tried again.....still no luck, and no graphs getting

> deposited in either location.

>

> Regarding HEADLESS? I'm not sure. Is there an easy way to tell? I am not

> getting any of the DISPLAY errors support describe in Q8001019 or

> Q8001020.

> I am using JDK1.4, so am fairly up to date. I can use JFreeChart and

> Cewolf

> no bother (so I presume the Headless is not an issue as graphs are being

> rendered), but I wanted to explore how flexible ChartFX is as I found

> Cewolf

> quite difficult to customise.

>

> Thanks for taking the time to look into this.

> Regards

> Iain

>

>

Link to comment
Share on other sites

Iain, I built a Oracle 10g application server.  Then I made a test 

application and packaged it in a war file, which I deployed using the Oracle

Administrative Console, and it seems to work.

Then a remembered that in our testing with Oracle9g we ran into the same

issues: the application need to be deployed to work. I guess the deployment

procedure sets some particular configuration that is required by the server.

This is not rare though, we've found many application servers that require

deployment using their tools to work properly, Weblogic and Sun Webserver

come to mind.

I have attached the war file I used to deploy, can you try deploying it on

your server to see if it works?

Regards,

GA

Software FX

"Iain Downie" <iain.downie@bto.org> wrote in message

news:EYWdfR0EFHA.2536@webserver3.softwarefx.com...

> Gabriel...

>

>> First lets try to figure out why it is not working when you deploy the

> files

>> manually. I don't have a Oracle 10g AS but I'm in process of building

> one.

>> We have tested Chart FX for Java on 9g though.

>

> Vaguely similar (9i and 10g) in their core set up.

>

>

>> Could you take a look to the server logs and see if there is any error or

>> exception thrown that may help us to identify the issue? Also, is your

>> server headless?

>

> There was nothing coming into the specific application logs that I have

> for

> the web application that calls the chartfx test code I posted earlier. I

> then looked at the access log, and saw the following when I try to call

> it.....

>

> 193.195.133.99 - - [15/Feb/2005:09:35:02 +0000] "GET

> /chartfx6/temp/CFT0215_0934571B2BB.jpg HTTP/1.1" 404 326

>

> I then looked at the error logs and saw.....

>

> [Tue Feb 15 09:35:02 2005] [error] [client 193.195.133.99] [ecid:

> 1108460102:127.0.0.1:10892:0:2,0] File does not exist:

> /home/oracle/oracleas/Apache/Apache/htdocs/chartfx6/temp/CFT0215_0934571B2BB

> .jpg

>

> This made me think that I was set up wrong. I thought that the ChartFX and

> chart6fx folders had to be at the root level of the application, not the

> server. So I quickly built the required folders within htdocs as specified

> above, restarted and tried again.....still no luck, and no graphs getting

> deposited in either location.

>

> Regarding HEADLESS? I'm not sure. Is there an easy way to tell? I am not

> getting any of the DISPLAY errors support describe in Q8001019 or

> Q8001020.

> I am using JDK1.4, so am fairly up to date. I can use JFreeChart and

> Cewolf

> no bother (so I presume the Headless is not an issue as graphs are being

> rendered), but I wanted to explore how flexible ChartFX is as I found

> Cewolf

> quite difficult to customise.

>

> Thanks for taking the time to look into this.

> Regards

> Iain

>

>

Link to comment
Share on other sites

Iain, I built a Oracle 10g application server.  Then I made a test

application and packaged it in a war file, which I deployed using the Oracle

Administrative Console, and it seems to work.

Then a remembered that in our testing with Oracle9g we ran into the same

issues: the application need to be deployed to work. I guess the deployment

procedure sets some particular configuration that is required by the server.

This is not rare though, we've found many application servers that require

deployment using their tools to work properly, Weblogic and Sun Webserver

come to mind.

You can download the war file I use for this test here:

ftp://download.softwarefx.com/files/cfxjavatest.war. Can you try deploying

it on

your server to see if it works?

Regards,

GA

Software FX

"Iain Downie" <iain.downie@bto.org> wrote in message

news:EYWdfR0EFHA.2536@webserver3.softwarefx.com...

> Gabriel...

>

>> First lets try to figure out why it is not working when you deploy the

> files

>> manually. I don't have a Oracle 10g AS but I'm in process of building

> one.

>> We have tested Chart FX for Java on 9g though.

>

> Vaguely similar (9i and 10g) in their core set up.

>

>

>> Could you take a look to the server logs and see if there is any error or

>> exception thrown that may help us to identify the issue? Also, is your

>> server headless?

>

> There was nothing coming into the specific application logs that I have

> for

> the web application that calls the chartfx test code I posted earlier. I

> then looked at the access log, and saw the following when I try to call

> it.....

>

> 193.195.133.99 - - [15/Feb/2005:09:35:02 +0000] "GET

> /chartfx6/temp/CFT0215_0934571B2BB.jpg HTTP/1.1" 404 326

>

> I then looked at the error logs and saw.....

>

> [Tue Feb 15 09:35:02 2005] [error] [client 193.195.133.99] [ecid:

> 1108460102:127.0.0.1:10892:0:2,0] File does not exist:

> /home/oracle/oracleas/Apache/Apache/htdocs/chartfx6/temp/CFT0215_0934571B2BB

> .jpg

>

> This made me think that I was set up wrong. I thought that the ChartFX and

> chart6fx folders had to be at the root level of the application, not the

> server. So I quickly built the required folders within htdocs as specified

> above, restarted and tried again.....still no luck, and no graphs getting

> deposited in either location.

>

> Regarding HEADLESS? I'm not sure. Is there an easy way to tell? I am not

> getting any of the DISPLAY errors support describe in Q8001019 or

> Q8001020.

> I am using JDK1.4, so am fairly up to date. I can use JFreeChart and

> Cewolf

> no bother (so I presume the Headless is not an issue as graphs are being

> rendered), but I wanted to explore how flexible ChartFX is as I found

> Cewolf

> quite difficult to customise.

>

> Thanks for taking the time to look into this.

> Regards

> Iain

>

>

Link to comment
Share on other sites

Gabriel,

I used the Enterprise Manager to sucessfully deploy the .war you provided.

However, when I try to view http://myserver/chartfxtest I get a 'You are not

authorised to view this page'. I have deployed some of my own WAR files this

way perfectly, so I know this system works, and don't think it a permissions

thing with Oracle.

If this is becoming too much hassle for SoftwareFX, then I'll try

alternative graphing API's as I don't want to take up valuable time. I have

issues with Oracle 10g anyway, which mean I don't like using the .war or

.ear deployment. I prefer to edit my JSP's on the fly, which means that I

would rather the web applications were manually deployed and accessible in a

common folder. Admittedly I do have a costly rebuild time constraint

everytime I modify a class.......can't have everything!

Regards

Iain

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:35IwAD5EFHA.2544@webserver3.softwarefx.com...

> Iain, I built a Oracle 10g application server. Then I made a test

> application and packaged it in a war file, which I deployed using the

Oracle

> Administrative Console, and it seems to work.

>

> Then a remembered that in our testing with Oracle9g we ran into the same

> issues: the application need to be deployed to work. I guess the

deployment

> procedure sets some particular configuration that is required by the

server.

> This is not rare though, we've found many application servers that require

> deployment using their tools to work properly, Weblogic and Sun Webserver

> come to mind.

>

> You can download the war file I use for this test here:

> ftp://download.softwarefx.com/files/cfxjavatest.war. Can you try deploying

> it on

> your server to see if it works?

>

> Regards,

> GA

> Software FX

>

>

> "Iain Downie" <iain.downie@bto.org> wrote in message

> news:EYWdfR0EFHA.2536@webserver3.softwarefx.com...

> > Gabriel...

> >

> >> First lets try to figure out why it is not working when you deploy the

> > files

> >> manually. I don't have a Oracle 10g AS but I'm in process of building

> > one.

> >> We have tested Chart FX for Java on 9g though.

> >

> > Vaguely similar (9i and 10g) in their core set up.

> >

> >

> >> Could you take a look to the server logs and see if there is any error

or

> >> exception thrown that may help us to identify the issue? Also, is

your

> >> server headless?

> >

> > There was nothing coming into the specific application logs that I have

> > for

> > the web application that calls the chartfx test code I posted earlier. I

> > then looked at the access log, and saw the following when I try to call

> > it.....

> >

> > 193.195.133.99 - - [15/Feb/2005:09:35:02 +0000] "GET

> > /chartfx6/temp/CFT0215_0934571B2BB.jpg HTTP/1.1" 404 326

> >

> > I then looked at the error logs and saw.....

> >

> > [Tue Feb 15 09:35:02 2005] [error] [client 193.195.133.99] [ecid:

> > 1108460102:127.0.0.1:10892:0:2,0] File does not exist:

> >

/home/oracle/oracleas/Apache/Apache/htdocs/chartfx6/temp/CFT0215_0934571B2BB

> > .jpg

> >

> > This made me think that I was set up wrong. I thought that the ChartFX

and

> > chart6fx folders had to be at the root level of the application, not the

> > server. So I quickly built the required folders within htdocs as

specified

> > above, restarted and tried again.....still no luck, and no graphs

getting

> > deposited in either location.

> >

> > Regarding HEADLESS? I'm not sure. Is there an easy way to tell? I am not

> > getting any of the DISPLAY errors support describe in Q8001019 or

> > Q8001020.

> > I am using JDK1.4, so am fairly up to date. I can use JFreeChart and

> > Cewolf

> > no bother (so I presume the Headless is not an issue as graphs are being

> > rendered), but I wanted to explore how flexible ChartFX is as I found

> > Cewolf

> > quite difficult to customise.

> >

> > Thanks for taking the time to look into this.

> > Regards

> > Iain

> >

> >

>

>

>

Link to comment
Share on other sites

Iain,  it is not hassle at all, it's just the Java world :-).  I believe you 

get the error when you try http://myserver/chartfxtest because directory

browsing is not allowed by default, and my sample page is called test.jsp.

Try this: http://myserver/chartfxtest//test.jsp.

The deal with deploying the war file is just for the initial deployment. I

guess Oracle requires some specific configuration for the web applications,

which is automatically done when you deploy from within the server.

However, after the original deployment, you can change your jsp and add new

files, and everything will work.

GA,

SoftwareFX

"Iain Downie" <iain.downie@bto.org> wrote in message

news:orFBspAFFHA.768@webserver3.softwarefx.com...

> Gabriel,

>

> I used the Enterprise Manager to sucessfully deploy the .war you provided.

> However, when I try to view http://myserver/chartfxtest I get a 'You are

> not

> authorised to view this page'. I have deployed some of my own WAR files

> this

> way perfectly, so I know this system works, and don't think it a

> permissions

> thing with Oracle.

>

> If this is becoming too much hassle for SoftwareFX, then I'll try

> alternative graphing API's as I don't want to take up valuable time. I

> have

> issues with Oracle 10g anyway, which mean I don't like using the .war or

> .ear deployment. I prefer to edit my JSP's on the fly, which means that I

> would rather the web applications were manually deployed and accessible in

> a

> common folder. Admittedly I do have a costly rebuild time constraint

> everytime I modify a class.......can't have everything!

>

> Regards

> Iain

>

>

>

> "SoftwareFX Support" <noreply@softwarefx.com> wrote in message

> news:35IwAD5EFHA.2544@webserver3.softwarefx.com...

>> Iain, I built a Oracle 10g application server. Then I made a test

>> application and packaged it in a war file, which I deployed using the

> Oracle

>> Administrative Console, and it seems to work.

>>

>> Then a remembered that in our testing with Oracle9g we ran into the same

>> issues: the application need to be deployed to work. I guess the

> deployment

>> procedure sets some particular configuration that is required by the

> server.

>> This is not rare though, we've found many application servers that

>> require

>> deployment using their tools to work properly, Weblogic and Sun Webserver

>> come to mind.

>>

>> You can download the war file I use for this test here:

>> ftp://download.softwarefx.com/files/cfxjavatest.war. Can you try

>> deploying

>> it on

>> your server to see if it works?

>>

>> Regards,

>> GA

>> Software FX

>>

>>

>> "Iain Downie" <iain.downie@bto.org> wrote in message

>> news:EYWdfR0EFHA.2536@webserver3.softwarefx.com...

>> > Gabriel...

>> >

>> >> First lets try to figure out why it is not working when you deploy the

>> > files

>> >> manually. I don't have a Oracle 10g AS but I'm in process of building

>> > one.

>> >> We have tested Chart FX for Java on 9g though.

>> >

>> > Vaguely similar (9i and 10g) in their core set up.

>> >

>> >

>> >> Could you take a look to the server logs and see if there is any error

> or

>> >> exception thrown that may help us to identify the issue? Also, is

> your

>> >> server headless?

>> >

>> > There was nothing coming into the specific application logs that I have

>> > for

>> > the web application that calls the chartfx test code I posted earlier.

>> > I

>> > then looked at the access log, and saw the following when I try to call

>> > it.....

>> >

>> > 193.195.133.99 - - [15/Feb/2005:09:35:02 +0000] "GET

>> > /chartfx6/temp/CFT0215_0934571B2BB.jpg HTTP/1.1" 404 326

>> >

>> > I then looked at the error logs and saw.....

>> >

>> > [Tue Feb 15 09:35:02 2005] [error] [client 193.195.133.99] [ecid:

>> > 1108460102:127.0.0.1:10892:0:2,0] File does not exist:

>> >

> /home/oracle/oracleas/Apache/Apache/htdocs/chartfx6/temp/CFT0215_0934571B2BB

>> > .jpg

>> >

>> > This made me think that I was set up wrong. I thought that the ChartFX

> and

>> > chart6fx folders had to be at the root level of the application, not

>> > the

>> > server. So I quickly built the required folders within htdocs as

> specified

>> > above, restarted and tried again.....still no luck, and no graphs

> getting

>> > deposited in either location.

>> >

>> > Regarding HEADLESS? I'm not sure. Is there an easy way to tell? I am

>> > not

>> > getting any of the DISPLAY errors support describe in Q8001019 or

>> > Q8001020.

>> > I am using JDK1.4, so am fairly up to date. I can use JFreeChart and

>> > Cewolf

>> > no bother (so I presume the Headless is not an issue as graphs are

>> > being

>> > rendered), but I wanted to explore how flexible ChartFX is as I found

>> > Cewolf

>> > quite difficult to customise.

>> >

>> > Thanks for taking the time to look into this.

>> > Regards

>> > Iain

>> >

>> >

>>

>>

>>

>

>

Link to comment
Share on other sites

Yep, that worked....I did try 'index.jsp', 'chart.jsp' etc., but didn't

think of test.jsp. The graph shows fine.

Thanks for the discussion on deployment within Oracle 10g. However, I don't

know if it is just my installation, or the fact that I'm using JBuilder, but

manipulating classes during development is a real pig.

I used to use JBuilder 7 and Oracle 9i. All I needed to do during

development was to 'make' my classes. If, sometimes Oracle OC4J didn't

reflect my changes, all I had to do was 'touch' my web.xml file and it

showed no bother, and any changes to JSP were of course instant. This meant

that I didn't need to deploy either!

Now, with Oracle 10g, 'make' from JBuilder 2005 is not recognised, even if

I go and touch the web.xml file. I find I have to rebuild (which takes ages)

and it also completely replaces the entire contents of LIB and CLASSES

folder (hence the problem we are having).

I think that 10g deploy is great when going to Live, but useless when

constantly changing classes etc.

Cheers

Iain

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:JPGSZoDFFHA.2536@webserver3.softwarefx.com...

> Iain, it is not hassle at all, it's just the Java world :-). I believe

you

> get the error when you try http://myserver/chartfxtest because directory

> browsing is not allowed by default, and my sample page is called test.jsp.

> Try this: http://myserver/chartfxtest//test.jsp.

>

> The deal with deploying the war file is just for the initial deployment. I

> guess Oracle requires some specific configuration for the web

applications,

> which is automatically done when you deploy from within the server.

> However, after the original deployment, you can change your jsp and add

new

> files, and everything will work.

>

> GA,

> SoftwareFX

>

>

> "Iain Downie" <iain.downie@bto.org> wrote in message

> news:orFBspAFFHA.768@webserver3.softwarefx.com...

> > Gabriel,

> >

> > I used the Enterprise Manager to sucessfully deploy the .war you

provided.

> > However, when I try to view http://myserver/chartfxtest I get a 'You are

> > not

> > authorised to view this page'. I have deployed some of my own WAR files

> > this

> > way perfectly, so I know this system works, and don't think it a

> > permissions

> > thing with Oracle.

> >

> > If this is becoming too much hassle for SoftwareFX, then I'll try

> > alternative graphing API's as I don't want to take up valuable time. I

> > have

> > issues with Oracle 10g anyway, which mean I don't like using the .war or

> > .ear deployment. I prefer to edit my JSP's on the fly, which means that

I

> > would rather the web applications were manually deployed and accessible

in

> > a

> > common folder. Admittedly I do have a costly rebuild time constraint

> > everytime I modify a class.......can't have everything!

> >

> > Regards

> > Iain

> >

> >

> >

> > "SoftwareFX Support" <noreply@softwarefx.com> wrote in message

> > news:35IwAD5EFHA.2544@webserver3.softwarefx.com...

> >> Iain, I built a Oracle 10g application server. Then I made a test

> >> application and packaged it in a war file, which I deployed using the

> > Oracle

> >> Administrative Console, and it seems to work.

> >>

> >> Then a remembered that in our testing with Oracle9g we ran into the

same

> >> issues: the application need to be deployed to work. I guess the

> > deployment

> >> procedure sets some particular configuration that is required by the

> > server.

> >> This is not rare though, we've found many application servers that

> >> require

> >> deployment using their tools to work properly, Weblogic and Sun

Webserver

> >> come to mind.

> >>

> >> You can download the war file I use for this test here:

> >> ftp://download.softwarefx.com/files/cfxjavatest.war. Can you try

> >> deploying

> >> it on

> >> your server to see if it works?

> >>

> >> Regards,

> >> GA

> >> Software FX

> >>

> >>

> >> "Iain Downie" <iain.downie@bto.org> wrote in message

> >> news:EYWdfR0EFHA.2536@webserver3.softwarefx.com...

> >> > Gabriel...

> >> >

> >> >> First lets try to figure out why it is not working when you deploy

the

> >> > files

> >> >> manually. I don't have a Oracle 10g AS but I'm in process of

building

> >> > one.

> >> >> We have tested Chart FX for Java on 9g though.

> >> >

> >> > Vaguely similar (9i and 10g) in their core set up.

> >> >

> >> >

> >> >> Could you take a look to the server logs and see if there is any

error

> > or

> >> >> exception thrown that may help us to identify the issue? Also, is

> > your

> >> >> server headless?

> >> >

> >> > There was nothing coming into the specific application logs that I

have

> >> > for

> >> > the web application that calls the chartfx test code I posted

earlier.

> >> > I

> >> > then looked at the access log, and saw the following when I try to

call

> >> > it.....

> >> >

> >> > 193.195.133.99 - - [15/Feb/2005:09:35:02 +0000] "GET

> >> > /chartfx6/temp/CFT0215_0934571B2BB.jpg HTTP/1.1" 404 326

> >> >

> >> > I then looked at the error logs and saw.....

> >> >

> >> > [Tue Feb 15 09:35:02 2005] [error] [client 193.195.133.99] [ecid:

> >> > 1108460102:127.0.0.1:10892:0:2,0] File does not exist:

> >> >

> >

/home/oracle/oracleas/Apache/Apache/htdocs/chartfx6/temp/CFT0215_0934571B2BB

> >> > .jpg

> >> >

> >> > This made me think that I was set up wrong. I thought that the

ChartFX

> > and

> >> > chart6fx folders had to be at the root level of the application, not

> >> > the

> >> > server. So I quickly built the required folders within htdocs as

> > specified

> >> > above, restarted and tried again.....still no luck, and no graphs

> > getting

> >> > deposited in either location.

> >> >

> >> > Regarding HEADLESS? I'm not sure. Is there an easy way to tell? I am

> >> > not

> >> > getting any of the DISPLAY errors support describe in Q8001019 or

> >> > Q8001020.

> >> > I am using JDK1.4, so am fairly up to date. I can use JFreeChart and

> >> > Cewolf

> >> > no bother (so I presume the Headless is not an issue as graphs are

> >> > being

> >> > rendered), but I wanted to explore how flexible ChartFX is as I found

> >> > Cewolf

> >> > quite difficult to customise.

> >> >

> >> > Thanks for taking the time to look into this.

> >> > Regards

> >> > Iain

> >> >

> >> >

> >>

> >>

> >>

> >

> >

>

>

Link to comment
Share on other sites

I have recently installed JBuilder 2005 and had the same problem you are 

describing, it would delete the WEB-INF/Lib contents. I found that you can

configure this behavior in the Application Properties, there is a "Clean"

option where you can prevent the files to be deleted when you build. But

so far I haven't been able to deploy to any server...so I can not help you

with the Oracle issue.

Thanks,

GA

Software FX.

"Iain Downie" <iain.downie@bto.org> wrote in message

news:6MpKqlEFFHA.768@webserver3.softwarefx.com...

> Yep, that worked....I did try 'index.jsp', 'chart.jsp' etc., but didn't

> think of test.jsp. The graph shows fine.

>

> Thanks for the discussion on deployment within Oracle 10g. However, I

> don't

> know if it is just my installation, or the fact that I'm using JBuilder,

> but

> manipulating classes during development is a real pig.

>

> I used to use JBuilder 7 and Oracle 9i. All I needed to do during

> development was to 'make' my classes. If, sometimes Oracle OC4J didn't

> reflect my changes, all I had to do was 'touch' my web.xml file and it

> showed no bother, and any changes to JSP were of course instant. This

> meant

> that I didn't need to deploy either!

>

> Now, with Oracle 10g, 'make' from JBuilder 2005 is not recognised, even

> if

> I go and touch the web.xml file. I find I have to rebuild (which takes

> ages)

> and it also completely replaces the entire contents of LIB and CLASSES

> folder (hence the problem we are having).

>

> I think that 10g deploy is great when going to Live, but useless when

> constantly changing classes etc.

>

> Cheers

> Iain

>

>

> "SoftwareFX Support" <noreply@softwarefx.com> wrote in message

> news:JPGSZoDFFHA.2536@webserver3.softwarefx.com...

>> Iain, it is not hassle at all, it's just the Java world :-). I believe

> you

>> get the error when you try http://myserver/chartfxtest because directory

>> browsing is not allowed by default, and my sample page is called

>> test.jsp.

>> Try this: http://myserver/chartfxtest//test.jsp.

>>

>> The deal with deploying the war file is just for the initial deployment.

>> I

>> guess Oracle requires some specific configuration for the web

> applications,

>> which is automatically done when you deploy from within the server.

>> However, after the original deployment, you can change your jsp and add

> new

>> files, and everything will work.

>>

>> GA,

>> SoftwareFX

>>

>>

>> "Iain Downie" <iain.downie@bto.org> wrote in message

>> news:orFBspAFFHA.768@webserver3.softwarefx.com...

>> > Gabriel,

>> >

>> > I used the Enterprise Manager to sucessfully deploy the .war you

> provided.

>> > However, when I try to view http://myserver/chartfxtest I get a 'You

>> > are

>> > not

>> > authorised to view this page'. I have deployed some of my own WAR files

>> > this

>> > way perfectly, so I know this system works, and don't think it a

>> > permissions

>> > thing with Oracle.

>> >

>> > If this is becoming too much hassle for SoftwareFX, then I'll try

>> > alternative graphing API's as I don't want to take up valuable time. I

>> > have

>> > issues with Oracle 10g anyway, which mean I don't like using the .war

>> > or

>> > .ear deployment. I prefer to edit my JSP's on the fly, which means that

> I

>> > would rather the web applications were manually deployed and accessible

> in

>> > a

>> > common folder. Admittedly I do have a costly rebuild time constraint

>> > everytime I modify a class.......can't have everything!

>> >

>> > Regards

>> > Iain

>> >

>> >

>> >

>> > "SoftwareFX Support" <noreply@softwarefx.com> wrote in message

>> > news:35IwAD5EFHA.2544@webserver3.softwarefx.com...

>> >> Iain, I built a Oracle 10g application server. Then I made a test

>> >> application and packaged it in a war file, which I deployed using the

>> > Oracle

>> >> Administrative Console, and it seems to work.

>> >>

>> >> Then a remembered that in our testing with Oracle9g we ran into the

> same

>> >> issues: the application need to be deployed to work. I guess the

>> > deployment

>> >> procedure sets some particular configuration that is required by the

>> > server.

>> >> This is not rare though, we've found many application servers that

>> >> require

>> >> deployment using their tools to work properly, Weblogic and Sun

> Webserver

>> >> come to mind.

>> >>

>> >> You can download the war file I use for this test here:

>> >> ftp://download.softwarefx.com/files/cfxjavatest.war. Can you try

>> >> deploying

>> >> it on

>> >> your server to see if it works?

>> >>

>> >> Regards,

>> >> GA

>> >> Software FX

>> >>

>> >>

>> >> "Iain Downie" <iain.downie@bto.org> wrote in message

>> >> news:EYWdfR0EFHA.2536@webserver3.softwarefx.com...

>> >> > Gabriel...

>> >> >

>> >> >> First lets try to figure out why it is not working when you deploy

> the

>> >> > files

>> >> >> manually. I don't have a Oracle 10g AS but I'm in process of

> building

>> >> > one.

>> >> >> We have tested Chart FX for Java on 9g though.

>> >> >

>> >> > Vaguely similar (9i and 10g) in their core set up.

>> >> >

>> >> >

>> >> >> Could you take a look to the server logs and see if there is any

> error

>> > or

>> >> >> exception thrown that may help us to identify the issue? Also, is

>> > your

>> >> >> server headless?

>> >> >

>> >> > There was nothing coming into the specific application logs that I

> have

>> >> > for

>> >> > the web application that calls the chartfx test code I posted

> earlier.

>> >> > I

>> >> > then looked at the access log, and saw the following when I try to

> call

>> >> > it.....

>> >> >

>> >> > 193.195.133.99 - - [15/Feb/2005:09:35:02 +0000] "GET

>> >> > /chartfx6/temp/CFT0215_0934571B2BB.jpg HTTP/1.1" 404 326

>> >> >

>> >> > I then looked at the error logs and saw.....

>> >> >

>> >> > [Tue Feb 15 09:35:02 2005] [error] [client 193.195.133.99] [ecid:

>> >> > 1108460102:127.0.0.1:10892:0:2,0] File does not exist:

>> >> >

>> >

> /home/oracle/oracleas/Apache/Apache/htdocs/chartfx6/temp/CFT0215_0934571B2BB

>> >> > .jpg

>> >> >

>> >> > This made me think that I was set up wrong. I thought that the

> ChartFX

>> > and

>> >> > chart6fx folders had to be at the root level of the application, not

>> >> > the

>> >> > server. So I quickly built the required folders within htdocs as

>> > specified

>> >> > above, restarted and tried again.....still no luck, and no graphs

>> > getting

>> >> > deposited in either location.

>> >> >

>> >> > Regarding HEADLESS? I'm not sure. Is there an easy way to tell? I am

>> >> > not

>> >> > getting any of the DISPLAY errors support describe in Q8001019 or

>> >> > Q8001020.

>> >> > I am using JDK1.4, so am fairly up to date. I can use JFreeChart and

>> >> > Cewolf

>> >> > no bother (so I presume the Headless is not an issue as graphs are

>> >> > being

>> >> > rendered), but I wanted to explore how flexible ChartFX is as I

>> >> > found

>> >> > Cewolf

>> >> > quite difficult to customise.

>> >> >

>> >> > Thanks for taking the time to look into this.

>> >> > Regards

>> >> > Iain

>> >> >

>> >> >

>> >>

>> >>

>> >>

>> >

>> >

>>

>>

>

>

Link to comment
Share on other sites

Thanks for the tip, deleting the 'remove all files in WEB-INF/lib' through

clean speeds up my 'rebuild' considerably. You are right though, this

doesn't help with Oracle (I tried).

It's a pity, but I'll have to revert to Cewolf, and I find that so difficult

to 'tweak'.

Again, thanks for all the time you've put in.

Regards

Iain

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:rvPeT0EFFHA.768@webserver3.softwarefx.com...

> I have recently installed JBuilder 2005 and had the same problem you are

> describing, it would delete the WEB-INF/Lib contents. I found that you

can

> configure this behavior in the Application Properties, there is a "Clean"

> option where you can prevent the files to be deleted when you build. But

> so far I haven't been able to deploy to any server...so I can not help you

> with the Oracle issue.

>

> Thanks,

> GA

> Software FX.

>

>

> "Iain Downie" <iain.downie@bto.org> wrote in message

> news:6MpKqlEFFHA.768@webserver3.softwarefx.com...

> > Yep, that worked....I did try 'index.jsp', 'chart.jsp' etc., but didn't

> > think of test.jsp. The graph shows fine.

> >

> > Thanks for the discussion on deployment within Oracle 10g. However, I

> > don't

> > know if it is just my installation, or the fact that I'm using JBuilder,

> > but

> > manipulating classes during development is a real pig.

> >

> > I used to use JBuilder 7 and Oracle 9i. All I needed to do during

> > development was to 'make' my classes. If, sometimes Oracle OC4J didn't

> > reflect my changes, all I had to do was 'touch' my web.xml file and it

> > showed no bother, and any changes to JSP were of course instant. This

> > meant

> > that I didn't need to deploy either!

> >

> > Now, with Oracle 10g, 'make' from JBuilder 2005 is not recognised, even

> > if

> > I go and touch the web.xml file. I find I have to rebuild (which takes

> > ages)

> > and it also completely replaces the entire contents of LIB and CLASSES

> > folder (hence the problem we are having).

> >

> > I think that 10g deploy is great when going to Live, but useless when

> > constantly changing classes etc.

> >

> > Cheers

> > Iain

> >

> >

> > "SoftwareFX Support" <noreply@softwarefx.com> wrote in message

> > news:JPGSZoDFFHA.2536@webserver3.softwarefx.com...

> >> Iain, it is not hassle at all, it's just the Java world :-). I

believe

> > you

> >> get the error when you try http://myserver/chartfxtest because

directory

> >> browsing is not allowed by default, and my sample page is called

> >> test.jsp.

> >> Try this: http://myserver/chartfxtest//test.jsp.

> >>

> >> The deal with deploying the war file is just for the initial

deployment.

> >> I

> >> guess Oracle requires some specific configuration for the web

> > applications,

> >> which is automatically done when you deploy from within the server.

> >> However, after the original deployment, you can change your jsp and add

> > new

> >> files, and everything will work.

> >>

> >> GA,

> >> SoftwareFX

> >>

> >>

> >> "Iain Downie" <iain.downie@bto.org> wrote in message

> >> news:orFBspAFFHA.768@webserver3.softwarefx.com...

> >> > Gabriel,

> >> >

> >> > I used the Enterprise Manager to sucessfully deploy the .war you

> > provided.

> >> > However, when I try to view http://myserver/chartfxtest I get a 'You

> >> > are

> >> > not

> >> > authorised to view this page'. I have deployed some of my own WAR

files

> >> > this

> >> > way perfectly, so I know this system works, and don't think it a

> >> > permissions

> >> > thing with Oracle.

> >> >

> >> > If this is becoming too much hassle for SoftwareFX, then I'll try

> >> > alternative graphing API's as I don't want to take up valuable time.

I

> >> > have

> >> > issues with Oracle 10g anyway, which mean I don't like using the .war

> >> > or

> >> > .ear deployment. I prefer to edit my JSP's on the fly, which means

that

> > I

> >> > would rather the web applications were manually deployed and

accessible

> > in

> >> > a

> >> > common folder. Admittedly I do have a costly rebuild time constraint

> >> > everytime I modify a class.......can't have everything!

> >> >

> >> > Regards

> >> > Iain

> >> >

> >> >

> >> >

> >> > "SoftwareFX Support" <noreply@softwarefx.com> wrote in message

> >> > news:35IwAD5EFHA.2544@webserver3.softwarefx.com...

> >> >> Iain, I built a Oracle 10g application server. Then I made a test

> >> >> application and packaged it in a war file, which I deployed using

the

> >> > Oracle

> >> >> Administrative Console, and it seems to work.

> >> >>

> >> >> Then a remembered that in our testing with Oracle9g we ran into the

> > same

> >> >> issues: the application need to be deployed to work. I guess the

> >> > deployment

> >> >> procedure sets some particular configuration that is required by the

> >> > server.

> >> >> This is not rare though, we've found many application servers that

> >> >> require

> >> >> deployment using their tools to work properly, Weblogic and Sun

> > Webserver

> >> >> come to mind.

> >> >>

> >> >> You can download the war file I use for this test here:

> >> >> ftp://download.softwarefx.com/files/cfxjavatest.war. Can you try

> >> >> deploying

> >> >> it on

> >> >> your server to see if it works?

> >> >>

> >> >> Regards,

> >> >> GA

> >> >> Software FX

> >> >>

> >> >>

> >> >> "Iain Downie" <iain.downie@bto.org> wrote in message

> >> >> news:EYWdfR0EFHA.2536@webserver3.softwarefx.com...

> >> >> > Gabriel...

> >> >> >

> >> >> >> First lets try to figure out why it is not working when you

deploy

> > the

> >> >> > files

> >> >> >> manually. I don't have a Oracle 10g AS but I'm in process of

> > building

> >> >> > one.

> >> >> >> We have tested Chart FX for Java on 9g though.

> >> >> >

> >> >> > Vaguely similar (9i and 10g) in their core set up.

> >> >> >

> >> >> >

> >> >> >> Could you take a look to the server logs and see if there is any

> > error

> >> > or

> >> >> >> exception thrown that may help us to identify the issue? Also,

is

> >> > your

> >> >> >> server headless?

> >> >> >

> >> >> > There was nothing coming into the specific application logs that I

> > have

> >> >> > for

> >> >> > the web application that calls the chartfx test code I posted

> > earlier.

> >> >> > I

> >> >> > then looked at the access log, and saw the following when I try to

> > call

> >> >> > it.....

> >> >> >

> >> >> > 193.195.133.99 - - [15/Feb/2005:09:35:02 +0000] "GET

> >> >> > /chartfx6/temp/CFT0215_0934571B2BB.jpg HTTP/1.1" 404 326

> >> >> >

> >> >> > I then looked at the error logs and saw.....

> >> >> >

> >> >> > [Tue Feb 15 09:35:02 2005] [error] [client 193.195.133.99] [ecid:

> >> >> > 1108460102:127.0.0.1:10892:0:2,0] File does not exist:

> >> >> >

> >> >

> >

/home/oracle/oracleas/Apache/Apache/htdocs/chartfx6/temp/CFT0215_0934571B2BB

> >> >> > .jpg

> >> >> >

> >> >> > This made me think that I was set up wrong. I thought that the

> > ChartFX

> >> > and

> >> >> > chart6fx folders had to be at the root level of the application,

not

> >> >> > the

> >> >> > server. So I quickly built the required folders within htdocs as

> >> > specified

> >> >> > above, restarted and tried again.....still no luck, and no graphs

> >> > getting

> >> >> > deposited in either location.

> >> >> >

> >> >> > Regarding HEADLESS? I'm not sure. Is there an easy way to tell? I

am

> >> >> > not

> >> >> > getting any of the DISPLAY errors support describe in Q8001019 or

> >> >> > Q8001020.

> >> >> > I am using JDK1.4, so am fairly up to date. I can use JFreeChart

and

> >> >> > Cewolf

> >> >> > no bother (so I presume the Headless is not an issue as graphs are

> >> >> > being

> >> >> > rendered), but I wanted to explore how flexible ChartFX is as I

> >> >> > found

> >> >> > Cewolf

> >> >> > quite difficult to customise.

> >> >> >

> >> >> > Thanks for taking the time to look into this.

> >> >> > Regards

> >> >> > Iain

> >> >> >

> >> >> >

> >> >>

> >> >>

> >> >>

> >> >

> >> >

> >>

> >>

> >

> >

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...