Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Please do the needful, this was my third mail did not get any reply for my problem

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Please do the needful, this was my third mail did not get any reply for my problem


Chronological Thread 
  • From: "Redman, Chad" <>
  • To: "" <>, Malathi Deenadayalan <>
  • Subject: Re: [grouper-users] Please do the needful, this was my third mail did not get any reply for my problem
  • Date: Mon, 5 Apr 2021 14:35:18 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=unc.edu; dmarc=pass action=none header.from=unc.edu; dkim=pass header.d=unc.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/vUnJw7bPunc2OaT5VXglfHR45g1QUE8Z0Ln9XZ/QfA=; b=KvNXD5qeyTudDtquZ1CrKBTOkZzhnTetUJ4yNjUsk9x7wJuVNyyVDMwDEBfwk1GVF6fsFOQ/CScXKKWQKsXn8Y9iJxMMbdmj0REk/pChguIXp1eqO+JfJyxcRlyn5MfASMcg/f2+7LFObCMljHsRUsOial5AtasaftpKasT5MRTK3a1wDjS97OJaGPJmxmjqhQadxobHZSxfzlrhq96h7LpPRivaaEEuUjbLsWzY67AyXPKaKvDM9hL6MeYAS+38tWoykfEt6nHvQJHJL6ct0n3Iu3yvbApvxaQCCH7fdfs71lQwvKyxYcx0kCHZ8sp9lRUuzDylM1pZGqCboAxovQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZoF0vT/Mdp51Bn6BiFcs6jmLIOzv10oa6Uy8rfSwwUWY3HPl6xLjU+g7Sk+kuy1GA5Li5xieEs2BsMtRH/XAO866DXiMSiQ642aMhrW1CtlrcXUlO2IeblAoLNz13b5UuSxo/Qbl6Otvpf7yrsQL1RJX5oNICBe2FKdF031+Tu0iFgi4sgzHOdpQXWcxSrS61l1eQZfrsgLTnB9fcbYgB3XYmOCVQ8hQqXOxDqEfd+q6rAWoqySJpHX8XheT2Vq6ITMVlZ83XivqimNe66bW8owkfOcbX331Bd8/kPAJMv4mn32yKKpfREKGPwJ0qv2+8kEUEwJlAHa4UspSNgcu2A==

The error is likely that the application failed to start, so it wasn't deployed at /grouper.

You can look at your TomEE logs for errors that would cause it to start.

1) Get the container name or id

docker ps

CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                                     NAMES
436aa6f73f2d        f7b9af231f5e        "/usr/local/bin/entr…"   7 minutes ago       Up 7 minutes        80/tcp, 443/tcp, 0.0.0.0:8080->8080/tcp   stoic_wilson


2) Get the TomEE logs for it, see what contexts are deployed


docker logs 436aa6f73f2d | grep 'OpenEJB.startup- Deployed Application'
tomee;catalina.out;${env:ENV};${env:USERTOKEN};2021-04-05 14:22:13,240 [localhost-startStop-1] INFO  OpenEJB.startup- Deployed Application(path=/opt/grouper/grouperWebapp)
tomee;catalina.out;${env:ENV};${env:USERTOKEN};2021-04-05 14:22:44,474 [localhost-startStop-1] INFO  OpenEJB.startup- Deployed Application(path=/opt/tomee/webapps/ROOT)


3) Get the TomEE logs for it, and filter out INFO

docker logs 436aa6f73f2d | grep 'tomee;catalina.out' | grep -v 'INFO'


tomee;catalina.out;${env:ENV};${env:USERTOKEN};2021-04-05 14:22:12,255 [localhost-startStop-1] ERROR OpenEJB.startup- Unable to load tag library tag class: org.apache.taglibs.request.LogTag
... (you can ignore the tag library errors)

There should be some warnings after this, but any ERROR level message should be looked at.

-Chad





From: <> on behalf of Malathi Deenadayalan <>
Sent: Monday, April 5, 2021 4:30 AM
To: Vivek Sachdeva <>; <>
Subject: Re: [grouper-users] Please do the needful, this was my third mail did not get any reply for my problem
 
Hi Vivek,

I have got 404 not found error. Attached screenshot.
Please any help will be appreciated.



On Sat, Apr 3, 2021 at 8:41 AM Vivek Sachdeva <> wrote:
Hi Malathi,

Try going to https://172.17.0.3/grouper/ and please let me know what you see.

Vivek

On Thu, Apr 1, 2021 at 2:04 AM Malathi Deenadayalan <> wrote:
Hi,

I am not able to get grouper ui on browser , getting 404 not found error.

Here I have detailed my errors for your consideration.

1)   curl  --insecure 'https://172.17.0.3'

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href=""https://172.17.0.3/grouper/">here</a>.</p>
</body></html>
[root@grouper ~]#

2)docker logs of grouper ui


httpd;access_log;-;-;10.10.30.254 - - [28/Mar/2021:13:21:41 +0000] "GET / HTTP/1.1" 302 214 "-" "Mozilla/5.0 zgrab/0.x"
httpd;access_log;-;-;10.10.30.254 - - [28/Mar/2021:15:42:36 +0000] "SSTP_DUPLEX_POST /sra_{BA195980-CD49-458b-9E23-C84EE0ADCD75}/ HTTP/1.1" 400 226 "-" "-"
httpd;access_log;-;-;10.10.30.254 - - [29/Mar/2021:01:36:34 +0000] "GET / HTTP/1.1" 302 214 "-" "-"
httpd;access_log;-;-;10.10.30.254 - - [29/Mar/2021:02:47:39 +0000] "GET /login HTTP/1.1" 404 203 "-" "Mozilla/5.0 zgrab/0.x"
httpd;access_log;-;-;10.10.30.254 - - [29/Mar/2021:09:18:45 +0000] "GET / HTTP/1.1" 302 214 "-" "Mozilla/5.0 zgrab/0.x"
httpd;access_log;-;-;10.10.30.254 - - [29/Mar/2021:09:24:27 +0000] "GET / HTTP/1.1" 302 214 "-" "Mozilla/5.0 (Windows NT 5.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
httpd;access_log;-;-;10.10.30.254 - - [29/Mar/2021:09:24:27 +0000] "GET /grouper/ HTTP/1.1" 404 779 "https://103.117.200.9/" "Mozilla/5.0 (Windows NT 5.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
httpd;access_log;-;-;10.10.30.254 - - [29/Mar/2021:16:06:23 +0000] "GET / HTTP/1.1" 302 214 "-" "-"
httpd;access_log;-;-;10.10.30.254 - - [29/Mar/2021:16:06:23 +0000] "GET /grouper/ HTTP/1.1" 404 779 "-" "-"
httpd;access_log;-;-;10.10.30.254 - - [29/Mar/2021:16:06:24 +0000] "GET / HTTP/1.1" 302 214 "-" "-"
httpd;access_log;-;-;10.10.30.254 - - [29/Mar/2021:16:06:25 +0000] "GET /grouper/ HTTP/1.1" 404 779 "-" "-"
httpd;access_log;-;-;10.10.30.254 - - [29/Mar/2021:23:26:31 +0000] "GET /remote/login HTTP/1.1" 404 210 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"
httpd;access_log;-;-;10.10.30.254 - - [30/Mar/2021:03:20:51 +0000] "GET /owa/auth/logon.aspx?url="https%3a%2f%2f1%2fecp%2f" HTTP/1.1" 404 217 "-" "Mozilla/5.0 zgrab/0.x"
httpd;access_log;-;-;172.17.0.1 - - [30/Mar/2021:08:31:30 +0000] "GET /grouper HTTP/1.1" 404 774 "-" "curl/7.29.0"
httpd;access_log;-;-;172.17.0.1 - - [30/Mar/2021:08:34:30 +0000] "GET / HTTP/1.1" 302 211 "-" "curl/7.29.0"


3) getting grouper shell without any error

[root@grouper ~]# docker exec -it -u tomcat grouper-ui bash
[tomcat@b2802e97b8bc WEB-INF]$ cd bin
[tomcat@b2802e97b8bc bin]$ ./gsh.sh
Detected Grouper directory structure 'webapp' (valid is api, apiMvn, webapp)
Using GROUPER_HOME:           /opt/grouper/grouperWebapp/WEB-INF
Using GROUPER_CONF:           /opt/grouper/grouperWebapp/WEB-INF/classes
Using JAVA:                   /usr/lib/jvm/java-1.8.0-amazon-corretto/bin/java
Using CLASSPATH:              /opt/grouper/grouperWebapp/WEB-INF/classes:/opt/grouper/grouperWebapp/WEB-INF/lib/*
using MEMORY:                 64m-750m
Grouper starting up: version: 2.5.43, build date: 2021/02/24 07:47:06 +0000, env: <no label configured>
grouper.properties read from: /opt/grouper/grouperWebapp/WEB-INF/classes/grouper.properties
Grouper current directory is: /opt/grouper/grouperWebapp/WEB-INF/bin
log4j.properties read from:   /opt/grouper/grouperWebapp/WEB-INF/classes/log4j.properties
Grouper is logging to file:   /tmp/logpipe, at min level WARN for package: edu.internet2.middleware.grouper, based on log4j.properties
grouper.hibernate.properties: /opt/grouper/grouperWebapp/WEB-INF/classes/grouper.hibernate.properties
grouper.hibernate.properties: grouper_v2_5@jdbc:mysql://172.17.0.2:3306/grouper_v2_5?useSSL=false

subject.properties read from: /opt/grouper/grouperWebapp/WEB-INF/classes/subject.properties
sources configured in:        subject.properties
subject.properties internalsource id:g:isa
subject.properties groupersource id: g:gsa
subject.properties groupersource id: grouperEntities
subject.properties jdbc2 source id:   grouperExternal: GrouperJdbcConnectionProvider
subject.properties jdbc source id:   jdbc: GrouperJdbcConnectionProvider
Type help() for instructions
Groovy Shell (2.5.0-beta-2, JVM: 1.8.0_282)
Type ':help' or ':h' for help.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
groovy:000> :load '/opt/grouper/grouperWebapp/WEB-INF/classes/groovysh.profile'
groovy:000>


4) getting null value for adding user and password

groovy:000> new GrouperPasswordSave().assignApplication(GrouperPassword.Application.UI).assignUsername("GrouperSystem").assignPassword("pass").save();
===> null
groovy:000>

5) Please help me to solve this issue.

Regards,
Malathi






Archive powered by MHonArc 2.6.24.

Top of Page