PDA

View Full Version : Problems with JDeveloper and PHP extension


Jim Hill
09-22-2004, 02:13 PM
I posted an earlier topic about JDeveloper zero'ing out files. I think that
was due to getting the JAVA error: Too Many Files Open.

I can work for several hours with a few workspaces loaded, each having 2-3
projects and dozens of files; however I only have 4-5 files actually "open"
in the IDE. I can go through dozens of iterations of make changes/save/test
when eventually I run into the error of not being able access a file in one
of the workspaces. If I check with the Windows "Task Manager" I can see
20-30 processes of "php.exe" running. I think this may be related to the
PHP addin that tries to keep the structure view in sync with the code.
Under Tool preferences I changed the structure view setting from "Refresh
when Idle" to "Refresh on Save" to see if that makes it go away.

Is anyone else using the PHP addin for JDeveloper. I'm beginning to think
that maybe this isn't the best IDE for PHP development. :-(

cjbj
09-23-2004, 10:59 PM
"Jim Hill" <jhill2@mn.rr.com> wrote in message news:<rOm4d.34271$B51.20348@twister.rdc-kc.rr.com>... I posted an earlier topic about JDeveloper zero'ing out files. I think that was due to getting the JAVA error: Too Many Files Open. I can work for several hours with a few workspaces loaded, each having 2-3 projects and dozens of files; however I only have 4-5 files actually "open" in the IDE. I can go through dozens of iterations of make changes/save/test when eventually I run into the error of not being able access a file in one of the workspaces. If I check with the Windows "Task Manager" I can see 20-30 processes of "php.exe" running. I think this may be related to the PHP addin that tries to keep the structure view in sync with the code. Under Tool preferences I changed the structure view setting from "Refresh when Idle" to "Refresh on Save" to see if that makes it go away.

I haven't seen this problem. What release of JDev and PHP do you have?
What OS are you on?

Did the Refresh on Save help?

-- CJ

Jim Hill
09-28-2004, 11:44 AM
"cjbj" <cjbj@hotmail.com> wrote in message
news:2ce8b846.0409232259.71eebf52@posting.google.com... "Jim Hill" <jhill2@mn.rr.com> wrote in message
news:<rOm4d.34271$B51.20348@twister.rdc-kc.rr.com>... I posted an earlier topic about JDeveloper zero'ing out files. I think
that was due to getting the JAVA error: Too Many Files Open. I can work for several hours with a few workspaces loaded, each having
2-3 projects and dozens of files; however I only have 4-5 files actually
"open" in the IDE. I can go through dozens of iterations of make
changes/save/test when eventually I run into the error of not being able access a file in
one of the workspaces. If I check with the Windows "Task Manager" I can see 20-30 processes of "php.exe" running. I think this may be related to
the PHP addin that tries to keep the structure view in sync with the code. Under Tool preferences I changed the structure view setting from
"Refresh when Idle" to "Refresh on Save" to see if that makes it go away. I haven't seen this problem. What release of JDev and PHP do you have? What OS are you on? Did the Refresh on Save help? -- CJ

After a few days of running with the PHP structure view set at "Refresh on
Save" I have had no problems with "Too many files Open" or any files getting
zero'ed out and I do not have the backlog of PHP.exe processes running. The
"Refresh on Idle" must simply create more processes than it can handle
correctly. I still attribute the zero'ed out files to poor exception
handling somewhere in the JDeveloper application, but so far this has let me
work around that.

OS Win2K, SP4
PHP 4.3.8
JDev 9052

cjbj
09-29-2004, 08:45 PM
"Jim Hill" <jhill2@mn.rr.com> wrote After a few days of running with the PHP structure view set at "Refresh on Save" I have had no problems with "Too many files Open" or any files getting zero'ed out and I do not have the backlog of PHP.exe processes running. The "Refresh on Idle" must simply create more processes than it can handle correctly. I still attribute the zero'ed out files to poor exception handling somewhere in the JDeveloper application, but so far this has let me work around that. OS Win2K, SP4 PHP 4.3.8 JDev 9052

Thanks for the followup. Your setup is similar to mine.
I'll keep on trying to reproduce it to get an insight into
the underlying cause.

-- CJ


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service