Things I've got to find.
The Tomcat access log. Found It! See the Tomcat valve documentation. It discusses the org.apache.catalina.valves.AccessLogValve
Everything Java Apache Geospatial Open Source. Hello Shinning Stars!!! Vincent Massol, Raphael Luta, Santiago Gala, Carsten Z.
Thursday, August 31, 2006
Friday, August 18, 2006
I think that a very interesting feature of Jetspeed-2 is it's LDAP support. Support for the Apache Directory Server is provided in the distribution. And discusion on supporting other servers is starting on JIRA-491
Thursday, August 17, 2006
Installing OTRS 2.0.4 trouble ticket system on Fedore Core 4!
1. Download the RPM
[nagios@nagios noc]$ wget ftp://ftp.otrs.org/pub/otrs/RPMS/redhat/8.0/otrs-2.0.4-01.i386.rpm
2. Install RPM
[nagios@nagios noc]$ sudo rpm -ihv otrs-2.0.4-01.i386.rpm
error: Failed dependencies:
fetchmail is needed by otrs-2.0.4-01.i386
Resolve fetchmail dependency
[nagios@nagios noc]$ sudo yum install fetchmail
3. Start services
[nagios@nagios noc]$ sudo /sbin/service httpd start
I had problems with Fedora Core 4 and OTRS. This post saved me. It says to change all references to Apache to Apache2 in /etc/httpd/conf.d/otrs.conf
[nagios@nagios noc]$ sudo /sbin/service mysqld start
4. Set the password for the MySQL server
[nagios@nagios usr]$ sudo /usr/bin/mysqladmin -u root password 'new-password'
[nagios@nagios usr]$ sudo /usr/bin/mysqladmin -p -u root -h mydomain.tld password 'new-password'
Enter password:
5. Install the OTRS database
http://mydomain.tld/otrs/installer.pl
A warning message about permission write access to Config.pm was resolved by disabling SELinux with this command,
[nagios@nagios usr]$ sudo /usr/sbin/setenforce 0
6. Start OTRS service
[nagios@nagios noc]$ sudo /sbin/service otrs start
1. Download the RPM
[nagios@nagios noc]$ wget ftp://ftp.otrs.org/pub/otrs/RPMS/redhat/8.0/otrs-2.0.4-01.i386.rpm
2. Install RPM
[nagios@nagios noc]$ sudo rpm -ihv otrs-2.0.4-01.i386.rpm
error: Failed dependencies:
fetchmail is needed by otrs-2.0.4-01.i386
Resolve fetchmail dependency
[nagios@nagios noc]$ sudo yum install fetchmail
3. Start services
[nagios@nagios noc]$ sudo /sbin/service httpd start
I had problems with Fedora Core 4 and OTRS. This post saved me. It says to change all references to Apache to Apache2 in /etc/httpd/conf.d/otrs.conf
[nagios@nagios noc]$ sudo /sbin/service mysqld start
4. Set the password for the MySQL server
[nagios@nagios usr]$ sudo /usr/bin/mysqladmin -u root password 'new-password'
[nagios@nagios usr]$ sudo /usr/bin/mysqladmin -p -u root -h mydomain.tld password 'new-password'
Enter password:
5. Install the OTRS database
http://mydomain.tld/otrs/installer.pl
A warning message about permission write access to Config.pm was resolved by disabling SELinux with this command,
[nagios@nagios usr]$ sudo /usr/sbin/setenforce 0
6. Start OTRS service
[nagios@nagios noc]$ sudo /sbin/service otrs start
Sunday, August 13, 2006
I am doing some simple :) xml editing so I thought I would explore eclipse 1.2 xml support. So here we go with the Compound XML Document Toolkit http://www.alphaworks.ibm.com/tech/cxde
I'm using windows at the moment so I'm getting the all in one starter kit from the Web Tools project http://www.eclipse.org/webtools/ which depends on GEF and EMF.
Big download...
The installation of the Compound XML Document Toolkit was not successful but after an hour or two of using Web Tools xml editor I am satisfied to say that it provides good xml, xsl, dtd, and xml schema support. On the other hand my first wish would be to have a means of displaying the xpath a specific target location to any other place in the document. Visually determining an xpath such as the following is rather cumbersome,
XMI/XMI.content/UML:Model/UML:Namespace.ownedElement/UML:Package/UML:Namespace.ownedElement/UML:UseCase/UML:Namespace.ownedElement/UML:SignalEvent/UML:Event.parameter/UML:Parameter/UML:ModelElement.taggedValue/UML:TaggedValue/UML:TaggedValue.referenceValue/UML:ModelElement/XMI.extension/referentPath[@xmi.value='org.andromda.profile::presentation::WebFieldType::selecttextinput']
Thanks for reading...Keep coming back for more on UML editing.
I'm using windows at the moment so I'm getting the all in one starter kit from the Web Tools project http://www.eclipse.org/webtools/ which depends on GEF and EMF.
Big download...
The installation of the Compound XML Document Toolkit was not successful but after an hour or two of using Web Tools xml editor I am satisfied to say that it provides good xml, xsl, dtd, and xml schema support. On the other hand my first wish would be to have a means of displaying the xpath a specific target location to any other place in the document. Visually determining an xpath such as the following is rather cumbersome,
XMI/XMI.content/UML:Model/UML:Namespace.ownedElement/UML:Package/UML:Namespace.ownedElement/UML:UseCase/UML:Namespace.ownedElement/UML:SignalEvent/UML:Event.parameter/UML:Parameter/UML:ModelElement.taggedValue/UML:TaggedValue/UML:TaggedValue.referenceValue/UML:ModelElement/XMI.extension/referentPath[@xmi.value='org.andromda.profile::presentation::WebFieldType::selecttextinput']
Thanks for reading...Keep coming back for more on UML editing.
Tuesday, June 27, 2006
This blog will present you with a common method for maintaining branches of an open source project. A concrete example would be when you take and modify an opensource project. Branches are maintained with diff files. The subversion command for diff is 'svn diff myDirectory'. Suppose you want to use an open source project to create your own website. Just keep a copy of the svn diff and send that to any machine that will be used to deploy the website.
Tuesday, June 13, 2006
You must make a choice when developing a portlet. The Simplest being the javax.portlet.GenericPortlet. Others include the FacesPortlet, ServletPortlet, StrutsPortlet, VelocityPortlet, PerlPortlet, PHPApplicationPortlet, DotNetPortlet, and the MapServerPortlet. Documented on the Apache Portals Bridges project website.
Tuesday, June 06, 2006
Set up jetspeed server.
User record synchrontion with back end service.
No integrated marketplace.
Special urls for each group.
Messaging system. Contact everyone by building manager. Contact the lobby using this system.
Virginia, NY, CT, California.
What's new (announcements).
Marketplace,
June, test machine.
User record synchrontion with back end service.
No integrated marketplace.
Special urls for each group.
Messaging system. Contact everyone by building manager. Contact the lobby using this system.
Virginia, NY, CT, California.
What's new (announcements).
Marketplace,
June, test machine.
Sunday, June 04, 2006
Friday, May 26, 2006
I wrote the Jetspeed 2.0 release announcement. Here are some additional features of Jetspeed.
Standard and secure platform for creating custom web portals.
Standard and secure platform for creating custom web portals.
Monday, May 22, 2006
Jetspeed Security and Content Management
The objective of this text is to outline how to provide portal content and functionality to an outside server. There are two issues. One is the user must be authenticated to use a particular content. The other is defining the method to access the pages without the menu and logos. A third issue comes to mind if the provided content is inline rather than in an iframe (the server does all of the content negociation and the clients browser does not even know that it is getting content from a third party) which is all urls for images, links, forms, and resources must be standardized so that the server can know when it is to act as a proxy to third party portal content).
Authentication
One way to do authorization is by using a post request over https where password credentials can be verified. Another way is to sacrafice security for facility by allowing get requests to be made over http. This is not desirable but may facilitate testing. Production servers must make the post over a secure connection.
Content without menus and logos
One assumption that is made is the menus and logos will be invisible and only the content of the portal will be present. For this to work we need to be able to use two different themes depending on the caller.
A page accessed using the MyPage.psml will be rendered with the logo and menus. If the same page is accessed using MyPage.psml?org.apache.portals.jetspeed.theme=simple the logos and menus would be hidden. This parameter can also be passed one time during authetication to set the theme used for the entire session.
URLs
If the server does the content negociation it will act as a proxy to the Jetspeed portal requesting content and providing it inline to the end user. All URLs with a given prefix would have to be redirected to another server for content. A portlet can be written for Jetspeed to act as a proxy server to aquire third party content.
Code
This url will authenticate the user and override all page themes so that the portal content is presented without menus and logos.
It depends on a patch submitted by me a few days ago. See the Jira issue
The objective of this text is to outline how to provide portal content and functionality to an outside server. There are two issues. One is the user must be authenticated to use a particular content. The other is defining the method to access the pages without the menu and logos. A third issue comes to mind if the provided content is inline rather than in an iframe (the server does all of the content negociation and the clients browser does not even know that it is getting content from a third party) which is all urls for images, links, forms, and resources must be standardized so that the server can know when it is to act as a proxy to third party portal content).
Authentication
One way to do authorization is by using a post request over https where password credentials can be verified. Another way is to sacrafice security for facility by allowing get requests to be made over http. This is not desirable but may facilitate testing. Production servers must make the post over a secure connection.
Content without menus and logos
One assumption that is made is the menus and logos will be invisible and only the content of the portal will be present. For this to work we need to be able to use two different themes depending on the caller.
A page accessed using the MyPage.psml will be rendered with the logo and menus. If the same page is accessed using MyPage.psml?org.apache.portals.jetspeed.theme=simple the logos and menus would be hidden. This parameter can also be passed one time during authetication to set the theme used for the entire session.
URLs
If the server does the content negociation it will act as a proxy to the Jetspeed portal requesting content and providing it inline to the end user. All URLs with a given prefix would have to be redirected to another server for content. A portlet can be written for Jetspeed to act as a proxy server to aquire third party content.
Code
This url will authenticate the user and override all page themes so that the portal content is presented without menus and logos.
http://localhost:8080/jetspeed/login/proxy?org.apache.jetspeed.login.username=user&org.apache.jetspeed.login.password=user&org.apache.jetspeed.theme.override=simple
It depends on a patch submitted by me a few days ago. See the Jira issue
Tuesday, April 11, 2006
Jetspeed preferences or the Portal api preferences are getting on my nerves. I am specifying preferences in the psml file. When I debug I get calls to two separate FragmentImpl.getPreferences methods.
The first is a call to the FragmentImpl in package,
org.apache.jetspeed.om.page.psml
Which is related to the portlet itself.
The second is a call to the FragmentImpl in package,
org.apache.jetspeed.om.page.impl
Which is related to layouts.
The fist call populates a o.a.j.om.preference.impl.FragmentPortletPreferenceSet from o.a.j.om.page.ContentFragmentImpl. Then pluto eats the preference and I never see it in my portlet.
The first is a call to the FragmentImpl in package,
org.apache.jetspeed.om.page.psml
Which is related to the portlet itself.
The second is a call to the FragmentImpl in package,
org.apache.jetspeed.om.page.impl
Which is related to layouts.
The fist call populates a o.a.j.om.preference.impl.FragmentPortletPreferenceSet from o.a.j.om.page.ContentFragmentImpl. Then pluto eats the preference and I never see it in my portlet.
Monday, April 03, 2006
Caused by: java.lang.IllegalArgumentException: Illegal pattern character 'x'
Hmm, this is the second time I got this exception using Andromda. It is caused by an invalid character in my @andromda.presentation.view.field.format tagged value. Dates can not use the 'maxlength 10' value 'strict dd/MM/yyyy' is better validation rule.
Hmm, this is the second time I got this exception using Andromda. It is caused by an invalid character in my @andromda.presentation.view.field.format tagged value. Dates can not use the 'maxlength 10' value 'strict dd/MM/yyyy' is better validation rule.
Sunday, January 29, 2006
Geronimo is a truly modular application server. It can be build to run any particular war or ear with only the components that it needs. If your application is not running jms then build geronimo without activemq. If it is not using ejb then build it without openejb. This allows for a leaner faster application server, customized to run only the components that are needed.
Wednesday, January 25, 2006
Geronimo blogging is back, Andromda, MapServer, and Jetspeed news will follow. This is a list of some important modules built during the 'maven new' compile.
Geronimo :: Kernel
Geronimo :: Common
Geronimo :: Util
Geronimo :: System
Geronimo :: Deployment
Geronimo :: Core
Geronimo :: Management API
The first interesting thing to look at apart from the architecture which includes Kernel and Core, is the Management API. This programming interface allows you to control all GBeans installed in the system.
Geronimo :: J2EE
Geronimo :: J2EE Schema
Geronimo :: Service :: Builder
Geronimo :: Maven Dependency Plugin
Geronimo :: Security
Then checkout Security. All the standards are here JAAS and JACC.
Geronimo :: Web Services
Geronimo :: Axis
Geronimo :: Mail
Geronimo :: Deploy :: Common Config
Geronimo :: Test :: DDBeans
Geronimo :: Naming
Geronimo :: Security :: Builder
Geronimo :: J2EE
Geronimo :: Naming :: Builder
Geronimo :: Web :: Builder
Geronimo :: Transaction
Geronimo :: Connector
Geronimo :: Tomcat
Geronimo :: Connector :: Builder
Geronimo :: Axis :: Builder
Geronimo :: Tomcat :: Builder
Geronimo :: Derby
Geronimo :: Jetty
Geronimo :: Timer
Geronimo :: Client
Geronimo :: Client Builder
Geronimo :: Scripts
Geronimo :: Session
Geronimo :: Deploy :: JSR-88
Geronimo :: Jetty :: Builder
Geronimo :: Activation
Geronimo :: Configuration Converter
Geronimo :: Console Web
Geronimo :: JMX Remoting
Geronimo :: Installer Support
Geronimo :: JavaMail Transport
Geronimo :: Deploy :: CLI Tool
Geronimo :: Directory
Geronimo :: Installer Processing
Geronimo :: Deploy :: Hot Deployer
Geronimo :: Maven Deployment Plugin
Geronimo :: Maven Assembly Plugin
Geronimo :: IZPack Installer Build Plugin
Geronimo :: Maven Packaging Plugin
Geronimo :: Kernel
Geronimo :: Common
Geronimo :: Util
Geronimo :: System
Geronimo :: Deployment
Geronimo :: Core
Geronimo :: Management API
The first interesting thing to look at apart from the architecture which includes Kernel and Core, is the Management API. This programming interface allows you to control all GBeans installed in the system.
Geronimo :: J2EE
Geronimo :: J2EE Schema
Geronimo :: Service :: Builder
Geronimo :: Maven Dependency Plugin
Geronimo :: Security
Then checkout Security. All the standards are here JAAS and JACC.
Geronimo :: Web Services
Geronimo :: Axis
Geronimo :: Mail
Geronimo :: Deploy :: Common Config
Geronimo :: Test :: DDBeans
Geronimo :: Naming
Geronimo :: Security :: Builder
Geronimo :: J2EE
Geronimo :: Naming :: Builder
Geronimo :: Web :: Builder
Geronimo :: Transaction
Geronimo :: Connector
Geronimo :: Tomcat
Geronimo :: Connector :: Builder
Geronimo :: Axis :: Builder
Geronimo :: Tomcat :: Builder
Geronimo :: Derby
Geronimo :: Jetty
Geronimo :: Timer
Geronimo :: Client
Geronimo :: Client Builder
Geronimo :: Scripts
Geronimo :: Session
Geronimo :: Deploy :: JSR-88
Geronimo :: Jetty :: Builder
Geronimo :: Activation
Geronimo :: Configuration Converter
Geronimo :: Console Web
Geronimo :: JMX Remoting
Geronimo :: Installer Support
Geronimo :: JavaMail Transport
Geronimo :: Deploy :: CLI Tool
Geronimo :: Directory
Geronimo :: Installer Processing
Geronimo :: Deploy :: Hot Deployer
Geronimo :: Maven Deployment Plugin
Geronimo :: Maven Assembly Plugin
Geronimo :: IZPack Installer Build Plugin
Geronimo :: Maven Packaging Plugin
Subscribe to:
Posts (Atom)

