Skip to Content.
Sympa Menu

grouper-users - [grouper-users] SQL problem

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] SQL problem


Chronological Thread 
  • From: "Gettes, Michael" <>
  • To: grouper-users <>
  • Subject: [grouper-users] SQL problem
  • Date: Fri, 13 Jul 2018 20:37:05 +0000
  • Accept-language: en-US
  • Ironport-phdr: 9a23:IxUUQxW0zCjOhuUA8kg4IsI8Ec7V8LGtZVwlr6E/grcLSJyIuqrYbBKFt8tkgFKBZ4jH8fUM07OQ7/i+HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba9zIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KptVRTmijoINyQh/W/XlMJ+kb5brhyiqRJ4wo7bfI6bO/Vlc6PBZtwaQHZNXsZNWyFDBI63cosBD/AGPeZdt4TxqVoAogWiBQmwGuzv0SdEjWLx0607z+shERvJ0xIkH94ArX/Zq9r1O7kOUeCp0qbI1i7Ob+5Y2Tf58oTHbA0uoeyVUL92bMHfx04vFwbfgVWRr4zoJzyV1v4Ks2iG9+pvS/ivh3Q9pAFpujij3sUsio7SiYIP11DE8z55wIYrKt28TE53e8SkEIZWtyycKoB4QdsiTnl1tCokybAKo4C3cDYIxZg9xRPSZOaLf5aV7h/nTOqdPCt0iGhrdb++nRq+7Eatx+LmWsWp31tGtiRFncfPu3wR0hHe78uKR/9h8ki93DuAyxvc5ftELE0xi6bWKYUuzqA1m5UOqkvPAC37lUPrh6GMbEok4PKn6+H/b7XmuJCcM4h0hxnlMqQrhsy/Gf40MhUAX2if4+izyqDs/VDhTLVLiP05jLXZvYjHKcgFpaO1GRFZ3pgh5hqlDTqr384UkWcaIF9BYB6HipLmO1DKIPD2F/e/hFGsnS9kx//YIr3hHovCLmPYnbf8c7Z971RQxxQuwtBC/55UEK0OIOrvWk/ts9zVFhA5Mxazw+b6ENVyyJkeVXuSAq+CLqzSq0SI6/krI+mNf48VpC39J+Y/6/7vi385hUESfbOv3ZQJdHC0AO5qLFuEbnrx0Z89FjIFpA0jVOHwzUCZXCRILyK9RaUh/jwhTZ+9AJ3YboGrnLGb2iqnRNtban0QWX6WFnK9PaqJR+sBc2baB85qkjUJUfLpH4AsyQ2jryfnxb4hI+bJrH5L/an/3cR4srWA3So58iZ5WpyQ

I am trying to continue down the path of making use of the realtime loader
and I am having a SQL error. I have turned up logging to DEBUG on
edu.internet2.middleware.grouper.app.loader but I am not getting any useful
output other than what is below. How can I better see the actual statement
creating the error? I get the impression my loaderJob SQL is being wrapped
by something else and that’s failing but I can’t see what is actually failing.

Pointers appreciated.

/mrg

daemon_1 | 2018-07-13T20:34:30.176376217Z
grouper-api;grouper_error.log;dev;build-2;2018-07-13 16:34:30,175:
[DefaultQuartzScheduler_Worker-7] ERROR
GrouperLoaderIncrementalJob.runJob(336) - - Error running job
daemon_1 | 2018-07-13T20:34:30.176434695Z java.lang.RuntimeException:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error
in your SQL syntax; check the manual that corresponds to your MariaDB server
version for the right syntax to use near '@SHIBPRD_pub p, Role_List RL where
p.ARP_PAR_UFID = r.ROLEUSER and r.rolename=RL' at line 1,
daemon_1 | 2018-07-13T20:34:30.176444634Z 1 callables out of problem count
1 had problems running outside of threads!
daemon_1 | 2018-07-13T20:34:30.176450505Z at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob.processOneRow(GrouperLoaderIncrementalJob.java:720)
daemon_1 | 2018-07-13T20:34:30.176455791Z at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob.access$000(GrouperLoaderIncrementalJob.java:73)
daemon_1 | 2018-07-13T20:34:30.176460452Z at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob$1.callLogic(GrouperLoaderIncrementalJob.java:286)
daemon_1 | 2018-07-13T20:34:30.176464931Z at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob$1.callLogic(GrouperLoaderIncrementalJob.java:281)
daemon_1 | 2018-07-13T20:34:30.176469333Z at
edu.internet2.middleware.grouper.util.GrouperCallable.tryCallablesWithProblems(GrouperCallable.java:51)
daemon_1 | 2018-07-13T20:34:30.176473956Z at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob.runJob(GrouperLoaderIncrementalJob.java:308)
daemon_1 | 2018-07-13T20:34:30.176478163Z at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob.execute(GrouperLoaderIncrementalJob.java:94)
daemon_1 | 2018-07-13T20:34:30.176483959Z at
org.quartz.core.JobRunShell.run(JobRunShell.java:202)
daemon_1 | 2018-07-13T20:34:30.176488543Z at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
daemon_1 | 2018-07-13T20:34:30.176493674Z Caused by:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error
in your SQL syntax; check the manual that corresponds to your MariaDB server
version for the right syntax to use near '@SHIBPRD_pub p, Role_List RL where
p.ARP_PAR_UFID = r.ROLEUSER and r.rolename=RL' at line 1
daemon_1 | 2018-07-13T20:34:30.176499131Z at
sun.reflect.GeneratedConstructorAccessor99.newInstance(Unknown Source)
daemon_1 | 2018-07-13T20:34:30.176503352Z at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
daemon_1 | 2018-07-13T20:34:30.176509368Z at
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
daemon_1 | 2018-07-13T20:34:30.176514977Z at
com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
daemon_1 | 2018-07-13T20:34:30.176519375Z at
com.mysql.jdbc.Util.getInstance(Util.java:387)
daemon_1 | 2018-07-13T20:34:30.176540322Z at
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:939)
daemon_1 | 2018-07-13T20:34:30.176545670Z at
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3878)
daemon_1 | 2018-07-13T20:34:30.176550501Z at
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3814)
daemon_1 | 2018-07-13T20:34:30.176555287Z at
com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2478)
daemon_1 | 2018-07-13T20:34:30.176560002Z at
com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2625)
daemon_1 | 2018-07-13T20:34:30.176565012Z at
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2551)
daemon_1 | 2018-07-13T20:34:30.176570002Z at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)
daemon_1 | 2018-07-13T20:34:30.176575144Z at
com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1962)
daemon_1 | 2018-07-13T20:34:30.176579983Z at
com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:353)
daemon_1 | 2018-07-13T20:34:30.176585062Z at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob.processOneRow(GrouperLoaderIncrementalJob.java:601)
daemon_1 | 2018-07-13T20:34:30.176590460Z ... 8 more




Archive powered by MHonArc 2.6.19.

Top of Page