deanlaw / cfcgenerator

Automatically exported from code.google.com/p/cfcgenerator
8 stars 6 forks source link

Error messages on startup (using Ubuntu 7.04) #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Everytime I'm accessing http://localhost/cfcgenerator/index.cfm the
following errors occur:
"flex/messaging/io/amf/UnknownTypeException"
"Server.Processing"
"Fault occured in GetTemplatesCommand."
"flex/messaging/io/amf/UnknownTypeException"
"Server.Processing"
"Fault occured in GetDatasourcesCommand."

What is the expected output? What do you see instead?

After clicking away those annoying popup messages, the flex interface is
basically working fine, but I can't select any datasources, tables and
templates.

What version of the product are you using? On what operating system?

I'm using 1.0 RC1, ColdFusion MX 7.02 and MySQL 5 on Ubuntu Linux (Feisty
7.04).

Original issue reported on code.google.com by alexander.grueneberg on 12 Apr 2007 at 7:06

GoogleCodeExporter commented 9 years ago
Thanks for your report. Can you answer a couple questions?

1) In the com.cf folder there is a test.cfm file. Can you run this? Do you get 
errors?

2) If no errors on 1, did you make sure you properly set flex to use CF 
mappings as
per the instructions? For more details, see this thread on the list -
http://groups.google.com/group/cfcgenerator/browse_thread/thread/5807ccdb456d23a
6 

Original comment by brian.ri...@gmail.com on 24 Apr 2007 at 2:06

GoogleCodeExporter commented 9 years ago
sorry, the proper location for the test file is com/cf/model/test.cfm

Original comment by brian.ri...@gmail.com on 24 Apr 2007 at 2:07

GoogleCodeExporter commented 9 years ago
It didn't work work. Here are the exceptions:

15:17:52.052 - cfadminapiSecurityError Exception - in
C:\blackstone_updates\cfusion\wwwroot\CFIDE\adminapi\base.cfc : line 24

        Current user is not authorized to invoke this method.

15:17:52.052 - cfadminapiSecurityError Exception - in
C:\blackstone_updates\cfusion\wwwroot\CFIDE\adminapi\base.cfc : line 24

        Current user is not authorized to invoke this method.

15:17:53.053 - Object Exception - in
/opt/coldfusionmx7/wwwroot/WEB-INF/exception/errorcontext.cfm : line 42

        Object Instantiation Exception.

I've never used Flex before. Is there anything I have to install additionally?

Original comment by alexander.grueneberg on 30 Apr 2007 at 2:24

GoogleCodeExporter commented 9 years ago
That error is simply that you have the wrong Admin password specified. Check the
Application.cfm file and change the value of the variable adminPass to whatever 
your
local ColdFusion administrator password is, then reload the application with
?reload=true appended to the URL.

Just a note, since this is not a bug, I am going to mark it as invalid simply 
because
that is the option available - please feel free to contact me off this bug 
tracker if
you still need additional assistance (brinaldi[at]remotesynthesis[dot]com). If 
there
is an actual bug here, I will reopen.

Original comment by brian.ri...@gmail.com on 30 Apr 2007 at 2:48

GoogleCodeExporter commented 9 years ago
Sorry, my mistake: I had to "install" cfcgenerator again to check if the test 
file is
working and forgot to set the admin password...

Now I'm getting a dump of some beans. Everything seems to be working fine, but I
still have my initial problems when starting the interface:

"flex/messaging/io/amf/UnknownTypeException"
"Server.Processing"
"Fault occured in GetTemplatesCommand."
"flex/messaging/io/amf/UnknownTypeException"
"Server.Processing"
"Fault occured in GetDatasourcesCommand."

Original comment by alexander.grueneberg on 30 Apr 2007 at 5:57

GoogleCodeExporter commented 9 years ago
Ok then, I will reopen until we figure it out.

So, you are saying that the test.cfm runs without error, but you get an error 
when
you run the Flex interface? If so, then this may not be a bug in the project 
(if the
test.cfm page with the changes I recommended is running properly, it tests all 
the
methods called by the Flex code).

I googled and found this post http://renaun.com/blog/2006/11/10/150/ - while the
issue is on Red Hat, it would sound similar to this issue. Damon Cooper 
comments that
this was a known 7.0.2 bug though I have no idea if it has been fixed.

Please update me. Thanks.

Original comment by brian.ri...@gmail.com on 30 Apr 2007 at 6:11

GoogleCodeExporter commented 9 years ago
I'm so tired to fiddle with this whole crap. ColdFusion on Linux is such a 
mess. I
updated Java, created mappings, installed this patch mentioned in your last 
post,
tried to install the official updates - nothing helped.

You can close this issue. I don't think it's related to your application. If I 
get it
working, I will contact you. Thanks for the help!

Original comment by alexander.grueneberg on 1 May 2007 at 8:50

GoogleCodeExporter commented 9 years ago
You can try build 5 if you are interested. I think this is a Flex messaging 
issue
though. I have at least 1 user on the mailing list running this on Ubuntu who 
could
possibly assist. You can sign up for the google group at
http://groups.google.com/group/cfcgenerator/

Marking as invalid to close the ticket and move it off the active tickets list.

Original comment by brian.ri...@gmail.com on 12 May 2007 at 1:22