[JBoss jBPM] - Re: Problem Installing GPD Eclipse Plugin/Features
by falazar
Yes sorry I meanth Eclipse 3.2, the recommended version.
I removed all componenets reinstalled them and
I installed the plugin, it says to restart, it restarts and then it says
"An internal error occurred during: "Initializing Java Tooling""
java.lang.NullPointerException
at org.jbpm.ui.util.JbpmClasspathContainer.getJarNames(Unknown Source)
at org.jbpm.ui.util.JbpmClasspathContainer.createJbpmLibraryEntries(Unknown Source)
at org.jbpm.ui.util.JbpmClasspathContainer.getClasspathEntries(Unknown Source)
at org.eclipse.jdt.internal.core.JavaModelManager.containerPutIfInitializingWithSameEntries(JavaModelManager.java:494)
at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4118)
at org.jbpm.ui.util.JbpmClasspathContainerInitializer.initialize(Unknown Source)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073)
at org.eclipse.jdt.internal.core.search.JavaSearchScope.add(JavaSearchScope.java:107)
at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.initialize(JavaWorkspaceScope.java:84)
at org.eclipse.jdt.internal.core.search.JavaSearchScope.(JavaSearchScope.java:61)
at org.eclipse.jdt.internal.core.search.JavaSearchScope.(JavaSearchScope.java:57)
at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.(JavaWorkspaceScope.java:29)
at org.eclipse.jdt.internal.core.JavaModelManager.getWorkspaceScope(JavaModelManager.java:1705)
at org.eclipse.jdt.internal.core.search.BasicSearchEngine.createWorkspaceScope(BasicSearchEngine.java:155)
at org.eclipse.jdt.core.search.SearchEngine.createWorkspaceScope(SearchEngine.java:397)
at org.eclipse.jdt.core.JavaCore.initializeAfterLoad(JavaCore.java:2855)
at org.eclipse.jdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:35)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959950#3959950
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959950
19 years, 9 months
[JBoss Portal] - Re: navigation portlet problem
by jewhit
Hi Roy -
sorry, i got my verbage in my post incorrect in regards to tabs "showing" pages vs. portals.
anyway, logging in as admin does not change the behavior. all portlets have a default page, navigation portlet is declared in all *-object.xml files of said portlets. the portal instance that i am deploying has the following object.xml file... i have a feeling it is something that i have messed up within that file. here it is:
| <?xml version="1.0" encoding="UTF-8"?>
| <deployments>
| <deployment>
| <parent-ref/>
| <if-exists>overwrite</if-exists>
| <portal>
| <portal-name>bigCRMPortal</portal-name>
| <properties>
| <!-- Set the layout for the default portal -->
| <!-- see also portal-layouts.xml -->
| <property>
| <name>layout.id</name>
| <value>generic</value>
| </property>
| <!-- Set the theme for the default portal -->
| <!-- see also portal-themes.xml -->
| <property>
| <name>theme.id</name>
| <value>bigCRM Default</value>
| </property>
| <!-- set the default render set name (used by the render tag in layouts) -->
| <!-- see also portal-renderSet.xml -->
| <property>
| <name>theme.renderSetId</name>
| <value>divRenderer</value>
| </property>
| <!-- set the default strategy name (used by the strategy interceptor) -->
| <!-- see also portal-strategies.xml -->
| <property>
| <name>layout.strategyId</name>
| <value>maximizedRegion</value>
| </property>
| </properties>
| <supported-modes>
| <mode>view</mode>
| <mode>edit</mode>
| <mode>help</mode>
| </supported-modes>
| <supported-window-states>
| <window-state>normal</window-state>
| <window-state>minimized</window-state>
| <window-state>maximized</window-state>
| </supported-window-states>
| <page>
| <page-name>default</page-name>
| <properties/>
|
| <window>
| <window-name>NavigationPortletWindow</window-name>
| <instance-ref>NavigationPortletInstance</instance-ref>
| <region>navigation</region>
| <height>0</height>
| <!-- keep portal and page properties for this window -->
| <properties>
| <!-- use the window renderer from the emptyRenderer renderSet -->
| <property>
| <name>theme.windowRendererId</name>
| <value>emptyRenderer</value>
| </property>
| <!-- use the decoration renderer from the emptyRenderer renderSet -->
| <property>
| <name>theme.decorationRendererId</name>
| <value>emptyRenderer</value>
| </property>
| <!-- use the portlet renderer from the emptyRenderer renderSet -->
| <property>
| <name>theme.portletRendererId</name>
| <value>emptyRenderer</value>
| </property>
| </properties>
| </window>
|
| <window>
| <window-name>UserPortletWindow</window-name>
| <instance-ref>UserPortletInstance</instance-ref>
| <region>left</region>
| <height>0</height>
| <!-- keep portal and page properties for this window -->
| <properties>
| <!-- use the window renderer from the emptyRenderer renderSet -->
| <property>
| <name>theme.windowRendererId</name>
| <value>emptyRenderer</value>
| </property>
| <!-- use the decoration renderer from the emptyRenderer renderSet -->
| <property>
| <name>theme.decorationRendererId</name>
| <value>emptyRenderer</value>
| </property>
| <!-- use the portlet renderer from the emptyRenderer renderSet -->
| <property>
| <name>theme.portletRendererId</name>
| <value>emptyRenderer</value>
| </property>
| </properties>
| </window>
|
| <window>
| <window-name>StartPortletWindow</window-name>
| <instance-ref>StartPortletInstance</instance-ref>
| <region>center</region>
| <height>0</height>
| </window>
| <security-constraint>
| <policy-permission>
| <unchecked/>
| <action-name>viewrecursive</action-name>
| </policy-permission>
| </security-constraint>
| </page>
|
|
| <security-constraint>
| <policy-permission>
| <unchecked/>
| <action-name>personalizerecursive</action-name>
| </policy-permission>
| </security-constraint>
| </portal>
| </deployment>
| </deployments>
|
|
each of the portals are declared this way... again, this is only one example:
| <?xml version="1.0" encoding="UTF-8"?>
| <deployments>
| <deployment>
| <if-exists>overwrite</if-exists>
| <parent-ref>bigCRMPortal</parent-ref>
| <properties />
| <page>
| <page-name>Dashboard</page-name>
| <properties/>
| <window>
| <window-name>NavigationPortletWindow</window-name>
| <instance-ref>NavigationPortletInstance</instance-ref>
| <region>navigation</region>
| <height>0</height>
| <!-- keep portal and page properties for this window -->
| <properties>
| <!-- use the window renderer from the emptyRenderer renderSet -->
| <property>
| <name>theme.windowRendererId</name>
| <value>emptyRenderer</value>
| </property>
| <!-- use the decoration renderer from the emptyRenderer renderSet -->
| <property>
| <name>theme.decorationRendererId</name>
| <value>emptyRenderer</value>
| </property>
| <!-- use the portlet renderer from the emptyRenderer renderSet -->
| <property>
| <name>theme.portletRendererId</name>
| <value>emptyRenderer</value>
| </property>
| </properties>
| </window>
|
|
| <window>
| <window-name>DashboardPortletWindow</window-name>
| <instance-ref>DashboardPortletInstance</instance-ref>
| <region>center</region>
| <height>0</height>
| </window>
| <security-constraint>
| <policy-permission>
| <unchecked />
| <action-name>viewrecursive</action-name>
| </policy-permission>
| </security-constraint>
| </page>
|
|
| <security-constraint>
| <policy-permission>
| <unchecked/>
| <action-name>personalizerecursive</action-name>
| </policy-permission>
| </security-constraint>
|
| </deployment>
| </deployments>
|
thanks -
Jim W.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959949#3959949
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959949
19 years, 9 months
[JBoss jBPM] - Re: Assigning a task to->{group, rolebased, ...}
by j1a2o
I went ahead and tried it, after fixing up the query a little. The SQL query works, I tried it directly through phpMyAdmin for MySQL. But JBPM is not liking it:
11:30:34,974 ERROR [SessionFactoryImpl] Error in named query: TaskMgmtSession.findTaskInstancesByActorIds
org.hibernate.hql.ast.QuerySyntaxException: unexpected token: ON near line 5, column 42 [
SELECT t.ID_ AS taskid, t.NAME_ AS taskname, t.DESCRIPTION_ AS taskdescription, u.NAME_ AS userid, t.START_ AS startdate, t.DUEDATE_ AS duedate, t.END_ AS enddate
FROM JBPM_TASKINSTANCE t
INNER JOIN JBPM_TASKACTORPOOL p ON t.ID_ = p.TASKINSTANCE_
INNER JOIN JBPM_POOLEDACTOR pa ON p.POOLEDACTOR_ = pa.ID_
INNER JOIN JBPM_ID_GROUP g ON pa.ACTORID_ = g.NAME_
INNER JOIN JBPM_ID_MEMBERSHIP m ON m.GROUP_ = g.ID_
INNER JOIN JBPM_ID_USER u ON u.ID_ = m.USER_
WHERE t.END_ IS NULL
]
at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:59)
Any ideas? Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959948#3959948
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959948
19 years, 9 months
[JBoss Portal] - Re: SVG in portlet
by free1000
Could it be possible that you also have to set content-type in your doView as well?
I think if you are serving xhtml to the browser. As xhtml is an instance of an xml document I expect that the content type should be application/xhtml+xml... however I haven't tried this myself yet
protected void doView(RenderRequest rRequest, RenderResponse rResponse) throws PortletException, IOException, UnavailableException
| {
| rResponse.setContentType("application/xhtml+xml");
|
| PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("View.jsp");
| prd.include(rRequest, rResponse);
| }
|
|
Thanks to this thread I discovered that firefox can natively display SVG inline. Cool.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959947#3959947
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959947
19 years, 9 months
[Installation, Configuration & Deployment] - Setup second JBOSS instance.
by jxfish2
We are currently running JBOSS.
JBOSS was installed and configured by the software vendor that supplied us with the application.
We have a need to access the application via a proxy server, and have that working currently. (Our customers can only access the application via this proxy server.)
We also have a need to bypass that proxy, for users inside of our network.
In order to do that, I'm afraid we're going to need to setup a second JBOSS instance, that when called, bypasses the proxy, again, for users accessing the GUI from within our firewall.
The reason why we need a second instance, is because the vendor has created a config file, with hardcoded addresses in it.
The current JBOSS instance gets all of its routing information from that config file...
If we can create a second instance, we can point it to a different config file...
We know how to direct the application to the secure / proxy server, and we know how to bypass the proxy...
But, we've tried several different configurations, in an attempt to get both to work with a single environment / config file...
We can not make this work currently, and I don't believe we'll be able to do it without the second instance...
Can anyone tell me how that might be accomplished?
Any good examples?
Any really good reference materials, especially with good examples...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959946#3959946
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959946
19 years, 9 months