Error when launching Presto Wires Composer - too much recursion

monika7
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 02/05/2009
Points: 60

I am unable to lanuch Presto Wires from the the main page of Presto Server. When I click "create mashups" link, new tab is launched in the browser with "Starting Wires" message, but shortly I get an popup with "too much recursion" error.

I am using Preston 2.6.1 in Firefox 3.0.6 on Mac OS X 10.5.6 and have Javascript and cookies enabled for localhost:7070 (port number in which I run Presto Server). When I check error console, I see multiple JS errors.

I have killed the browser and started again, but I still get the same error.

Monika

 

0
Your rating: None
kishores
User offline. Last seen 1 year 4 days ago. Offline
Joined: 09/22/2008
Points: 81

Hi,

Can you please try the following:

1) Clean up the Cache in the browser. To do this in Firefox -> Tools - Clear Private Data - Select Cache - Clear Private Data.

2) Shutdown Firefox and bring it up again.

3) Navigate to http://server:port/wires

If you still see the error, please post it here.

monika7
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 02/05/2009
Points: 60

Cleaning cache makes no difference. I still get the same popup with "too much recursion" error when launching Wires.

I see no errors in presto2.6.1/server/apache-tomcat-5.5.20/logs/catalina.out except for the following (when I access main presto page: http://localhost:7070/presto/home/):

2009-02-23 14:49:32,613 ERROR [HttpProxyManager.class] -

I double checked the value of our http proxy server and I am certain, it is correct.

Here is a full list of errors displayed in Firefox Error Console when launching Wires (http://localhost:7070/wires).

Warning: Error in parsing value for property 'padding'. Declaration dropped.
Source file: http://localhost:7070/static/wires/js/mxGraph/css/common.css
Line: 121
----------
Warning: Error in parsing value for property 'padding'. Declaration dropped.
Source file: http://localhost:7070/static/wires/js/mxGraph/css/common.css
Line: 126
----------
Error: not well-formed
Source file: http://localhost:7070/static/wires/js/mxGraph/js/resources/graph.properties
Line: 1, Column: 17
Source code:
alreadyConnected=Nodes are already connected
----------
Error: not well-formed
Source file: http://localhost:7070/static/wires/js/mxGraph/js/resources/graph_en.prop...
Line: 1, Column: 17
Source code:
alreadyConnected=Nodes are already connected
----------
Error: not well-formed
Source file: http://localhost:7070/static/wires/js/mxGraph/js/resources/editor.proper...
Line: 1, Column: 8
Source code:
askZoom=Enter zoom (%)
----------
Error: not well-formed
Source file: http://localhost:7070/static/wires/js/mxGraph/js/resources/editor_en.pro...
Line: 1, Column: 8
Source code:
askZoom=Enter zoom (%)
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/masher.css
Line: 113
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/masher.css
Line: 118
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/masher.css
Line: 121
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/masher.css
Line: 123
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/masher.css
Line: 127
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/masher.css
Line: 150
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/masher.css
Line: 151
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/masher.css
Line: 158
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/masher.css
Line: 163
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/masher.css
Line: 168
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/wires/css/composer.css
Line: 978
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 17
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 21
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 49
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 83
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 93
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 106
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 163
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 183
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 269
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 283
----------
Warning: Unknown property 'text-overflow'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 324
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 481
----------
Warning: Error in parsing value for property 'white-space'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 602
----------
Warning: Error in parsing value for property 'white-space'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 603
----------
Warning: Unknown property 'word-wrap'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 604
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 605
----------
Warning: Error in parsing value for property 'width'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 742
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 755
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 953
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 958
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 976
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 1122
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 1124
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 1193
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 1247
----------
Warning: Unknown property 'text-overflow'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 1269
----------
Warning: Error in parsing value for property '-moz-user-select'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 1337
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 1385
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 1493
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 1766
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 1816
----------
Warning: Error in parsing value for property 'left'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 1829
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2073
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2086
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2250
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2325
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2330
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2340
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2345
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2354
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2359
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2460
----------
Warning: Error in parsing value for property 'filter'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2465
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2511
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2656
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2766
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2783
----------
Warning: Expected end of value for property but found '4'. Error in parsing value for property 'margin'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2797
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2798
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2809
----------
Warning: Error in parsing value for property 'white-space'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2875
----------
Warning: Error in parsing value for property 'white-space'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2876
----------
Warning: Unknown property 'word-wrap'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2877
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2905
----------
Warning: Unknown property 'zoom'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2912
----------
Warning: Unknown property 'text-overflow'. Declaration dropped.
Source file: http://localhost:7070/static/common/js/ext/resources/css/ext-all.css
Line: 2931

monika7
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 02/05/2009
Points: 60

As a test I installed Presto Mashup Server in VM Windows XP partition and I was able to start Wires composer.
It looks like the problem exists on Mac OS. I am running version 10.5.6 (Leopard) with java 1.6.

Is Presto Mashup server supported on Mac OS?

aishmishra
aishmishra's picture
User offline. Last seen 25 weeks 3 days ago. Offline
Joined: 09/24/2008
Points: 3

Hi Monika,

Presto Mashup Server and Wires both are certified on Mac OS. Many of us have been using it. This is the information we have of your environment.

  • Presto 2.6.1
  • Firefox 3.0.6
  • Mac OSX 10.5.6
  • JavaScript and Cookies enabled for localhost:7070
  • JDK 6

Is there any proxy/firewall involved?

It worked for you in Windows - did Windows have the same settings in terms of JavaScript and Cookies permissions?

Can you try with JDK5? Some of us have used JDK6 though not necessarily on Mac OS.

 Thanks a lot for your patience.

monika7
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 02/05/2009
Points: 60

I am confirming the configuration:
* Presto 2.6.1
* Firefox 3.0.6
* Mac OSX 10.5.6
* JavaScript and Cookies enabled for localhost:7070
* JDK 6

The firewall on Mac is currently disabled. There is company wide proxy server via which all external traffic goes through but I already configured Presto server (via Admin console) with the proxy settings. Same proxy settings were configured in Presto on VM Windows XP.
I also went over plugins I have installed in both browsers and made sure they are the same.

I switched command line $JAVA_HOME from java 6 to java 5 as well went to JavaPreferences app and change default Java for applets and applications to Java 5. Restarted Presto repository and server, cleaned up Firefox cache, restarted browser and tried to access http://localhost:7070/wires.
Same problem : "too much recursion" error after which I am redirected to the main Login page: http://localhost:7070/presto/home/login.html

monika7
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 02/05/2009
Points: 60

A bit more information that may help debug the problem.

If I run Presto Server on Windows XP (VM version) and point my Firefox 3.0.6 browser on Mac to it, I don't have a problem with starting Wires Composer. I can also start Wires Composer on XP pointing to Presto server running on Mac.

It's only when Presto Server runs on Mac (both Java 5 and 6) and I use Firefox on the same computer when 'too much recursion' error shows in my browser.
Just to be sure the software didn't get corrupted, I deleted the old installation and set new one on Mac with all default ports. That didn't make any difference.

kishores
User offline. Last seen 1 year 4 days ago. Offline
Joined: 09/22/2008
Points: 81

Thanks for providing this information. We will try this scenario in our envirtonement.

monika7
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 02/05/2009
Points: 60

Last, but not least, I installed Presto on Linux Red Hat 5 and launched Wires composer from Firefox on Mac. This time I also got 'too much recursion' in my browser.

aishmishra
aishmishra's picture
User offline. Last seen 25 weeks 3 days ago. Offline
Joined: 09/24/2008
Points: 3

Hi Monika,

Can you share with us the size of your memory on Mac?

Also when you are accessing it on Mac browser from any of the machines which gives the recursion error - are sample services or sample mashups registered on that machine?

girish
girish's picture
User offline. Last seen 8 weeks 6 days ago. Offline
Joined: 09/22/2008
Points: 70

Yes, Mashup server is very much supported on Mac OS (both jdk1.4 and 1.5 are supported).

let's try this.

1. to make sure the recursion is not because of loading services at Wires startup time, can we reset the Presto repository (CAUTION: this will remove all the registered services/mashups/mashlets, etc. So please do this step only if are certain about it).

1. stop presto server (remove the log files so that we can get fresh log files)

2. start presto repository

3. execute <presto_home>/prestorepository/hsqldb/rebuildDB.sh (this will reset the DB)

4. now, start presto server

5. load wires

6. if the error shows up, pleaes attach the server log files (catalina.out and catalina.<date>.log)

 

- Girish@JackBe

dhesson
User offline. Last seen 3 years 10 weeks ago. Offline
Joined: 03/09/2009
Points: 0

Just did a fresh install of Presto Mashup Server and tried to run Wires in Firefox  3.0.7, JDK1.5.0_10, Windows XP, 3GB ram.  Getting this same JavaScript : Too Much Recursion error.

monika7
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 02/05/2009
Points: 60

Somehow I missed this question (sorry, but the forum interface is not very user friendly and email notifications don't help much either), so here is late answer.

I have 4 GB RAM on my MacBook Pro and the Presto installation on the same Mac had all the examples installed.
On the other hand, Presto installation on Linux, didn't have any examples installed when I tried to access it from Mac browser.

The changes I made to Linux Presto installation: all port numbers in the setup script where changed from 8*** to 6*** and I set http proxy via Presto Admin console.

BTW, I had to go to Tomcat server.xml and change one more port: AJP 1.3 Connector on port 8009 (we run many copies of Tomcat on that linux machine). You may want to add this port to your setup script.

monika7
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 02/05/2009
Points: 60

I tried your instructions and this hasn't helped. I would like to attach a log file, but I honestly don't know how to do it, using this forum interface.

BTW, I was tailing the log while running Presto and the only error I have seen is:
java.net.UnknownHostException: www.jackbe.com, which is shows because I haven't reset the http proxy via the Admin UI after rebuilding the presto database.

When I try to launch wires, there is only one message at INFO level:
Mar 10, 2009 9:14:36 AM com.metaparadigm.jsonrpc.BeanSerializer analyzeBean
INFO: analyzing com.jackbe.jbp.sas.rds.ui.TagCloud

dhesson
User offline. Last seen 3 years 10 weeks ago. Offline
Joined: 03/09/2009
Points: 0

I agree.  Searching for replies is not very ideal :( 

dhesson
User offline. Last seen 3 years 10 weeks ago. Offline
Joined: 03/09/2009
Points: 0

Ok, get this...  I was going to open Fiddler2 and monitor the outgoing AJAX requests from Wires to see if there was some recursing JavaScript request.  Now Fiddler will only capture requests that it doesn't think are over localhost.  So you have to change the URL a little bit.

Thus, I added a period after localhost when accessing Wires, such as http://localhost.:8383/presto/home/  then I accessed the wires page.  And wow, it loaded no issues.  So give that a shot (notice the period after localhost, its very hard to see)

kishores
User offline. Last seen 1 year 4 days ago. Offline
Joined: 09/22/2008
Points: 81

Still scratching my head about why it worked when you added the "." after the localhost :)

Did you try using the IP address of the server instead of localhost ?

P.S: We have already reported to the concerned people about the Forum usability issues. Hopefully, it will be fixed soon.

dhesson
User offline. Last seen 3 years 10 weeks ago. Offline
Joined: 03/09/2009
Points: 0

Using the IP address works as well.  As soon as I enter localhost, I get the recursion again. 

monika7
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 02/05/2009
Points: 60

Wow, using IP address works for me as well (for local Mac and Linx server installation). That is a very helpful workaround, because it was major pain to run server under Windows XP VM.

BTW, this maybe some weird env. config issue because I asked another person to connect from their Mac to the Presto server installed on Linux and they had no problems while using hostname (tried Firefox both in safe mode and with installed plugins)

 

 

girish
girish's picture
User offline. Last seen 8 weeks 6 days ago. Offline
Joined: 09/22/2008
Points: 70

can you check the mapping for localhost in /etc/hosts file ?

on my mac, I have these entries in /etc/hosts file

127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost
 

- Girish@JackBe

monika7
User offline. Last seen 1 year 44 weeks ago. Offline
Joined: 02/05/2009
Points: 60

Mine is almost the same:
127.0.0.1 localhost monika-laptop monika-laptop.local
255.255.255.255 broadcasthost
::1 localhost

mtriner
mtriner's picture
User offline. Last seen 2 weeks 3 days ago. Offline
Joined: 10/13/2008
Points: 47

 FYI this was an issue of zooming in and out, pressing command + 0 on mac fixes this