chen young

Ranch Hand
+ Follow
since Sep 09, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by chen young

Hi,

I am working with this demo in order to understand Jforum factuality (can’t find a proper documentation)

For some reason I can create a new category only when associating the new Category to “Administrator” group but what if I want to use the “General” group?





Thanks
10 years ago
Hi,

I am using jforum version 2.3.5 , Weblogic 12C and Oracle.

While trying to create new user I get the following error:


For detailed error information, please see the HTML source code, and contact the forum Administrator.
java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected




2014-11-14 22:31:26,277 ERROR [ExceptionWriter] - net.jforum.exceptions.ForumException: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at net.jforum.Command.process(Command.java:114)
at net.jforum.JForum.processCommand(JForum.java:251)
at net.jforum.JForum.service(JForum.java:233)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:132)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:338)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3288)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3254)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2163)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2089)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2074)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1513)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: java.lang.reflect.InvocationTargetException
... 28 more
Caused by: net.jforum.exceptions.DatabaseException: java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:884)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1167)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1289)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3593)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3637)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1495)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:130)
at net.jforum.dao.generic.GenericUserDAO.findAllUsersByEmail(GenericUserDAO.java:1162)
at net.jforum.dao.generic.GenericUserDAO.findByEmail(GenericUserDAO.java:1112)
at net.jforum.view.forum.UserAction.insertSave(UserAction.java:291)
... 28 more
Caused by: java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected

... 45 more

URL is: /jforum-2.3.5/jforum.page




Any advice please how to solve this issue

Thanks
10 years ago
Thank you for referring me to JForum2

Is there a big different between jforum-2.3.5.war and jforum-2.1.9 ?

Thanks
10 years ago
Hi,

I am quit new to jforum.

I manage to install jforum-2.1.9 successfully in my local webapp ( Weblogic 12C )

I also manage to create users and groups but I was unable to create new forums (Forum menu -> Forum listing).

Someone have an idea why the "insert new forum" via GUI is not working ?

This look very straight forward

Thanks

10 years ago
Thank you very much for your suggestions
10 years ago
JSF
Hi,

I am looking for an open source help API for my jsf (primefaces) web app something like “Oracle Help Technologies” , “oXygen WebHelper”.

This API should be simple to implemented and to work with.

Any recommendation will be appreciated.

Thanks
10 years ago
JSF
Hi,

Thank you for the quick answer

My real concern here is in case I can use MyFaces with 12c then would I will be able to use dependency injection and all the nice options that servlet 3 offer ?

Thanks

10 years ago
Hi,

Due to new functionality needs I decide to upgrade my project from .war to .ear

I am using Weblogic version 12c,Myfaces 2.1.8 and Primefaces 5 & maven.

The problem:

When I defined the scope of myfaces to compile I am able to view the main jsf but there is no respond when pressing on any button,menu etc ..., but when I changed the scope to provided then the webapp is working perfectly.

I assume the reason for that is because the weblogic is using the local jsf when the scope is defined as provided.

I probably missing some configuration that is essential to myfaces in order to function properly.

webapp pom:




webapp weblogic.xml


web.xml


Any ideas will be most appreciated

Thanks>
10 years ago
Hi,

How can I customize p:calendar so instead of selecting a day (chell) in a week I will be able to select the all week (row)?

like this example

Thanks


10 years ago
JSF
thanks
10 years ago
JSF
Hi,

I notice that the p:idleMonitor is working only when the cursor is not pointing directly on the screen meaning, when the cursor was on the middle of the screen without move I didn't see the dialog.

Actually the p:idleMonitor is working only when the cursor in not on the window frame (hope I am clear)

is there any "workaround" in order to get "full" idle ?

Thanks

10 years ago
JSF
Indeed my experience with security is very limited

I will go back to the books

Thank you
11 years ago
JSF
Hi,

Thank you for the deeply explanation :)

Its look like my approach of using j_security_check for my specific scenario is wrong

Can you please advise how should I check user permission(maybe JAAS authentication) in order to decide who can execute the method (run())?
11 years ago
JSF
Hi,

want to use j_security_check authentication in order to validate the user credentials.

Basically what I am trying to achieve is when the user press submit then in case he is using wrong credentials then a message (p:growl) will show and if it’s successful then the dialog will closed.

There are many examples in the web but unfortunately I still can’t understand how to complete this puzzle :(

In my project I am using primefaces 4.0 & weblogic 10.3.2.0 (JAVA EE 5).

some code example:


web.xml



exeBean:



Any guidelines and useful example will be much appreciated

Thanks
11 years ago
JSF