> Ok, I found out why it created the tables in the portal database but a
> couple things are still a little fuzzy. I found a datasource in the
> deployerConfigContext.xml pointing to it...but I didn't put it
> there...it looks like it copied the credentials from the
> datasource.properties file of the portal so two things
>
> 1) I ended up with two beans with dataSource as their id (both the
> default one in deployerConfigContext.xml and the one in the
> ticketRegistry.xml file that were included in the configuration on the
> wiki) and I don't understand why spring didn't complain about trying
> to have two beans with the same id.
>
> 2) why does cas by default have a datasource bean when the default
> configuration doesn't use it...hmm...but upon further exploration it
> appears this datasource is nescessary to authenticate fragment owner
> accounts and such
>
> I fixed the issue by changing the name of the datasource jpa uses to
> casDataSource and changing the name of the bean being injected into
> the entityManagerFactory...this seems to have fixed the problem.
>
> On Thu, Oct 15, 2009 at 8:49 AM, Curtis Garman <
[hidden email]> wrote:
>> Ok...I'm actually testing 3.1.1 on both a windows machine (laptop) and
>> a linux server...I was trying to get it to work on my laptop...I tried
>> the setup on the linux box and it worked fine...except (even though I
>> pointed it to a different database) it still created the tables in my
>> portal database. Any reason why this would happen? I couldn't see
>> anything and as far as I know cas shouldn't even know my portal
>> database exists
>>
>> On Mon, Oct 12, 2009 at 10:38 AM, Marvin Addison
>> <
[hidden email]> wrote:
>>>> it actually looks like the cause of everything is the
>>>> java.io.FileNotFoundException
>>>>
>>>> Caused by: java.io.FileNotFoundException:
>>>> C:\Program%20Files\Apache%20Software%20Foundation\tomcat\6.0.18\jvm1\webapps\cas\WEB-INF\lib\cas-server-core-3.3.4.jar
>>>> (The system cannot find the path specified)
>>>> at java.util.zip.ZipFile.open(Native Method)
>>>> at java.util.zip.ZipFile.<init>(ZipFile.java:114)
>>>> at java.util.jar.JarFile.<init>(JarFile.java:133)
>>>> at java.util.jar.JarFile.<init>(JarFile.java:97)
>>>> at org.jboss.util.file.JarArchiveBrowser.<init>(JarArchiveBrowser.java:69)
>>>> ... 64 more
>>>
>>>
http://opensource.atlassian.com/projects/hibernate/browse/EJB-337>>> looks like a potential cause. Can you move your Tomcat such that the
>>> path above would not contain spaces and try again?
>>>
>>> M
>>>
>>> --
>>> You are currently subscribed to
[hidden email] as:
[hidden email]
>>> To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user>>>
>>
>>
>>
>> --
>> Curtis Garman
>> Web Programmer
>> Heartland Community College
>>
>
>
>
> --
> Curtis Garman
> Web Programmer
> Heartland Community College
>