[JBoss Portal] - Re: Theme No Selection Leads to Null Pointer Selection
by richmitc
Yes, I received the same error in CR2. This is under Fedora Core 5 using Firefox. Here is what I did:
1. Rebooted my system.
2. Cleared out my /usr/local/jboss directory.
3. Followed this procedure to install a clean CR2
http://enlitants.com/blog/2006/07/13/jboss-portal-24-install-on-fedora-co...
4. Surfed to the portal.
5. Logged in as admin.
6. Expanded root in the management console. Selected default. Selected Themes. Selected "no selection". Clicked update. I get this error:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException
org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:306)
org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:172)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
java.lang.NullPointerException
org.jboss.portal.core.command.MarkupCommand.getTheme(MarkupCommand.java:358)
org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:300)
org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
I only included the top part of the chain but can include it all if needed. I get this error now no matter what I do.
Rich
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958180#3958180
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958180
19 years, 9 months
[Remoting] - Re: binding multicast detector
by mazz@jboss.com
Sorry, I misspoke. I was thinking one thing and said another.
I meant to say both Address and DefaultIP are set the same (224.16.16.16).
The BIND address is the thing I set to 127.0.0.1 (I also tried 192.168.0.5).
| Multicast Detector address: /224.16.16.16
| Multicast Detector port: 16162
| Multicast Detector bind address: /192.168.0.5
| Multicast Detector default IP: 224.16.16.16
| Multicast Detector default time delay: 5000
| Multicast Detector heartbeat time delay: 1000
|
With this setup, "netstat" is showing the bind address to be 0.0.0.0 - below are some snippets of my netstat output - you can see 16162 has a local address of 0.0.0.0:
| C:\Documents and Settings\mazz>netstat -a -n -p U
|
| Active Connections
|
| Proto Local Address Foreign Address
| UDP 0.0.0.0:445 *:*
| ... UDP 0.0.0.0:16162 *:*...
| UDP 0.0.0.0:54925 *:*
| ...
| UDP 127.0.0.1:123 *:*
| UDP 127.0.0.1:1096 *:*
| ...
| UDP 192.168.0.3:123 *:*
| UDP 192.168.0.3:137 *:*
| UDP 192.168.0.3:138 *:*
| UDP 192.168.0.3:1900 *:*
| UDP 192.168.0.5:123 *:*
| UDP 192.168.0.5:137 *:*
| ...
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958179#3958179
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958179
19 years, 9 months
[Persistence, JBoss/CMP, Hibernate, Database] - 'no-select-before-insert'
by GabrielBianco
I'm not sure if I should post this here or under "Installation, Configuration & Deployment" but it's related to CMP, so...
We found out that CMP instance creation is causing a pretty big perfomance loss... The cause is described in the wiki:
http://wiki.jboss.org/wiki/Wiki.jsp?page=CMPInstanceCreation
We tried 'no-select-before-insert' and it worked exactly as wiki entry says it would, with only one detail:
First, DuplicateKeyExceptions no longe occur. Instead we get CreateExceptions. That easy to deal with. But, before we can catch the CreateException, JBoss outputs the original exception (the one it got from the DB driver). Only after that it throws us a CreateException explaining that it was probably caused by a primary key violation...
We don't want this output at all, as it gives us a huge and hard to read stdout.log...
The undesired output is something like this:
anonymous wrote :
| 14:25:58,875 ERROR [EjbName] Failed to create instance.
| java.sql.SQLException: [DBHOSTNAME]Violation of PRIMARY KEY constraint 'PK__TableName__2136E270'. Cannot insert duplicate key in object 'TableName'.
| at com.inet.tds.e.a(Unknown Source)
| ...
| large stack trace
| ...
|
Is it possible to configure JBoss so it won't show certain exceptions?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958178#3958178
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958178
19 years, 9 months