Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem Out of the Gate #1

Open
jamiejackson opened this issue Jan 9, 2015 · 1 comment
Open

Problem Out of the Gate #1

jamiejackson opened this issue Jan 9, 2015 · 1 comment

Comments

@jamiejackson
Copy link

I'm trying out your project, as I've got a web service that's failing under Railo.

I have a few questions/issues.

Docs

"Copy ./cfjarsoap to your webroot, copy tests/test.cfc there too, then call test.cfm"

  1. I'm assuming it's ./src/cfjarsoap that's supposed to be copied?
  2. I don't see a tests/test.cfc

Test Error

I've got a test error.

The Error Occurred in
/var/www/vmhost/apps/mysite/cfml/deployment_root/wwwroot/cfjarsoap/dependency/aether/Aether.cfc: line 109 
107: variables.repoSys = locator.getService( ul.loadClass("org.eclipse.aether.RepositorySystem") );
108: if ( isNull(variables.repoSys) ) {
109: throw( "The repository system could not be initialized" );
110: }
111: // request.debug(repoSys);

called from /var/www/vmhost/apps/mysite/cfml/deployment_root/wwwroot/cfjarsoap/dependency/aether/Aether.cfc: line 65 
called from /var/www/vmhost/apps/mysite/cfml/deployment_root/wwwroot/cfjarsoap/dependency/Manager.cfc: line 18 
called from /var/www/vmhost/apps/mysite/cfml/deployment_root/wwwroot/cfjarsoap/JarSoap.cfc: line 7 
called from /var/www/vmhost/apps/mysite/cfml/deployment_root/wwwroot/tests/test.cfm: line 12 
called from /var/www/vmhost/apps/mysite/cfml/deployment_root/wwwroot/tests/test.cfm: line 26 

Comment Confusion

tests/test.cfm:

    <cfsetting requesttimeout="333"/>
    <!--- set to false when not testing generation to prevent memory leak --->
    <cfset thisdir = getDirectoryFromPath(getTemplatePath()) />
    <cfset jardir = thisdir & "/wsjars" />
    <cfset srcdir = thisdir & "/wssrc" />

What's supposed to be set to false?

@denuno
Copy link
Member

denuno commented Jan 9, 2015

It seems like it may be having a problem downloading the dependencies. I'll try to upload a "release" that contains them all.

As for that set to false deal, that's in the wrong place, it should be around where the WS is generated (for testing this stuff there's a flag that forces a re-compile, but in production you only need to compile them once).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants