Anne Forumer

Ranch Hand
+ Follow
since Apr 19, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Anne Forumer

I fixed it by moving the Type parameter from the method to interface declaration.

In any case, that turned out to be moot point as there are many other errors in code which you never claimed was working code. In any case, I learned a lot from this example.

Thanks
I am getting the following error on OrderDetail Class declaration!

The type GenerifiedVisitable is not generic; it cannot be parameterized with arguments <OrderDetail>

How can I fix this?

Thanks
I am looking for a more nimble alternative to a legacy Swing application which has many screens with lots of controls on each. These controls are simple: text boxes, check boxes and buttons. It's a client side application that communicates to a server. Almost certainly, I'd need both Java and JavaFX to coexist on client. I have two questions:

1. Would JavaFX be a good alternative? If not, what other alternatives do I have presuming it won't be a thin client

2. How convenient would it be for the UI to be validated using a rule engine which will need to be on Java side - I think?

I don't know JavaFX yet and am considering if I should delve into it.

Thanks in advance.
12 years ago
Any suggestions on how I can troubleshoot this issue? It seems like it is so close to working!

Thanks
That is true - none of that stuff.

There are HTML tags and one lonesome IMG tag. There are many empty lines between the beginning HTML tag and the IMG tag. It seems like blank lines were printed.
Could I do anything to troubleshoot? I do have cewolf source code. I could insert some System.out statements in the class that prints AREA tags - or anything else you suggest.

I did deploy your app as an exploded app so I can have better control. The charts print - just that tooltips and links are not working. It's the links that are important to me.

Thanks
I noticed another post here where they were not seeing tooltips either. That post recommended to use jfreechart-1.0.12 and jcommon-1.0.15. But I notice that you already included these in the package you posted.

I am really stumped and wishing this would work!
I just tried what you sent me. Unfortunately, same result. No javascript or AREA tags in the resulting page.

I removed the old .tld and overlib.js. I am glad you sent me the Java source as I had to recompile in Java 1.4. I think you had compiled it in 1.6. As before, I had to change the imageurl to /cewolf/. It seems that's what Orion expects.

How could I troubleshoot this? Why are no AREA tags or javascript in page?

Whatever the outcome, I really appreciate your help!

Thanks

This is what I see in server log:

10/17/11 3:47 PM Started
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: init
10/17/11 3:47 PM defaultWebApp: No Configuration for this context. Initializing.
10/17/11 3:47 PM defaultWebApp: configuring cewolf app..
10/17/11 3:47 PM defaultWebApp: using storage class de.laures.cewolf.storage.TransientSessionStorage
10/17/11 3:47 PM defaultWebApp: using overlibURL etc/overlib.js
10/17/11 3:47 PM defaultWebApp: max image width: 2048
10/17/11 3:47 PM defaultWebApp: max image height: 1024
10/17/11 3:47 PM defaultWebApp: debugging is turned on
10/17/11 3:47 PM defaultWebApp: ...done.
10/17/11 3:47 PM defaultWebApp: 2.0.7 Started
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: Cewolf request:
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: Actual Request values:
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: Request Parameter -> width Value -> 500
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: Request Parameter -> height Value -> 400
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: Request Parameter -> img Value -> -1291694829
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: Request Parameter -> iehack Value -> .png
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: Request Parameter -> removeAfterRendering Value -> true
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: ACCEPT: image/png, image/svg+xml, image/*;q=0.8, */*;q=0.5
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: REFERER: http://localhost/index.jsp
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: ACCEPT-LANGUAGE: en-US
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: USER-AGENT: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: ACCEPT-ENCODING: gzip, deflate
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: HOST: localhost
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: CONNECTION: Keep-Alive
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: CACHE-CONTROL: no-cache
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: COOKIE: GUID=1301339144148; JSESSIONID=PLFCDJGIGGPD
10/17/11 3:47 PM defaultWebApp: de.laures.cewolf.CewolfRenderer: creation time for chart -1291694829: 970ms.
The other dependency is Servlet engine. web.xml preample in cewolfexample.war is suggesting Servlet Engine 2.4. The Orion App Server I am using is older. Do you think that might be causing the errors I showed earlier. If so, I'm out of luck and have no alternative and must make the version I have work.

I just noticed that cewolf.tld version I am using, and is in cewolf distribution, is 1.1.

I look forward to your reply.

Thanks!
Thanks for checking!

Will the cewolfexample.war work with JDK 1.4.2? If so, I'll try to deploy it again seriously. I listed the errors, I received last time I tried, in an earlier post to this thread.
Please note that I am following the tutorial; not deploying cewolfexample.war. I created the test class of tutorial and deployed it in WEB-INF/classes. Deployed your jsp at the root of the folder and the libraries under EWB-INF/lib. overlib.js is in root folder of the app and I tried overliburl of, both, "overlib.js" and "/overlib.js".

I am not seeing any errors in the application log.

Is there I am doing something wrong?

Thanks
Tutorial - Partially solved. I used renderer="/cewolf/". The chart is showing up but no tool-tips or links. The rendered page simply has an image tag. No area or javascript. This is happening, both in IE and Chrome.

I have tried overliburl to be "overlib.js" and "/overlib.js" and overlib.js is both in default web app directory and the root of the servlet engine.

Thanks
Thank you for such a quick reply!!

To add to my Environment info:
I am using Java 1.4.2_19. cewolf version is 1.1.11

Unfortunately, I don't have the option to move to a newer server in the near future.

I did try to deploy the cewolfexample in an exploded form as a default app. Since orion complained about xmlns, I replaced it with a DOCTYPE tag that other apps in Orion use. I did get to the home page. But I couldn't deploy any of the jsp's. I got following errors:

10/16/11 1:30 PM defaultWebApp: Error parsing JSP page /tutorial.jsp
<PRE>Attribute of type 'java.io.Serializable' must be a request time attribute</PRE>
10/16/11 1:31 PM defaultWebApp: Error parsing JSP page /cewolfset.jsp
<PRE>Attribute of type 'java.io.Serializable' must be a request time attribute</PRE>
10/16/11 1:32 PM defaultWebApp: Error parsing JSP page /testpage.jsp
<PRE>Invalid integer attribute: ${params.gradientX1}</PRE>
10/16/11 1:32 PM defaultWebApp: Error parsing JSP page /testpage.jsp
<PRE>Invalid integer attribute: ${params.gradientX1}</PRE>

Does that tell you something? Any other information I can provide.

I look forward to your reply.

Thanks
I have scoured the internet for a solution. Although there is some discussion, I have not been able to solve my problem.

I have followed the instructions to deploy the tutorial given at http://cewolf.sourceforge.net/new/index.html. Also I have corrected the jsp for contents under cewolf:img tag. Before that I was getting the error: "id is not a valid attribute for tag map".

I have named the JSP in this tutorial to be cewolfTutorial.jsp and deployed it in the default-web-app directory of Orion 2.0.7 server. The servlet test mentioned in this tutorial is successful.

I invoke this JSP as http://localhost/cewolfTutorial.jsp

The page shows with its heading but the image is broken. I see the following in server access log:

127.0.0.1 - - [16/Oct/2011:12:43:51 -0800] "GET /cewolf;jsessionid=BNBJIHNMIOHO?img=1193763163&width=400&height=300&iehack=.png HTTP/1.1" 301 0

I'd greatly appreciate any help in making this work so I can proceed with cewolf for real work. This library looks quite attractive to me in its features.

Thanks
Thanks Pallav, but this doesn't answer my question.

Two different session beans may have obtained the same EntityManager and processing calls simultaneously. Unless each Session Bean receives a new EntityManager, it could cause problems - the way I see it. But I'm open to be corrected.