Thứ Bảy, 11 tháng 4, 2009
Something that can run in Ubuntu 8.10 64bit
Use this file to install: server103_linux32.bin (This file work file with 64bit)
All I do is just run: ./server103_linux32.bin
After that everything run automately
Jboss 5 - Tested
Kết nối CIFS với Alfresco:
Làm theo hướng dẫn của alfresco vào thư mục
Sau đó khởi động lại alfresco và về lại máy tính của mình rồi dùng window explorer vào thư mục share theo đường dẫn sau: \\Abc_a\Alfresco
Khi đó ta có thể vào thư mục của alfresco và thao tác trực tiếp trên file, drag&drop,.., nói chung là như thao tác file bình thường như đối với file trên máy và hình như là có thêm tính năng version tự động nếu trên server đã config chức năng này.
Chú ý: Nếu dùng webdav để vào thì chỉ có thể xem danh sách các file của alfresco, copy file vào thư mục. Tuy nhiên ta không thể mở trực tiếp bằng cách kích đúp chuột vào file.
Đã thử dùng map drive nhưng không được. Không hiểu sao lại có thể vào trực tiếp!
Đường dẫn của các file config trong Alfresco:
Đường dẫn của các file extension trong Alfresco:
Chỗ nào hay quên thì in đậm màu đỏ
Lấy từ tài liệu: Alfresco Enterprise Content Management Implenmentation
How To Install Oracle XE in Ubuntu 64 Bit
While you’re thinking by installing 64 bit linux you’re standing in the edge of new technology era, it sucks knowing our 64 bit system is less supported than the old 32 bit system. We have to install 32 bit flash since Adobe didn’t have the 64 bit one. We have to install 32 bit oracle xe since Oracle also didn’t have 64 bit version.
And now I will try explain how to install oracle xe into the 64 bit system, ubuntu way. Of course we couldn’t follow the guide from oracle, since apt-get will detect our system architecture and we won’t get the 32 bit packages list.
Before we start, make sure you have the 32 bit library installed. It’s in reposity, all you have to do is
sudo apt-get install libc6-i386
The next thing to do is download the files needed. It’s libaio_0.3.104-1_i386.deb and oracle-xe-universal_10.2.0.1-1.1_i386.deb. You could use wget for this
wget -c http://oss.oracle.com/debian/dists/unstable/main/binary-i386/libaio_0.3.104-1_i386.deb http://oss.oracle.com/debian/dists/unstable/non-free/binary-i386/oracle-xe-universal_10.2.0.1-1.1_i386.deb
.
After your downloads are finished, we continue to the main issue, forcing the package to be installed. You could try to install with usual dpkg -i first to make sure your system is really 64 bit.
sudo dpkg -i libaio_0.3.104-1_i386.deb
You’ll get error,
dpkg: error processing libaio_0.3.104-1_i386.deb (--install):
package architecture (i386) does not match system (amd64)
Errors were encountered while processing:
libaio_0.3.104-1_i386.deb
Added guide from Venka A
sudo apt-get install bc
To force the installation, do these
dpkg -i --force-architecture libaio_0.3.104-1_i386.deb
dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb
And after the installation is finished, you need to configure it
sudo /etc/init.d/oracle-xe configure
and edit your ~/.bashrc
ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_HOME
export ORACLE_SID=XE
export PATH
And, voila, the oracle xe is ready. You could go to http://127.0.0.1:8080/apex from your browser.
References:
Config Alfresco 3 labs to run with oracle
- http://mirror.optus.net/sourceforge/a/al/alfresco/
http://www.mirrorservice.org/sites/dl.sourceforge.net/pub/sourceforge/a/al/alfresco/%5Bpage=0%5D
Download old alfresco.
100% Running.
Using driver: ojdbc14_g.jar , dont use ojdbc14.jar or anything else pls!
hibernate.dialect=org.alfresco.repo.domain.hibernate.dialect.AlfrescoOracle9Dialect
hibernate.dialect=org.alfresco.repo.domain.hibernate.dialect.AlfrescoOracle9Dialect
hibernate.dialect=org.alfresco.repo.domain.hibernate.dialect.AlfrescoOracle9Dialect
not another Dialect!
----------------------------------------------------------------------------------------------------------
db.schema.update=true
db.driver=oracle.jdbc.OracleDriver
db.name=xe
db.url=jdbc:oracle:thin:@localhost:1521:XE
db.username=alfresco
db.password=alfresco
db.pool.initial=5
db.pool.max=10
----------------------------------------------------------------------------------------------------------
Tested in Ubuntu 8.10 and Windows XP!
Sometime I got this error but it is will be ok if u got a more power machine.
08:56:00,062 User:admin ERROR [hibernate.transaction.JDBCTransaction] JDBC commit failed
java.sql.SQLException: ORA-00018: maximum number of sessions exceeded
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)
at oracle.jdbc.driver.T4C7Ocommoncall.receive(T4C7Ocommoncall.java:141)
at oracle.jdbc.driver.T4CConnection.doCommit(T4CConnection.java:571)
at oracle.jdbc.driver.PhysicalConnection.commit(PhysicalConnection.java:1396)
at org.apache.commons.dbcp.DelegatingConnection.commit(DelegatingConnection.java:238)
at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.commit(PoolingDataSource.java:199)
at org.hibernate.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:139)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:115)
at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:575)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTran
sactionManager.java:662)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransaction
Manager.java:632)
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(Transact
ionAspectSupport.java:314)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:117)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy24.validate(Unknown Source)
at org.alfresco.web.app.servlet.AuthenticationHelper.authenticate(AuthenticationHelper.java:227)
at org.alfresco.web.app.servlet.AuthenticationHelper.authenticate(AuthenticationHelper.java:106)
at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Install Jdev 10.1.3.4 on Ubuntu 8.10 64 bit
#
# Directive SetJavaHome is not required by default, except for the base
# install, since the launcher will determine the JAVA_HOME. On Windows
# it looks in ..\..\jdk, on UNIX it looks in the PATH by default.
#
#Must be jdk 64 bit
SetJavaHome /home/haibang/jdk1.6.0_12
#
# The Windows launcher will attempt to use client (hotspot) by default,
# unless a VM is specified below with the following directive. On UNIX
# we use whatever is listed first in the $(JAVA_HOME)/jre/lib/jvm.cfg file.
#
#Comment this out
#SetJavaVM hotspot
After that run: ./jdev
If u got blank startpage: check the jdk version , this error happened with jdk1.5
. To fix this, change jdk to 1.6 version or
This is a bug in Sun's JDK that has been fixed in 1.6u10. If like me you are too lazy to update your JDK or can't (JDeveloper 10.1.3.4 is only certified against Java5) then the fix is to simply open the $JDEV_HOME/jdev/bin/jdev script and add the following as the first line:
export AWT_TOOLKIT=MToolkitSave the file, run JDeveloper again and the UI goodies should be all