Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: grouperClient NetBeans

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: grouperClient NetBeans


Chronological Thread 
  • From: "Imholz, John J." <>
  • To: "'Chris Hyzer'" <>, "" <>
  • Subject: [grouper-users] RE: grouperClient NetBeans
  • Date: Wed, 14 May 2014 20:09:28 +0000
  • Accept-language: en-US

Thanks, I added a -classpath to the "Run" properties of the NetBeans project.
So it includes another projects (specifically set up for sharing common
jars) lib directory and put the grouper.client.properties file in there.

jji

-----Original Message-----
From: Chris Hyzer
[mailto:]

Sent: Wednesday, May 14, 2014 10:10 AM
To: Imholz, John J.;

Subject: RE: grouperClient NetBeans

The properties file belongs in the classpath. For command line usage, we
allowed it to be in the same dir as the jar to make things a little easier.
In 2.2 there are config overlays where you can have a config in the classpath
that designates an overlay config somewhere on the filesystem, so you can do
what you want...

Thanks,
Chris

-----Original Message-----
From: Imholz, John J.
[mailto:]

Sent: Wednesday, May 14, 2014 10:05 AM
To: Chris Hyzer;

Subject: RE: grouperClient NetBeans

That worked. Why? I'd rather not have that properties file in every
application. Shouldn't it have worked when it was in the same directory as
the jar?

Jji

-----Original Message-----
From: Chris Hyzer
[mailto:]

Sent: Wednesday, May 14, 2014 9:45 AM
To: Imholz, John J.;

Subject: RE: grouperClient NetBeans

When running in a webapp try putting the properties files in the root of the
classpath (WEB-INF/classes)

Thanks,
Chris

-----Original Message-----
From:


[mailto:]
On Behalf Of Imholz, John J.
Sent: Wednesday, May 14, 2014 9:42 AM
To:

Subject: [grouper-users] grouperClient NetBeans

I've successfully gotten grouperClient to work in my JSP app (on a Unix
Tomcat server) so this is probably more of a NetBeans/project setup issue.

I'm now trying to run the app as a project under NetBeans/Windows and I get
the following. Note - my previous run failed because I hadn't put the
properties file in the same directory as the grouperClient.jar, so I put the
grouper.client.properties file in and now I get this.

14-May-2014 09:17:48.409 SEVERE [http-nio-8084-exec-5]
org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for
servlet [jsp] in context with path [/eBadge] threw exception
[javax.servlet.ServletException: java.lang.ExceptionInInitializerError] with
root cause
java.io.IOException: The filename, directory name, or volume label syntax is
incorrect
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:414)
at java.io.File.getCanonicalPath(File.java:618)
at
edu.internet2.middleware.grouperClient.util.GrouperClientCommonUtils.fileCanonicalPath(GrouperClientCommonUtils.java:176)
at
edu.internet2.middleware.grouperClient.util.GrouperClientCommonUtils.propertiesFromResourceName(GrouperClientCommonUtils.java:5291)
at
edu.internet2.middleware.grouperClient.util.GrouperClientUtils.grouperClientProperties(GrouperClientUtils.java:138)
at
edu.internet2.middleware.grouperClient.util.GrouperClientUtils.propertiesValue(GrouperClientUtils.java:154)
at
edu.internet2.middleware.grouperClient.util.GrouperClientUtils.retrieveLog(GrouperClientUtils.java:43)
at
edu.internet2.middleware.grouperClient.util.GrouperClientUtils.<clinit>(GrouperClientUtils.java:191)
at
edu.internet2.middleware.grouperClient.util.GrouperClientCommonUtils.<clinit>(GrouperClientCommonUtils.java:5241)
at
edu.internet2.middleware.grouperClient.ws.beans.WsSubjectLookup.validate(WsSubjectLookup.java:100)
at
edu.internet2.middleware.grouperClient.ws.beans.WsSubjectLookup.<init>(WsSubjectLookup.java:93)
at
edu.internet2.middleware.grouperClient.api.GcHasMember.addSubjectIdentifier(GcHasMember.java:119)
at MUSCGrouper.Simple.isMember(Simple.java:15)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:122)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:301)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:74)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1015)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:652)
at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1575)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1533)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

jji



Archive powered by MHonArc 2.6.16.

Top of Page