[Design of JBoss Portal] - Need help building Jboss Portal Server from source
by esgargs
I have been mucking my brains out over this, but it just doesn't work, and I am sure I am making a trivial mistake here. Basically, I built JBoss AS from source, and it works perfectly. Now, I am trying to build the portal server from source, and I can build the datasource descriptors sucessfully, but for some reason using "build deploy" in the build directory gives me the following error(s):
Executing C:\Jboss\jbp-2.4\build\..\tools\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger deploy
Buildfile: build.xml
_buildmagic:init:
Trying to override old definition of task property
configure-project:
[echo] groups: default
[echo] modules: common,test,api,faces,server,security,identity,format,portlet,theme,cms,bridge,samples,wsrp,core
_buildmagic:modules:most:
==============================================================
==
== Executing 'most' in module 'common'...
==
==
configure:
Overriding previous definition of reference to apache.ant.classpath
==
==
== Finished 'most' in module 'common'.
==
==============================================================
==============================================================
==
== Executing 'most' in module 'test'...
==
==
configure:
Overriding previous definition of reference to apache.ant.classpath
==
==
== Finished 'most' in module 'test'.
==
==============================================================
==============================================================
==
== Executing 'most' in module 'api'...
==
==
configure:
Overriding previous definition of reference to apache.ant.classpath
==
==
== Finished 'most' in module 'api'.
==
==============================================================
==============================================================
==
== Executing 'most' in module 'faces'...
==
==
configure:
Overriding previous definition of reference to apache.ant.classpath
==
==
== Finished 'most' in module 'faces'.
==
==============================================================
==============================================================
==
== Executing 'most' in module 'server'...
==
==
configure:
Overriding previous definition of reference to apache.ant.classpath
[echo] C:\Jboss\jbp-2.4/thirdparty/xdoclet/lib/
[echo] C:\Jboss\jbp-2.4/thirdparty/sun-servlet/lib/
_default:compile-classes:
[javac] Compiling 57 source files to C:\Jboss\jbp-2.4\server\output\classes
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:28: warning: [deprecation] javax.servlet.http.HttpSessionContext in javax.servlet.http has been deprecated
[execmodules] import javax.servlet.http.HttpSessionContext;
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:111: warning: [deprecation] javax.servlet.http.HttpSessionContext in javax.servlet.http has been deprecated
[execmodules] public HttpSessionContext getSessionContext()
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\aspects\server\ParametersInterceptor.java:91: RequestParameter(java.lang.String,java.lang.String[],int) has private access in org.jboss.portal.server.request.RequestParameter
[execmodules] RequestParameter param = new RequestParameter(paramName, paramValues, queryValues.length);
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\aspects\server\ParametersInterceptor.java:101: cannot find symbol
[execmodules] symbol : method setParameters(java.util.Map)
[execmodules] location: class org.jboss.portal.server.ServerRequest
[execmodules] invocation.getRequest().setParameters(parameters);
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\aspects\server\ParametersInterceptor.java:104: cannot find symbol
[execmodules] symbol : method setURLContext(org.jboss.portal.server.request.URLContext)
[execmodules] location: class org.jboss.portal.server.ServerRequest
[execmodules] invocation.getRequest().setURLContext(URLContext.newInstance(req.isSecure(), req.getRemoteUser() != null));
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingRequest.java:166: warning: [deprecation] isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated
[execmodules] public boolean isRequestedSessionIdFromUrl()
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingRequest.java:291: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
[execmodules] public String getRealPath(String name)
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingRequest.java:168: warning: [deprecation] isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated
[execmodules] return getDelegate().isRequestedSessionIdFromUrl();
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingRequest.java:293: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
[execmodules] return getDelegate().getRealPath(name);
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingResponse.java:120: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[execmodules] public void setStatus(int i, String name)
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingResponse.java:65: warning: [deprecation] encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[execmodules] public String encodeRedirectUrl(String name)
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingResponse.java:60: warning: [deprecation] encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[execmodules] public String encodeUrl(String name)
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingResponse.java:62: warning: [deprecation] encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[execmodules] return getDelegate().encodeUrl(name);
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingResponse.java:67: warning: [deprecation] encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[execmodules] return getDelegate().encodeRedirectUrl(name);
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingResponse.java:122: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[execmodules] getDelegate().setStatus(i, name);
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:36: warning: [deprecation] isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated
[execmodules] public class ProxyRequest extends AbstractDelegatingRequest
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:36: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
[execmodules] public class ProxyRequest extends AbstractDelegatingRequest
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:151: warning: [deprecation] removeValue(java.lang.String) in javax.servlet.http.HttpSession has been deprecated
[execmodules] public void removeValue(String name)
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:141: warning: [deprecation] putValue(java.lang.String,java.lang.Object) in javax.servlet.http.HttpSession has been deprecated
[execmodules] public void putValue(String name, Object object)
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:131: warning: [deprecation] getValueNames() in javax.servlet.http.HttpSession has been deprecated
[execmodules] public String[] getValueNames()
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:121: warning: [deprecation] getValue(java.lang.String) in javax.servlet.http.HttpSession has been deprecated
[execmodules] public Object getValue(String name)
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:111: warning: [deprecation] getSessionContext() in javax.servlet.http.HttpSession has been deprecated
[execmodules] public HttpSessionContext getSessionContext()
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:113: warning: [deprecation] getSessionContext() in javax.servlet.http.HttpSession has been deprecated
[execmodules] return ProxyRequest.this.getSession().getSessionContext();
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:123: warning: [deprecation] getValue(java.lang.String) in javax.servlet.http.HttpSession has been deprecated
[execmodules] return ProxyRequest.this.getSession().getValue(name);
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:133: warning: [deprecation] getValueNames() in javax.servlet.http.HttpSession has been deprecated
[execmodules] return ProxyRequest.this.getSession().getValueNames();
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:143: warning: [deprecation] putValue(java.lang.String,java.lang.Object) in javax.servlet.http.HttpSession has been deprecated
[execmodules] ProxyRequest.this.getSession().putValue(name, object);
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:153: warning: [deprecation] removeValue(java.lang.String) in javax.servlet.http.HttpSession has been deprecated
[execmodules] ProxyRequest.this.getSession().removeValue(name);
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyResponse.java:32: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[execmodules] public class ProxyResponse extends AbstractDelegatingResponse
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyResponse.java:32: warning: [deprecation] encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[execmodules] public class ProxyResponse extends AbstractDelegatingResponse
[execmodules] ^
[execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyResponse.java:32: warning: [deprecation] encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[execmodules] public class ProxyResponse extends AbstractDelegatingResponse
[execmodules] ^
[execmodules] 3 errors
[execmodules] 27 warnings
Press any key to continue . . .
I am on Windows XP, and my classpath and path settings are as follows:
CLASSPATH=C:\progra~1\Java\jdk1.5.0_04\lib\ext\QTJava.zip;C:\progra~1\Java\jdk1.
5.0_04;.;C:\Jboss\server\default\lib;C:\Jboss\client;C:\Jboss;C:\Jboss\jboss-4.0
.4.GA-ejb3\bin;C:\Jboss\jboss-4.0.4.GA-ejb3\server\default\lib;C:\progra~1\Java\
jdk1.5.0_04\bin;C:\progra~1\Java\jre1.5.0_07\bin;C:\progra~1\Java\jre1.5.0_07\li
b;C:\Jboss\jboss-4.0.4.GA-ejb3\server\default\deploy;C:\Jboss\jboss-4.0.4.GA-ejb
3\client;
JAVA_HOME=C:\progra~1\Java\jdk1.5.0_04
JBOSS_HOME=C:\Jboss\jboss-4.0.4.GA-ejb3
Path="C:\Program Files\Microsoft DirectX SDK (April 2006)\Utilities\Bin\x86";C:\
Program Files\Windows Resource Kits\Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WIN
DOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\PROGRA
~1\COMMON~1\SONICS~1\;C:\MATLAB701\bin\win32;C:\Program Files\QuickTime\QTSystem
\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\MySQL\My
SQL Server 5.0\bin;"C:\Program Files\Java\jdk1.5.0_04\bin"
I would really appreciate any help in resolving this and enabling me to run the portal server on my machine. Once I get that sorted out, I am interested in using Eclipse for portlets development, which I am also having problems with.
Thanks a lot in advance.
Cheers
-es
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960161#3960161
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960161
19 years, 8 months
[Design of JBossCache] - Re: Habanero: CacheFactory interface
by manik.surtani@jboss.com
Or does it make more sense to:
1. Package the microcontainer in JBC
2. Use the microcontainer for DI for various services and managers
3. Allow users to inject a running JGroups channel into the MC if they need to create an instance of JBC using an existing and running JGroups channel?
Naturally, when deploying within AS5, we would already have access to the MC so we wouldn't start a new instance. But for standalone deployments we could always package it.
Pros
* Possibly cleaner code base with no direct dependencies.
* Possibly better and easier to unit test as a consequence
* Easier for users to configure and set up
Cons
* Another library dependency
* More code modifications
I'm not suggesting this should be in 2.0.0 - maybe something for later.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960148#3960148
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960148
19 years, 8 months
[Design of JBossCache] - Habanero: CacheFactory interface
by manik.surtani@jboss.com
The new programmatic model for constructing an instance of the cache in Habanero utilises a CacheFactory. Typically, here is how it would be done:
| CacheFactory factory = new DefaultCacheFactory(); // users may create a singleton wrapper for this
|
| Cache c = factory.createCache("myCacheService.xml"); // c is now running and ready for use.
|
Currently the CacheFactory interface is overloaded as such:
| public interface CacheFactory
| {
| /**
| * Creates and starts a {@link org.jboss.cache.Cache} instance
| * @param configFileName the named XML file should exist in the classpath.
| * @return a running {@link org.jboss.cache.Cache} instance
| */
| Cache createCache(String configFileName) throws ConfigurationException;
|
| /**
| * Creates {@link Cache} instance, and optionally starts it.
| * @param configFileName the named XML file should exist in the classpath.
| * @param start if true, the cache is started before returning.
| * @return an optionally running {@link Cache} instance
| */
| Cache createCache(String configFileName, boolean start) throws ConfigurationException;
|
| /**
| * Creates a {@link Cache} instance
| * @param configuration the {@link Configuration} object that is passed in to configure the {@link Cache}.
| * @return a running {@link Cache} instance
| */
| Cache createCache(Configuration configuration) throws ConfigurationException;
|
| /**
| * Creates {@link Cache} instance, and optionally starts it.
| * @param configuration the {@link Configuration} object that is passed in to configure the {@link Cache}.
| * @param start if true, the cache is started before returning.
| * @return an optionally running {@link Cache} instance
| */
| Cache createCache(Configuration configuration, boolean start) throws ConfigurationException;
| }
|
Is there a need to provide a mechanism to create a cache using an existing (and possibly running) JGroups channel? I.e., something analogous to new TreeCache(myChannel);
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960147#3960147
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960147
19 years, 8 months
Mrs Maria Daniels
by Mrs Maria Daniels
In Conjunction with The National Organizing Committee of the 2006 FIFA World Cup.
FIFA Fussball-Weltmeisterschaft 2006
organisationskomitee Deutschland
koniginstrabe 23,80539 Munchen.
From: The Desk Of the Promotions Manager, NUEVO-ORO LOTTO: Prize Awards Department
Reference:FL/668530092
Batch:45301/14/FIFA06/FL.
Dear Sir/ Madam,
We gladly wish to inform you of the draws of the Nuevo Oro Lotto in
conjunction with the National Organizing Committee of the 2006 FIFA
World Cup held on the 29TH of December 2005 in Munich Germany. You along with 187 others were selected winners under draws 6+J in our monthly program which will feature as run up to the games next year when you will be due for the final Grand draw. However your e-mail address attached to ticket number 508-7895-4456-224 with serial numbers 5223-54 drew the lucky numbers 16-43-85-33-15-73 and consequently won the lottery in the 5th category. CONGRATULATIONS!!
Please be informed that all participants in this lottery program have been selected randomly through a computer ballot system drawn from over 500,000 companies and 50,000,000 individual e-mail addresses. This Lottery is Organized by the host country in collaboration with FIFA.
Funds for the draws have been contributed by the major sponsors of the games which include adidas,Hyundai,FujiFilm,MasterCard,Gillette,Cocacola,Emirates Air,
Continental,Toshiba,Mcdonalds and a host of others. Due to the computer mix up of some numbers and email contacts, we ask that you keep this award strictly from public notice until your claim has been processed and your money remitted. This is part of our security protocol to avoid double claiming or unscrupulous acts by participants of this program.
Also find all other relevant winning lottery Information below:
Ref No: FL/668530092
Batch No:45301/14/FIFA06/FL
Zonal Draw No: IMSA2-040
Grand Draw No: 14219
You have therefore been approved for a lump sum pay out of Two Million Euros (EUROS 2,000,000) in cash credited to file No:LP/26510460037/02.
To file for your claims contact your claims agent on the information
below Mr Michael Smith Email: MICHEALSMITHCHAM(a)NETSCAPE.NET <javascript:parent.ComposeTo(%22MICHEALSMITHCHAM%40NETSCAPE.NET%22,%20%22%22);>
For all our international winners the value of the amount comes to
($2.415,153.30 USD) Two Million Four hundred and fifteen thousand, One hundred and Fifty Three United States Dollars and Thirty cents.
For due processing and remittance of your prize money, remember that you must contact your claim on or before end of August 2006. After this date, all funds will be returned as unclaimed.
NOTE: In order to avoid unnecessary delays and complications, please
remember to Quote your reference and batch numbers in every one of your correspondences. Furthermore, should there be any change of your address, do inform your claims agent as soon as possible.
Congratulations again from all our staff and thank you for being part of our Promotions program.
Sincerely,
Mrs Maria Daniels
Lottery Coordinator
To file for your claims contact your claims agent on the information
below MICHAEL SMITH
Email: MICHEALSMITHCHAM(a)NETSCAPE.NET <javascript:parent.ComposeTo(%22MICHEALSMITHCHAM%40NETSCAPE.NET%22,%20%22%22);>
N.B. You are automatically disqualified if you are below 18 years of
age.
CONGRATULATIONS!!
19 years, 8 months